Toggle navigation
j2launch
my files
sign in
[j2code]
NEW
LOAD
SAVE
*
LINK
PUBLISH
EXAMPLES
HELP
ABOUT
level 1
2
3
turtle
ARC length angle
CIRCLE radius
CLEARTEXT
HIDETURTLE
PENWIDTH width
PRINT [ . ]
RESET
SETHEADING angle
SETX x
SETXY x y
SETY y
SHOWTURTLE
maths
ARCTAN number
COS angle
INT number
RANDOM number
ROUND number
SIN angle
SQRT number
lists
BUTFIRST list
BUTLAST list
FIRST list
FPUT thing list
ITEM index thing
LAST list
LPUT thing list
SETITEM index array value
Level 3 - use buttons or type in the script area. Click play to run the script.
; SNOWMAN PUZZLE ; Scroll to the bottom ; Adjust the setxy numbers to put the snowman together Reset Pu setxy -250 50 pd Setxy 250 50 Setxy -150 50 ;tree Colour "brown Setpensize 10 fd 50 Setpensize 6 lt 10 fd 40 rt 10 Setpensize 6 lt 10 fd 40 bk 40 Setpensize 4 rt 25 fd 30 bk 20 Lt 25 Bk 40 rt 15 Setpensize 4 rt 15 fd 30 rt 15 Setpensize 6 lt 10 fd 40 bk 40 Setpensize 4 rt 25 fd 30 bk 20 Pu home ;BODY To body Setpensize 1 setxy 0 -150 Pd Colour "black Circle 50 Pu bk 25 Repeat 3 [pd circle 5 fill Pu fd 25 ] End ;RIGHT ARM TO rightarm Rt 60 Setpensize 6 Fd 30 lt 10 fd 40 bk 40 Setpensize 4 rt 25 fd 30 bk 20 Pu home END ;LEFT ARM TO leftarm Lt 50 Setpensize 6 Fd 30 lt 10 fd 40 bk 40 Setpensize 4 rt 25 fd 30 bk 20 Pu home END ;HEAD TO head1 Colour "orange Setpensize 11 Rt 105 fd 20 bk 20 lt 105 Setpensize 3 Colour "black Rt 130 Arc 20 120 Rt 230 Setpensize 1 Circle 30 Pu Rt 45 fd 15 pd circle 5 fill Pu Lt 135 fd 22 6pd circle 5 fill Pu home END ;HAT TO hat Rt 90 Colour "blue Setpensize 21 Repeat 5 [Fd 30 lt 120] Rt 150 fd 10 Colour "red Setpensize 7 circle 7 END ;SCARF TO scarf Colour "red Setpensize 22 Rt 45 pd Fd 40 rt 45 fd 40 rt 45 fd 40 Pu home END Pu home fd 100 colour "skyblue fill Pu setxy 150 150 pd Colour "yellow Circle 30 fill Setpensize 6 Repeat 12 [pu fd 40 pd fd 10 Pu bk 50 rt 30] ;----------------------- ; Can you change the SETXY numbers to put the snowman together? ; The first number is the x coordinate, between -250 and 250 (left - right) ; The second number is the y coordinate between -250 and 250 (down - up) ;----------------------- body pu setxy 170 0 pd Leftarm Pu setxy -200 -40 pd Rightarm Pu setxy 170 -170 pd head1 Pu setxy -200 -200 Scarf Pu setxy 150 -75 pd Hat
Your browser doesn't support canvas tags.
Notifications
Mark all as read
unread
x
j2message
x
j2stars
x
j2homework
x
myfiles
x
j2journal
x
Loading...