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

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.set_background("grid") sprite = codesters.Sprite("triangle", 100, 50) sprite.set_speed(1)
Support