octogone.logo 349 B

12345678910111213141516171819202122232425262728293031323334
  1. PROGRAM
  2. ROUTINE trace
  3. BEGIN
  4. FORWARD 70;
  5. ROTATE 45;
  6. END
  7. ROUTINE trace1
  8. BEGIN
  9. CALL trace;
  10. CALL trace;
  11. END
  12. ROUTINE trace2
  13. BEGIN
  14. CALL trace1;
  15. CALL trace1;
  16. END
  17. ROUTINE trace3
  18. BEGIN
  19. CALL trace2;
  20. CALL trace2;
  21. END
  22. BEGIN
  23. FORWARD 100;
  24. ROTATE 90;
  25. FORWARD 100;
  26. ROTATE 270;
  27. PEN DOWN;
  28. CALL trace3;
  29. END.