Torvaney / elm-chaos-game

Home Page:https://torvaney.github.io/projects/chaosgame.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

https://torvaney.github.io/projects/chaosgame.html


Languages

Language:Elm 91.6%Language:HTML 7.4%Language:CSS 1.0%