Challenge mode
Creative mode
Animation mode
Help
Help for function at cursor
Take the tour
Login
Register
Save
Save and share your code
Share
New program
Undo
Redo
Format Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
let
triangles
=
(
length depth.
if
(
depth
==
0
)
then
(
fw length
)
else
(
repeat
3
(
fw length
/
3
triangles
(
length
/
3
)
(
depth
-
1
)
fw length
/
3
right
120
)
)
)
pen thickness:thin color:yellow pattern:none
up
(
goto
(
-
200
)
(
-
200
)
)
triangles
800
5
OK, value: (function)
Hide the turtle
Save as an image
Position of turtle at current expression
(0, 0)
Direction of turtle at current expression
0
Previous turtle at current expression
/ 1
Next turtle at current expression
Number of instructions
9741
Number of tokens
50
Zoom in
Zoom out
Locate turtle
Reset to the center
Welcome to Shelly!
Learn programming by drawing - or just draw if you already know how to code!
Take the tour