Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 534 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 534 Bytes

Chaos game

The algorithm goes like this:

  1. Pick a target point (large circle) at random
  2. Go halfway between the current position and the target position
  3. Mark the new point (small circle)
  4. Repeat from 1

Do you see a pattern emerge?

Inspired by Numberphile.

Preview

Screenshot

Compile

Compile to javascript with elm-make

elm-make src/elm/Main.elm --output src/static/js/main.js