Angles
3 Minutes · Module 3 - Designing (Spiral)
Robotic simulation for kids teaches how to use angles and repeat blocks to draw a complex shape with ten triangles. A Tamil robotics lesson.
- Setting up pen blocks and blue color on the Art Canvas
- Programming a triangle with 700 mm sides and 120-degree turns
- Repeating ten triangles rotated by 36 degrees to form a pattern
What this lesson teaches
Geometric patterns in robotic simulation are created by repeating straight movements and specific turning angles to draw polygons and symmetrical designs. A robot can form a complex circular structure by drawing a single triangle multiple times and rotating by an exact angle between each repetition.
Setting up the Art Canvas
The robot playground provides an Art Canvas where drawing commands can be programmed and tested. The setup begins by using a pen down block so the robot leaves a visible trail as it drives across the screen. Next, a pen color block is dragged into the workspace and configured to blue ink, ensuring that every side drawn by the robot is clearly visible on the canvas.
Programming a single triangle
- Drag a drive forward block originally set to 200 mm and change its distance value to 700 mm to form one side of the triangle.
- Add a turn left block and change its turning angle to 120 degrees, which matches the outer angle of the shape.
- Pull a repeat block from the control category and set the counter to three so the robot traces all three sides.
- Run the code to verify that the three forward drives and 120-degree left turns close together into a neat triangle.
Calculating the rotation angle
To arrange ten identical triangles in a circle, the robot must rotate by an equal portion of a full turn after completing each individual shape. A complete turn contains 360 degrees, and dividing 360 by 10 gives an angle of 36 degrees. Turning the robot right by 36 degrees after each triangle spaces all ten shapes evenly around the center to create a balanced complex structure.
Repeating the full pattern
- Place a turn right block set to 36 degrees after the triangle drawing sequence to shift the robot for the next shape.
- Drag a repeat block from the control section and set it to ten, wrapping it around both the triangle code and the turn block.
- Reload the Art Canvas simulation and start the program so the robot draws ten triangles in sequence.
- Save the finished program under the project name complex drawing after the robot completes the full design.
Part of the course
ROBOTIC SIMULATION