Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 1.01 KB

README.md

File metadata and controls

38 lines (22 loc) · 1.01 KB

Star Fizzle

A simple non-deterministic cellular automata with remarkable properties

ignore_equal() = true, tile() = false

ignore_equal() = false, tile() = true

General formula:

nws[i][j] += trans * ((wa + wb) / 2 - sin(ws[i][j] * freq * tau()))

The variables wa and wb are randomly chosen neighbour cells.

A common used setting is trans = 0.4 and freq = 0.77.

How to use the script

  1. Install Rust if you have not.

  2. Install Dyon-Interactive:

cargo install piston-dyon_interactive --example dyongame

  1. Run the script:

dyongame src/main.dyon

Adds stars using the mouse (point-and-click).

  • If the star is too big, a super-nova will be created that consumes the entire map
  • The map is automatically reset after a supernova
  • You can cancel supernovas (or stars) by clicking on them

Properties

The stability is very sensitive depending on trans and freq.