LOGO Insights
Commands to know in LOGO
FD xx RT xx LT xx REPEAT :N [ __________ ]
Special Control Keys: [Ctrl] F [Ctrl] U and [Ctrl] D
MAKE "X RANDOM 100
MAKE "X 0 - initialize - use MAKE "X :X + 5
TONE xx dd xx - tone dd - duration
PU PD STAMP SETSH xx SETC xx CG CT CC
PRINT [_____] PRINTSCREEN
procedures circle, box, flower
procedures that call procedures
procedures that accept a variable
know how to draw a shape esp. that a complete circle = goes 360o
degrees
For some students moving right or left is hard to understand, they think the turtle
should be able to "crab walk" to the left or right. It's not in the turtles nature
to be a crab, so here are scoot procedures to go left or right.
TO SCOOTR
PU RT 90 FD 20 LT 90
END
SCOOTR
SCOOT :5
TO POLY :N
REPEAT :N [FD 30 RT 360 / :N]
END
POLY 6
POLY 5
POLY 7
TO GROW :A
CG MAKE "X 0
REPEAT 25 [FD :X
RT :A MAKE "X :X + 5]
END
GROW _____ GROW 120 GROW 125
Back to
my home page