When spice simulation isn't deep enough... Very educational to show how circuit elements work "under the hood"...for example the LC example doesn't use an L element and a C element as building blocks, but rather it is the two metal plates in close contact which form the bulk of the circuit's capacitance and it is the loop of metal itself which form the inductance.
When spice simulation isn't deep enough... Very educational to show how circuit elements work "under the hood"...for example the LC example doesn't use an L element and a C element as building blocks, but rather it is the two metal plates in close contact which form the bulk of the circuit's capacitance and it is the loop of metal itself which form the inductance.
Amazing work feels very similar to Paul Falstad page https://www.falstad.com/emstatic/index.html.
This really needs a WebGPU port. Multigrid on a GPU is moderately easy.
The similarity is likely not a coincidence!
> (c) Brandon Li, 2025. Ported to Javascript with the help of Paul Falstad.
Sebastian Lague has been making one of these and youtubing it, the videos are great here's the latest one https://www.youtube.com/watch?v=HGkuRp5HfH8
Note that these are at very different levels of detail. Lague's is at the digital logic level, while Brandon's is some level around atoms/electrons.
Fun. I am reminded of the long forgotten Zachtronics semiconductor game “KOHCTPYKTOP: Engineer of the People” [1]
[1] https://www.zachtronics.com/kohctpyktop-engineer-of-the-peop...
This is also available (with an included Flash emulator, so playable on modern machines) in Zach's free retrospective "Zach-like" [1]
[1] https://store.steampowered.com/app/1098840/ZACHLIKE/
Did you know that archive supports old Flash games like this via the Ruffle Flash emulator?
https://web.archive.org/web/20160305205215/http://www.zachtr...
cefFlashbrowser can do it better
The UI is rough but this is very impressive!
Very clean, educational and informative. Well done, from one Brandon to another!
Really sexy
[dead]