You are on page 1of 30

1

repeat
6

forward right

100 60

ed t r ta g S n i t Get
repeat
6

number of sides draw a line


forward right
100 60

forward 100

turn

right 60

BIGGER OR SMALLER
repeat
6

change this number


38 60

forward right

SQUARE
repeat
4

TRIANGLE
repeat
3 100 90

forward right

these numbers have changed

forward right

100 120

these numbers have changed

GETTING STARTED

repeat

forward right

100 38

90 x 4 = 360

he all t s i 360 around way

Getting St arted

2
set color
repeat
7 360 1 1

forward right

es l c r i wing C a r It takes a lot D


ste p

of little steps
n

But it still turns 360


repeat
360 1 1

r tu
set color

360 x 1 = 360

forward right

choose a color BIGGER


repeat
360

SMALLER change this number


2 1

repeat

180 1 2

forward right

forward right

change these numbers

DRAWING CIRCLES

repeat

180 1 2

forward right

180 x 2 = 360

he all t s i 360 around way

Drawing Circles

repeat

360 290 290 1

forward back right

3
Spinning Circle

n n i Sp

le c r ing Ci
repeat

REPEAT IT 45 TIMES
45 290 290 1

forward back right

forward back

290 290 1

the heading changes


right

45o

0, it 36 ll t a e rep oes a fu u o y d If rtle u t the e circl

SPINNING CIRCLES

CHANGE COLORS
set color
80

CHANGE PEN SIZE


set pensize
1

set pensize

10

set pensize
repeat

8 360

4
heading
290 290

set color
forward back ribackght

w o b n i Ra
Change the pen size
set pensize
repeat
8 360

heading = 0
heading
290 290 1

heading = 20

set color
forward back ribackght

the next time through the heading will be 1, then 2, 3, 4... until 359

360 peat e e r u If yo the turtl , times full circle a does


right 1 makes the heading change by one each time

RAINBOW

the first 20 repeats

Rainbow

5
Rainbow Math
th a M w o b n i Ra

5
COLORS 0 100
colors will range from 0 to 100 heading range from 0 to 100 heading/360 x 100 goes from 0 to 100

}
the turtle goes off the screen and back to the center number of degrees in a circle

number or colors available

RAINBOW MATH

TRY THIS

Change this number and see what happens

6 6
Turtle Shades
es d Sh a e l Turt
shades range from 0 to 200

SHADES 0

6 6
100 200

heading range from 0 to 100

the turtle goes off the screen and back to the center

number of degrees in a circle

number of shades available

SPINNING SHADES

TRY TO CREATE THIS IMAGE

Arc
2 1 2 forward 100 3 radius = 100
ar

angle = 270

1 the turtle ends pointing up as it started forward 100 3

ARC

CAN YOU MAKE...

Arc

7
c2
100 70

8
Arcs in a Circle
e l c cir C a n i s c r A do it once
tur

8
n

do it again and turn

10

choose a color an df i

do it 10 times

choose a shade

s, time cle 6 3 t it l cir epea es a ful r u If yo rtle do tu the


10 x 36 = 360

ARCS IN A CIRCLE

he scree ll t

right right

90 10

right

100

s y a R
circle is a i it

left 4

the turtle goes forward but it doesnt come back all the way

forward back left

250 246 4

nk thi

out ab

forward left

4 4

RAYS

CHANGE SOME NUMBERS AND SEE WHAT HAPPENS

R ays
9
ide ns

10

x e t r y Vo d n Ca

10
pensize gets smaller as the turtle turns (359, 358, 357..) the color and shade are set by the turtles X and Y position

CANDY VORTEX

EXPERIMENT! SWITCH AROUND THESE BLOCKS:

Candy Vortex

11

y d oth Can o Sm

11
sets a slightly bigger pen size changes the colors more slowly

changes the shades more slowly, favouring lighter shades

SMOOTH CANDY

USE THESE BLOCKS TO CHANGE THIS STACK:

Smooth Cand y

12 12

l a r i Sp

this is like doing


0 90 10 90

12 12
90 50 80 40 100 60 10 30 20 70

forward right

forward right forward right

20 90

forward right

100 90

