frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Start all of your commands with a comma (2009)

https://rhodesmill.org/brandon/2009/commands-with-comma/
255•theblazehen•2d ago•85 comments

Hoot: Scheme on WebAssembly

https://www.spritely.institute/hoot/
26•AlexeyBrin•1h ago•2 comments

OpenCiv3: Open-source, cross-platform reimagining of Civilization III

https://openciv3.org/
706•klaussilveira•15h ago•206 comments

The Waymo World Model

https://waymo.com/blog/2026/02/the-waymo-world-model-a-new-frontier-for-autonomous-driving-simula...
969•xnx•21h ago•558 comments

Vocal Guide – belt sing without killing yourself

https://jesperordrup.github.io/vocal-guide/
69•jesperordrup•6h ago•31 comments

Reinforcement Learning from Human Feedback

https://arxiv.org/abs/2504.12501
7•onurkanbkrc•47m ago•0 comments

Making geo joins faster with H3 indexes

https://floedb.ai/blog/how-we-made-geo-joins-400-faster-with-h3-indexes
135•matheusalmeida•2d ago•35 comments

Where did all the starships go?

https://www.datawrapper.de/blog/science-fiction-decline
45•speckx•4d ago•36 comments

Unseen Footage of Atari Battlezone Arcade Cabinet Production

https://arcadeblogger.com/2026/02/02/unseen-footage-of-atari-battlezone-cabinet-production/
68•videotopia•4d ago•7 comments

Jeffrey Snover: "Welcome to the Room"

https://www.jsnover.com/blog/2026/02/01/welcome-to-the-room/
39•kaonwarb•3d ago•30 comments

ga68, the GNU Algol 68 Compiler – FOSDEM 2026 [video]

https://fosdem.org/2026/schedule/event/PEXRTN-ga68-intro/
13•matt_d•3d ago•2 comments

What Is Ruliology?

https://writings.stephenwolfram.com/2026/01/what-is-ruliology/
45•helloplanets•4d ago•46 comments

Show HN: Look Ma, No Linux: Shell, App Installer, Vi, Cc on ESP32-S3 / BreezyBox

https://github.com/valdanylchuk/breezydemo
240•isitcontent•16h ago•26 comments

Monty: A minimal, secure Python interpreter written in Rust for use by AI

https://github.com/pydantic/monty
237•dmpetrov•16h ago•126 comments

Show HN: I spent 4 years building a UI design tool with only the features I use

https://vecti.com
340•vecti•18h ago•149 comments

Hackers (1995) Animated Experience

https://hackers-1995.vercel.app/
506•todsacerdoti•23h ago•247 comments

Sheldon Brown's Bicycle Technical Info

https://www.sheldonbrown.com/
389•ostacke•21h ago•98 comments

Show HN: If you lose your memory, how to regain access to your computer?

https://eljojo.github.io/rememory/
303•eljojo•18h ago•188 comments

Microsoft open-sources LiteBox, a security-focused library OS

https://github.com/microsoft/litebox
361•aktau•22h ago•186 comments

An Update on Heroku

https://www.heroku.com/blog/an-update-on-heroku/
428•lstoll•22h ago•284 comments

Cross-Region MSK Replication: K2K vs. MirrorMaker2

https://medium.com/lensesio/cross-region-msk-replication-a-comprehensive-performance-comparison-o...
3•andmarios•4d ago•1 comments

PC Floppy Copy Protection: Vault Prolok

https://martypc.blogspot.com/2024/09/pc-floppy-copy-protection-vault-prolok.html
71•kmm•5d ago•10 comments

Was Benoit Mandelbrot a hedgehog or a fox?

https://arxiv.org/abs/2602.01122
23•bikenaga•3d ago•11 comments

Dark Alley Mathematics

https://blog.szczepan.org/blog/three-points/
96•quibono•4d ago•22 comments

The AI boom is causing shortages everywhere else

https://www.washingtonpost.com/technology/2026/02/07/ai-spending-economy-shortages/
26•1vuio0pswjnm7•2h ago•16 comments

How to effectively write quality code with AI

https://heidenstedt.org/posts/2026/how-to-effectively-write-quality-code-with-ai/
271•i5heu•18h ago•219 comments

Delimited Continuations vs. Lwt for Threads

https://mirageos.org/blog/delimcc-vs-lwt
34•romes•4d ago•3 comments

I now assume that all ads on Apple news are scams

https://kirkville.com/i-now-assume-that-all-ads-on-apple-news-are-scams/
1079•cdrnsf•1d ago•461 comments

Introducing the Developer Knowledge API and MCP Server

https://developers.googleblog.com/introducing-the-developer-knowledge-api-and-mcp-server/
64•gfortaine•13h ago•30 comments

Understanding Neural Network, Visually

https://visualrambling.space/neural-network/
306•surprisetalk•3d ago•44 comments
Open in hackernews

Show HN: Circuit Artist – Circuit simulator with propagation animation, rewind

https://github.com/lets-all-be-stupid-forever/circuit-artist
135•rafinha•1mo ago
Hello,

Circuit Artist is a game about drawing digital circuits as pixel art — like MS Paint, but pixels are wires and little triangles are NANDs. Hit play and the simulation runs in real time. It's fully white-box: every wire's state is visible.

I launched it last year with a unit-delay simulation that ran until convergence on each update. It worked, but I realized it had some fundamental problems:

(i) It hid what was actually happening. Players couldn't tell the difference between a ripple carry adder and a look-ahead adder — everything just resolved instantly.

(ii) Design bugs became "game bugs." When players had non-converging wires (like A = not(A)), the game couldn't explain why or where the error was.

