Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/mrdimosthenis/turtle-graphics

Command the turtle to draw vector graphics in Elm
https://github.com/mrdimosthenis/turtle-graphics

elm functional-programming turtle-graphics

Last synced: 2 months ago
JSON representation

Command the turtle to draw vector graphics in Elm

Awesome Lists containing this project

README

        

# turtle-graphics

This is an [Elm library](https://package.elm-lang.org/packages/mrdimosthenis/turtle-graphics/latest/) that enables us
to [command](https://package.elm-lang.org/packages/mrdimosthenis/turtle-graphics/latest/TurtleGraphics)
a relative cursor *(turtle)* to draw vector graphics!

1. **Install** by running `elm install mrdimosthenis/turtle-graphics` in your project's root directory
2. **Import** by typing `import TurtleGraphics` at the top of your module
3. **Create** amazing graphics

![Square Spiral](https://github.com/mrdimosthenis/turtle-graphics/blob/master/examples/SquareSpiral.png?raw=true)

The source code that generates these images can be found in *examples*

![Tree](https://github.com/mrdimosthenis/turtle-graphics/blob/master/examples/Tree.png?raw=true)