added README
This commit is contained in:
parent
0b9d7b5acc
commit
a040f71b9f
2 changed files with 10 additions and 1 deletions
9
README.md
Normal file
9
README.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
# Work in progress!
|
||||
|
||||
# A visualization of sorting!
|
||||
|
||||
This is a clone of the project [The Sound of Sorting](https://panthema.net/2013/sound-of-sorting/) without the sound (for now)
|
||||
|
||||
It is written using the tiny game engine [MacroQuad](https://macroquad.rs/)
|
||||
|
||||
WebAssembly version can be found here [beepsort.polsevev.dev](https://beepsort.polsevev.dev)
|
|
@ -30,7 +30,7 @@ async fn main() {
|
|||
Err(error)=> {100}
|
||||
};
|
||||
|
||||
draw_text("Sorting! HAHHAA", screen_width()*0.3, screen_height()*0.5, 100.0, GREEN);
|
||||
draw_text("Sorting!", screen_width()*0.3, screen_height()*0.1, 100.0, GREEN);
|
||||
draw_text(format!("Length: {}", length.to_string()).as_str(), screen_width()*0.83, 30., 20.0, BLACK);
|
||||
draw_text(&get_fps().to_string(), screen_width()*0.7, 30.0, 20.0, BLACK);
|
||||
root_ui().window(hash!(), Vec2::new(screen_width()*0.01, 45.), Vec2::new(250., 50.), |ui|{
|
||||
|
|
Loading…
Reference in a new issue