Nov 222019
Think of all the things you can draw in LOGO:
- Lines = fd 50 or bk 50
- Turns = rt 90 or lt 90 (or other angles)
- Circles = circle 50
- Squares = repeat 4 [fd 50 rt 90]
- Shapes = repeat ? [fd 50 rt 360/?] (/ means divide; ? means number of sides)
- Stars = repeat ? [fd 50 rt 360 /? -180] same as shapes but change the angles; ? bigger than 8
- Spirals = see last post for Y5
- Colours = colour “blue
- Moving without drawing = pu setxy 100 100 pd
- Shading = fill (fills the area you are in with the current colour)
- Pen thickness = setpensize 5
- Procedures = to newthing …instructions… end
- Procedures with variables = to newthing :size :col …. end
- Call procedure with variables = newthing 50 “blue
- Make/change variables = make “length 50
- Use variables = fd :length
- Increase variables = make “length :length + 1
Your task
- Design and draw a picture with different elements (could doa uick sketch in j2e5).
- Use as many skills from the list above as you can
- You can copy and paste code from your previous projects
- Lavel your code with comment lines starting with semi colon ; ,eg
- ;———-Wheel———–
Ideas
- A car or vehicle
- A robot
- A house or building