LOGO - Turtle Graphics Applet

Logo Commands

  • FD x - Go Forward x pixels
  • BK x - Go Back x pixels
  • RT x - Turn Right x degrees
  • LT x - Turn Left x degrees
  • PU - Pen Up
  • PD - Pen Down
  • CL - Clear Screen
  • H - Reset Turtle Location
  • REPEAT n [XX x YY y]
      n - number of repeats
      XX - command 1 (FD or BK)
      x - command 1 parameter
      YY - command 2 (RT or LT)
      y - command 2 parameter

Try Some of these

  • Square:
    REPEAT 4 [FD 100 RT 90]
  • Circle:
    REPEAT 90 [FD 10 RT 4]
  • Octagon:
    REPEAT 8 [FD 50 RT 45]
  • Star:
    REPEAT 5 [FD 100 RT 144]

    Note: uppercase is not required.
    PS. Try PRESET 1 through 5
    (Presets are just a combination of multiple commands)