https://github.com/jb3/chaos_game
Implementation of the Chaos Game in Elixir.
https://github.com/jb3/chaos_game
elixir elixir-lang fractal-algorithms scenic sierpinski
Last synced: 3 months ago
JSON representation
Implementation of the Chaos Game in Elixir.
- Host: GitHub
- URL: https://github.com/jb3/chaos_game
- Owner: jb3
- Created: 2018-12-21T14:06:46.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-21T14:16:37.000Z (over 6 years ago)
- Last Synced: 2025-01-29T23:41:43.505Z (5 months ago)
- Topics: elixir, elixir-lang, fractal-algorithms, scenic, sierpinski
- Language: Elixir
- Size: 4.88 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Chaos Game
An Elixir implementation of the Chaos Game using the Scenic GUI library.
The current values generate [Sierpinski Triangles](https://en.wikipedia.org/wiki/Sierpinski_triangle) but the logic is there for most of the other fractals produced by the chaos game to be produced.
## Screenshots
### Sierpinski Hexagon
### Sierpinski Triangle
## 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.