jb3 / chaos_game

Implementation of the Chaos Game in Elixir.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chaos Game

An Elixir implementation of the Chaos Game using the Scenic GUI library.

The current values generate Sierpinski Triangles but the logic is there for most of the other fractals produced by the chaos game to be produced.

Screenshots

Sierpinski Hexagon

Imgur

Sierpinski Triangle

Imgur

Usage

Disclaimer: This project is horribly inefficient and requires a lot of processing power (it absolutely killed my laptop). However, the patterns are very nice

  1. Clone the repository
  2. Install Elixir
  3. mix deps.get inside the project
  4. mix scenic.run inside the project
  5. profit.

About

Implementation of the Chaos Game in Elixir.


Languages

Language:Elixir 100.0%