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

STEP 8: Now, let's rotate our triangle about the origin. The origin is the point (0, 0).

We must rotate the triangle until it covers the target triangle.

  • Go to and drag Rotate about Origin into your program, then click Run.
  • Change the number in sprite.rotate_origin(45) until the triangle overlaps with the target triangle.
  • Click Submit and Next once the triangle overlaps the target.

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