(iii) Layout didn't matter. A NAND on one side of the map would instantly propagate to the opposite side, making spatial decisions meaningless. Unit delay probably works better for schematic-based simulators like Logisim, not a layout-focused game like this.

(iv) Propagation visualization couldn't be added on top of the unit-delay engine — there was no notion of direction or distance.

So I rebuilt the engine with variable-delay event-based simulation using an adaptation of Elmore delay. The delay for each wire depends on distance and fanout — longer wires are slower, higher fanout adds delay, branching wires are faster.

For the implementation: I compute Elmore delay over wire trees. Each pixel has resistance and capacitance, with NAND inputs as nodes to account for fanout. For non-tree wire graphs, I build a Dijkstra-based spanning tree (driver as root) and interpolate for edges outside the tree. I calculate the delay for each node and project it back to the image so every pixel has a distance.

This lets me animate propagation with a glow effect during simulation. The shader knows when each wire was triggered, the current time, and the Elmore distance of each pixel, so it resolves state per-pixel in real time.

On top of that:

- Time rewind: the simulation is now delta-based, so players can freeze and scrub backwards to debug. Super useful for cyclic circuits.

- Layers: since timing matters now, I added up to 3 layers. NANDs only go on the bottom layer, upper layers propagate faster (lower capacitance). Lets you route wires above dense NAND areas.

The game has a campaign for learning from scratch, though it's still incomplete and in progress. I'm working toward Steam Workshop support so people can create their own campaigns to teach different concepts or cover more advanced topics.

GitHub (full source): https://github.com/lets-all-be-stupid-forever/circuit-artist

Steam: https://store.steampowered.com/app/3139580/Circuit_Artist/

Comments

simgt•1mo ago
What a gem. That seems super fun and I love the Paint aesthetic :)
rafinha•1mo ago
Thanks!
boobsbr•1mo ago
Holy moly.
goku12•1mo ago
Beautiful work on an interesting subject!
zamadatix•1mo ago
This seems awesome! I wish this had come out a few weeks ago so I had time to tinker with it waiting for the Turing Complete rewrite. I particularly like the implementation of Elmore delay to give some meaning to the spatial layout.

I'm not 100% sold on the bitmap editing style of circuit layout vs something like the automatic wire pathing in Turing Complete though. It's something I'll need to play with to get a real opinion on though.

Purchased to have some fun with this weekend. Thanks for publishing the source as well!

its-summertime•1mo ago
Disclaimer: I've only played before the release of the propagation.

Across all the Zach-like and other games I've played around with, the wire management in Circuit Artist I'd say feels very fair and intuitive, and not obstructive to gameplay.

The developer is very accepting of feedback and it showed up a lot, with quality of life features showing up constantly (e.g. being able to automatically draw bus lines, with corners et al).

Worst case, you can copy the circuit into your favorite image editor, make edits there, and paste it back into the game (Or use Netpbm/other software to programmatically generate circuits) (Or make a library of circuits to copy from using any other app that can handle images).

The flexibility of the idea of MS Paint + circuit is taken to its complete logical conclusion.

jacquesm•1mo ago
What a beautiful visualization. I will try this on my electronics loving child, see if it takes.

If at all possible: add resistors and capacitors. With those two added you can make many more interesting circuits (Schmitt triggers, a-stable stuff).

rafinha•1mo ago
Hi, thanks! Today the game is focused on digital logic, It would be fun to put resistors, capacitors or maybe transistors, maybe as a mod, but the algorithm would be a little different, would need analog simulation which I'm less familiar with.

Would probably be slower but doable, fun mod for the future!

jacquesm•1mo ago
Nand gates you already have and they can take the place of transistors for now, so C's and R's would bring the most options at once. And LEDs, but those should be very easy.
atroon•1mo ago
If you are mapping the lines where each pixel has resistance and capacitance (presumably quite small values) could you add a new pixel type with editable resistance / capacitance and hide it behind a graphic of the schematic representation (i.e. the zigzag of a resistor like --\/\/\-- or capacitor like --|(-- ?

Your current algorithm would need to be able to accept a wider range of values but it seems like it would work from a math standpoint.

pjc50•1mo ago
Having Elmore delay in this is fantastic - many "proper" educational simulators don't bother with this important aspect. It also forces people to deal with fanout, as you say.

Plus it looks really cool with the neon.

random_duck•1mo ago
Oh wow, this is such a great project! I love how we can elegantly simulate propagation <3 Congratulations, I will defiantly purchase it from stream just to help it's development.
random_duck•1mo ago
Also, I will strategically wait until the sale is over because this deserves full price.
ckmiller•1mo ago
I've written simulators as a career for more than a decade, and I'm stunned at what a good job you've done. The simulation engine is excellent and the visualization is prettier (and more intuitive!) than any I've ever seen.
rafinha•1mo ago
Wow, thanks for the kind words!
NwtnsMthd•1mo ago
Love the aesthetic, even more, that you published the source! I bought a copy on Steam, thank you for your work!

Any plans to add more advanced campaigns, say, to build up to a simple processor?

rafinha•1mo ago
Hi thanks! Sure, certainly! I also want to eventually add some physics-based levels for fun, with like a box2D sim interacting with the circuits (with N circuit ticks = 1 box2D "tick"), or even little games on top of the circuit, but I need these tutorial campaigns first otherwise the step curve is way too high.
SilentM68•1mo ago
This is nice. I wish I had something like this when was taking Electronics courses. The visual component would have been very helpful. Merging this with a course on electronics would be a great resource.
falsaberN1•1mo ago
It's kind of like Wireworld, a cellular automaton type, similar to Conway's Life but more oriented to circuits. I always loved these things.