updated starter code
This commit is contained in:
parent
dbd22abbd4
commit
93192f750a
|
@ -1,12 +1,18 @@
|
||||||
function turtle(){
|
function turtle(){
|
||||||
|
|
||||||
|
penSize(3);
|
||||||
|
penColor('purple');
|
||||||
|
|
||||||
right(randint(100));
|
right(randint(100));
|
||||||
forward(randint(200));
|
forward(randint(200));
|
||||||
|
|
||||||
|
|
||||||
penup();
|
penup();
|
||||||
right(randint());
|
right(randint());
|
||||||
forward(randint());
|
forward(randint());
|
||||||
|
|
||||||
|
penSize(12);
|
||||||
|
penColor('#00ff8f');
|
||||||
pendown();
|
pendown();
|
||||||
right(randint(45));
|
right(randint(45));
|
||||||
forward(randint(300));
|
forward(randint(300));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user