Logo with Gimmicks

Author

Hubert Baechli

Published

April 18, 2025

Run Game

Example from the homepage

with some fancy shadow and color effects

run_LOGO("CS SP [-pi/5] [-Sin(PI/2)/2] sPc [black]")
run_LOGO("REPEAT 20 [RepeaT 180 [FD 1 RT 2] RT 18]")
run_LOGO("SPEED 100")
run_LOGO("Home SpC [gREEN] StC [blue]")
run_LOGO("REPEaT 20.1 [rEPEAT 180 [fD 1 RT 2] RT 18]")
run_LOGO("UndoChunk")
run_LOGO("SpC [blue] StC [green]")
run_LOGO("REPEaT 5 [rEPEAT 180 [fD 1 RT 2] RT 72]")
run_LOGO("SpC [green] StC [red] rt 18")
run_LOGO("REPEaT 5 [rEPEAT 180 [fD 1 RT 2] RT 72]")
run_LOGO("SpC [yellow] rt 18")
run_LOGO("REPEaT 5 [rEPEAT 180 [fD 1 RT 2] RT 72]")
run_LOGO("SpC [red] rt 18 ht")
run_LOGO("REPEaT 5 [rEPEAT 360 [fD 0.5 RT 1] RT 72]")

Saved Output

you can also save the output (Plot) for showing it around later

run_LOGO("SPEED 1 saVe [Logo01]")

Other Exercises

Since n is also used as a loop variable in my program, handling many other exercises doesn’t pose any issues.

https://softwareprogramming4kids.com/loops-in-logo/

Exercise 1:

run_LOGO("CS")
run_LOGO("REPEAT 80 [FD [N*2] RT 90]")
run_LOGO("undo")
run_LOGO("REPEAT 80 [FD [N*2^(N/40)] RT 90]")
run_LOGO("SPEED 1 saVe [Logo02]")

Exercise 2:

run_LOGO("CS REPEAT 50 [ FD [n * 5]  RIGHT 144 ]")
run_LOGO("SPEED 1 saVe [Logo03]")

Exercise 3:

run_LOGO("CS REPEAT 150 [ FD [n * 2]  RT 91 ]")
run_LOGO("SPEED 1 saVe [Logo04]")