Skip to content

c4fsharp/Dojo-Turtles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Turtles dojo

The goal of this dojo is to create a simple version of the Turtle/Logo language, using F# discriminated unions, to produce SVG graphics like this one:

Example output

... which is generated from the following code:

[
REPEAT (
    50, 
    (
    [
        FORWARD 10.0
        LEFT 10.
        REPEAT (5,
            [
                FORWARD 50.
                LEFT 140.
            ]
        )
    ]
))
]

Running the code

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages