Turtle Art is a great way to explore mathematical and programming concepts in a fun and engaging way. This is inspired by LOGO.
Here is an example of image formed by repeating a simple sequence of instruction.
There is no one right answer. The same shape can be made by various approaches.
For example, square can be in a visual programming environment in multiple ways
The above is implemented in:
A similar square can be implemented in a text-based environment such as python by following a set of commands. python3 has an in-built library for turtle which supports many more features.
import turtle
t=turtle.Turtle()
t.forward(100)
t.right(90)
t.forward(100)
t.right(90)
t.forward(100)
t.right(90)
t.forward(100)
t.right(90)
The same can be achieved in lesser number of lines
import turtle
t=turtle.Turtle()
for i in range(4):
t.forward(100)
t.right(90)
One can install python3 start their exploration offline. There are also browser-based interfaces like repl.it to explore the same.
https://repl.it/languages/python_turtle
Here is the Challenge
Can you re-create the similar shape and figure out the basic sequence of instruction that is repeated to create this?
Here are 4 different images. Changing which value do you think is making the difference?
Can design some more similar challenges and share with us here?
Here is the soothing video which captures the generation of the above shapes