From a040f71b9f651b20b3ccd075b9be405b23dd252b Mon Sep 17 00:00:00 2001 From: polsevev Date: Sun, 26 Feb 2023 03:27:21 +0100 Subject: [PATCH] added README --- README.md | 9 +++++++++ src/main.rs | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..7159a06 --- /dev/null +++ b/README.md @@ -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) \ No newline at end of file diff --git a/src/main.rs b/src/main.rs index d91a0e8..1cc87f4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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|{