programmable-matter-simulator
A programmable matter simulator written using Go and Ebiten scriptable using Tengo language.
🚀 Quick start
Simply run the main script:
go run main.go
Edit the scripts in scripts
folder to modify the behavior of the simulation.
❓ Help
If you press H
you will see the following help menu:
As you can see, you can select different script for the particles and start, pause
or restart the simulation. Of course, if you edit the scripts, you have to reload
the environment pressing R
.
⚠ Known bugs ⚠
- A particle that reach the border will crash the engine (not supported at the moment, maybe a toroidal map could help)