Roc Turtle Editor

A very simple online editor for roc-turtle . On the left, write a Roc module that exposes a function called main that returns a Turtle and see a preview on the right. The canvas size is 500x500 with the origin in the centre. For more information, check out the documentation for the roc-turtle module. The source code for this editor is available on GitHub.

Code:

Preview: