ton of refactoring, dropped lustre for a wasm frontend in rust

This commit is contained in:
joeyahines committed 2025-05-07 19:38:31 -06:00
1 parent 76522cc053
commit 91547b9c2e
18 files changed
+543 -224

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
use macroquad::prelude::*;
#[macroquad::main("BasicShapes")]
async fn main() {
loop {
clear_background(RED);
draw_line(40.0, 40.0, 100.0, 200.0, 15.0, BLUE);
draw_rectangle(screen_width() / 2.0 - 60.0, 100.0, 120.0, 60.0, GREEN);
draw_circle(screen_width() - 30.0, screen_height() - 30.0, 15.0, YELLOW);
draw_text("IT WORKS!", 20.0, 20.0, 30.0, DARKGRAY);
next_frame().await
}
}