Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/halfzebra/elm-sierpinski
:snowflake: Sierpinski triangle in Elm
https://github.com/halfzebra/elm-sierpinski
elm sierpinski-triangle
Last synced: 2 months ago
JSON representation
:snowflake: Sierpinski triangle in Elm
- Host: GitHub
- URL: https://github.com/halfzebra/elm-sierpinski
- Owner: halfzebra
- Created: 2016-07-27T22:27:35.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-08-18T18:50:20.000Z (over 8 years ago)
- Last Synced: 2024-10-15T16:04:48.322Z (2 months ago)
- Topics: elm, sierpinski-triangle
- Language: JavaScript
- Homepage: https://halfzebra.github.io/elm-sierpinski/example/
- Size: 91.8 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Sierpinski triangle in Elm
An implementation of [Sierpinski triangle](https://en.wikipedia.org/wiki/Sierpinski_triangle) in Elm.
Check out the [example in action](https://halfzebra.github.io/elm-sierpinski/example/) :sparkles:
Implements recursive algorithm and relies on `elm-lang/graphics`.
[![Build Status](https://travis-ci.org/halfzebra/elm-sierpinski.svg?branch=master)](https://travis-ci.org/halfzebra/elm-sierpinski)
![Sierpinski Triangle in Elm](https://github.com/halfzebra/elm-sierpinski/blob/master/example/screenshot.png?raw=true)
The project includes simple demo project.
### Building the example
Run the following commands in your terminal:
```bash
$ cd example/
$ elm-make Main.elm --output=index.js
```