box1 starts at 0 adds 10 each time

SPIRAL

change this number and this one too

Spiral

13 13
Bent Spiral
l a r i p S t n e B
right 90 make a square spiral right 91 makes a bent square spiral

13 13

BENT SPIRAL

Try making a bent triangle spiral

14 14
Spin Rainbow
w o b n i a R n i Sp
Click and type to change its name

14 14

the blocks automatically change names

each segment is slightly different color

SPIN RAINBOW

It is good to use a name that indicates what is stored in the box

15 15
Color Squiral
l a r i u q S r o l Co

15 15
The color and shade of the pen change The color depends on the X coordinate The shade depends on the heading

COLOR SQUIRAL

try changing this number try adding arithmetic here

16 16

F l ag
1
forward 100 right 120

3 fo r rig ward h
t1

1 20 00

16 16

forward 100

}
5 the turtle ended where it started

2 3 4

10 ard 0 w for ht 12 rig


back 100

FLAG

Try other things where the turtle ends where it starts

Flag

17 17

s g a l F
1. Place this block on top

create a block

2. Click and type a name

17 17

3. A new block with that name appears

4. Use it in other stacks

makes 9 flags Create our own blocks and use them in different stacks

FLAGS

Flags

18 18
Windmill

ll i m d n Wi

18 18

a box inside a box inside a box...

WINDMILL

Change the windmill or create something new

19 19
Spin Square
e r a u q S n i p S make a
square
t

19 19
and another...
n ur o 36

and another...

, times e 0 1 t i peat a full circl e r u o If y oes rtle d u t e th 10 x 36 = 360

and another...

SPIN SQUARE

once you name a stack, a block appears here

20 20
Flower
r e w o l F

20 20
draw a square of any size length of a side start at 0 make size bigger square 90 square 60 square 30

FLOWER

make some changes and see what happens

21 21
Hexrainbow
w o ainb r x He

21 21
start at 0
o

s on g a draw 6 hex

y size n a f

color will range from 0 to 86

changes its value adding 2 each time size = 0 + 2 = 2 size = 2 + 2 = 4 size = 4 + 2 = 6 ... size = 258 + 2 = 260 size determines how big it is

HEXRAINBOW

22 22
Random Stars
s r a St m o d n a R

22 22
pick a random color from 0 to 100 try this several times what values did you get?

draw a star of a random color at a random place

pick a random X position, from -300 to 300, and a random Y position, from -200 to 200

RANDOM STARS

try using random with pen sizes and shades...

23 23
Not That Random
om d n a R t ha T Not
pick a random color from 0 to 100

23 23

draw a star of a random color at a not that random place

possible X values: -300 -240 -180 -120 -60 0 60 120 180 240 300 possible Y values: -240 -180 -120 -60 0 60 120 180 240 pick a dark shade pick a thick pensize pick a lighter shade pick a thinner pensize

NOT THAT RANDOM

24 24
Bubbles
s e l b b u B
store in box1 a value between 200 and 800

24 24
pick a random positon on the screen

set the pensize and shade so the bubbles get smaller and darker towards the bottom of the screen try making the bubbles lighter and bigger towards the bottom

BUBBLES

25 25

w o l G
place the turtle at the bottom left corner (off the screen)

25 25

pick a color in a small range

draw a curved line, then retrace it

Glow

26 26

n e d r Ga

26 26
pick a color, a shade and draw a star

draw tulips at the corners of this pattern

Garden

27 27
Not Quite Plaid
Not
id a l P e t i u Q

27 27

pick a color, a shade and a pen size if box1 = 0 --> draw a vertical line if box1 = 1 --> draw an horizontal line

stores 0 or 1 in box1

28 28

l r i w S
draw a squiggle

28 28
map 0 to 360 range to 0 to 600 range 360 x 1 = 360

then retrace it

s, me e i t 0 cl t 36 ull cir i t f ea rep does a u o If y turtle the

Swirl

29 29
One Bad Apple
le p Ap d a B One

29 29
draw 200 good apples

and the one bad apple

30 30

s n o i t c e fl e R

30 30
draw a spiral from the outside to the inside change the shade and color as you sprial in

Reflections

You might also like