remove the bevy based turtle and rename turtle-lib-macroquad to turtle-lib

This commit is contained in:
2025-10-12 20:31:05 +02:00
parent fe2beb01ed
commit 08a1802bd2
46 changed files with 100 additions and 510 deletions
+32
View File
@@ -0,0 +1,32 @@
//! Example demonstrating different turtle shapes
use turtle_lib::*;
#[turtle_main("Turtle Shapes")]
fn draw(turtle: &mut TurtlePlan) {
// Start with triangle (default)
turtle.forward(100.0);
turtle.right(90.0);
// Change to turtle shape
turtle.shape(ShapeType::Turtle);
turtle.forward(100.0);
turtle.right(90.0);
// Change to circle
turtle.shape(ShapeType::Circle);
turtle.forward(100.0);
turtle.right(90.0);
// Change to square
turtle.shape(ShapeType::Square);
turtle.forward(100.0);
turtle.right(90.0);
// Change to arrow
turtle.shape(ShapeType::Arrow);
turtle.forward(100.0);
// Set animation speed
turtle.set_speed(50);
}