em3rgent0rdr 5 hours ago

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.

petermcneeley 3 hours ago

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.

  • 1d22a 2 hours ago

    The similarity is likely not a coincidence!

    > (c) Brandon Li, 2025. Ported to Javascript with the help of Paul Falstad.

gfody 4 hours ago

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

  • gblargg 4 hours ago

    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.

paulgerhardt 3 hours ago

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...

spicybright 2 hours ago

The UI is rough but this is very impressive!

bdbenton5255 an hour ago

Very clean, educational and informative. Well done, from one Brandon to another!

mhh__ 3 hours ago

Really sexy