adjust examples to y-axis-flip

This commit is contained in:
2025-10-19 14:19:17 +02:00
parent 64bd8ee530
commit 346a4fd720
5 changed files with 121 additions and 9 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ fn sierpinski_triangle_auto(turtle: &mut TurtlePlan, level: u8) {
let size = TRIANGLE_SIZE;
turtle.pen_up();
turtle.go_to((-screen_width() / 2.0 + 20.0, screen_height() / 2.0 - 20.0));
turtle.go_to((-screen_width() / 2.0 + 20.0, -screen_height() / 2.0 + 20.0));
turtle.set_heading(0.0); // 0 = East (pointing right)
// The drawing itself.