Wired Logic can turn a still image like this…
…into an animation like that…
How to run it?
Execute the following command to convert a static image into an animation…
go run $GOPATH/src/github.com/martinkirsche/wired-logic/apps/gif/main.go input.gif output.gif
…or draw your own circuit using the Wired Logic Sandbox in your browser.
How does it work?
It scans the image, converts it into a collection of wires, power sources and transistors and runs a simulation on them as long as the state of the simulation does not recur. Then it renders the simulation into the animated gif image.
Wired Logic was mainly inspired by Minecraft's Redstone and Wireworld. The first prototype even was a cellular automaton like Wireworld running as a shader within the GPU where each pixel passed its
charge - 1 on to its neighbours. But it was slow and impractical so I came up with this implementation.