Skip to content
/ Burtle Public

A implementtation of the python turtle using bevy as the backend

License

Notifications You must be signed in to change notification settings

klownie/Burtle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Burtle

A minimal rewrite of the python turtle in rust using bevy as the backend

Exemple

use burtle::Burtle;
use burtle::Color;

fn main() {
    let mut turtle = Burtle::new();
    turtle.pen_down();
    turtle.goto(500., 1.);
    turtle.set_pen_color(Color::RED);
    for _ in 0..360 {
        // Move forward three steps
        turtle.forward(3.0);
        // Rotate to the right (clockwise) by 1 degree
        turtle.right(1.0);
    }
    turtle.run(1000., 1000.)
}

About

A implementtation of the python turtle using bevy as the backend

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages