remove the bevy based turtle and rename turtle-lib-macroquad to turtle-lib
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
//! Minimal turtle example - just 10 lines!
|
||||
//!
|
||||
//! This is the simplest possible turtle program using the macro.
|
||||
|
||||
use turtle_lib::*;
|
||||
|
||||
#[turtle_main("Hello Turtle")]
|
||||
fn hello() {
|
||||
turtle.set_pen_color(BLUE);
|
||||
for _ in 0..4 {
|
||||
turtle.forward(100.0);
|
||||
turtle.right(90.0);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user