Skip to content

JuliaPluto/PlutoTurtles.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PlutoTurtles.jl

Learn Julia programming with interactive drawings and color!

Read the (interactive) featured notebook →

Schermopname.2024-08-06.om.12.28.51.mov

How to use

Open a Pluto notebook, and write:

using PlutoTurtles

Now you can start making turtle drawings! For example, you can make a triangle. Add a cell with this code:

@steps turtle_drawing() do t
    
    forward!(t, 3)
    right!(t, 60)

    forward!(t, 3)
    right!(t, 60)
    
    forward!(t, 3)
    right!(t, 60)
end

To learn more, read the (interactive) featured notebook →