Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```