Activity: Rotation 2
I'M FINISHED WITH HOUR OF CODE!

DEMO: When a triangle rotates about the origin, it's distance from the origin is preserved. That means, each point on the triangle stays the same distance from the origin as the triangle rotates.

  • Click on the triangle four times to move it one full 360 degree rotation.
  • After you have seen the full rotation, click Submit and Next to continue the lesson.

# stage.create_grid_overlay(line_separation, "line_color") stage.create_grid_overlay(50, "grey") sprite = codesters.Sprite("triangle", 100, 50) sprite.set_speed(1)
Support