programmable-matter-simulator

command module
v1.4.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

README

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)

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL