Program Logo++ Output

define star
   repeat 6
      repeat 12
          walk 30
          turn 30
      loop
      turn 60
   loop
end

define megastar
    repeat 7
        turn 12
        draw star
    loop
end

draw megastar
jump 150
draw megastar
jump -300
draw megastar

define sharpstar
   repeat 9
      walk 70
      turn 170
      walk 70
      turn -90
   loop
end

jump 70
repeat 3
    draw sharpstar
    turn 120
    jump 150
loop

define square
  repeat 4
      walk 100
      turn 90
   loop
end

define squarestar
    repeat 20
        draw square
        turn 18
        jump 40
    loop
end

turn -90
jump 150
turn 90
draw squarestar