frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: A luma dependent chroma compression algorithm (image compression)

https://www.bitsnbites.eu/a-spatial-domain-variable-block-size-luma-dependent-chroma-compression-...
17•mbitsnbites•3d ago•0 comments

Show HN: I saw this cool navigation reveal, so I made a simple HTML+CSS version

https://github.com/Momciloo/fun-with-clip-path
36•momciloo•5h ago•5 comments

Show HN: Kappal – CLI to Run Docker Compose YML on Kubernetes for Local Dev

https://github.com/sandys/kappal
37•sandGorgon•2d ago•17 comments

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

https://github.com/valdanylchuk/breezydemo
292•isitcontent•1d ago•38 comments

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

https://eljojo.github.io/rememory/
360•eljojo•1d ago•217 comments

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

https://vecti.com
373•vecti•1d ago•170 comments

Show HN: PalettePoint – AI color palette generator from text or images

https://palettepoint.com
2•latentio•1h ago•0 comments

Show HN: Smooth CLI – Token-efficient browser for AI agents

https://docs.smooth.sh/cli/overview
97•antves•2d ago•70 comments

Show HN: R3forth, a ColorForth-inspired language with a tiny VM

https://github.com/phreda4/r3
85•phreda4•1d ago•17 comments

Show HN: I built a <400ms latency voice agent that runs on a 4gb vram GTX 1650"

https://github.com/pheonix-delta/axiom-voice-agent
2•shubham-coder•4h ago•1 comments

Show HN: Stacky – certain block game clone

https://www.susmel.com/stacky/
3•Keyframe•5h ago•0 comments

Show HN: A toy compiler I built in high school (runs in browser)

https://vire-lang.web.app
3•xeouz•5h ago•1 comments

Show HN: Artifact Keeper – Open-Source Artifactory/Nexus Alternative in Rust

https://github.com/artifact-keeper
155•bsgeraci•1d ago•64 comments

Show HN: BioTradingArena – Benchmark for LLMs to predict biotech stock movements

https://www.biotradingarena.com/hn
29•dchu17•1d ago•12 comments

Show HN: Slack CLI for Agents

https://github.com/stablyai/agent-slack
54•nwparker•2d ago•12 comments

Show HN: ARM64 Android Dev Kit

https://github.com/denuoweb/ARM64-ADK
18•denuoweb•2d ago•2 comments

Show HN: Nginx-defender – realtime abuse blocking for Nginx

https://github.com/Anipaleja/nginx-defender
3•anipaleja•7h ago•0 comments

Show HN: Gigacode – Use OpenCode's UI with Claude Code/Codex/Amp

https://github.com/rivet-dev/sandbox-agent/tree/main/gigacode
22•NathanFlurry•1d ago•10 comments

Show HN: MCP App to play backgammon with your LLM

https://github.com/sam-mfb/backgammon-mcp
3•sam256•9h ago•1 comments

Show HN: Micropolis/SimCity Clone in Emacs Lisp

https://github.com/vkazanov/elcity
173•vkazanov•2d ago•49 comments

Show HN: I'm 75, building an OSS Virtual Protest Protocol for digital activism

https://github.com/voice-of-japan/Virtual-Protest-Protocol/blob/main/README.md
8•sakanakana00•10h ago•2 comments

Show HN: I built Divvy to split restaurant bills from a photo

https://divvyai.app/
3•pieterdy•10h ago•1 comments

Show HN: Horizons – OSS agent execution engine

https://github.com/synth-laboratories/Horizons
27•JoshPurtell•1d ago•5 comments

Show HN: Daily-updated database of malicious browser extensions

https://github.com/toborrm9/malicious_extension_sentry
14•toborrm9•1d ago•8 comments

Show HN: Falcon's Eye (isometric NetHack) running in the browser via WebAssembly

https://rahuljaguste.github.io/Nethack_Falcons_Eye/
7•rahuljaguste•1d ago•1 comments

Show HN: Slop News – HN front page now, but it's all slop

https://dosaygo-studio.github.io/hn-front-page-2035/slop-news
22•keepamovin•15h ago•6 comments

Show HN: I Hacked My Family's Meal Planning with an App

https://mealjar.app
2•melvinzammit•12h ago•0 comments

Show HN: Which chef knife steels are good? Data from 540 Reddit tread

https://new.knife.day/blog/reddit-steel-sentiment-analysis
2•p-s-v•5h ago•0 comments

Show HN: I built a free UCP checker – see if AI agents can find your store

https://ucphub.ai/ucp-store-check/
2•vladeta•12h ago•2 comments

Show HN: Local task classifier and dispatcher on RTX 3080

https://github.com/resilientworkflowsentinel/resilient-workflow-sentinel
25•Shubham_Amb•1d ago•2 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.