half-baked idea

This commit is contained in:
2024-10-01 20:26:47 -06:00
parent 7a5866dc4c
commit 2fe5e93d4b

View File

@@ -1,4 +1,5 @@
use core::f32;
use std::io::stdin;
use macroquad::prelude::*;
@@ -46,6 +47,7 @@ impl DebugWindow {
}
}
#[macroquad::main("Graph")]
async fn main() {
// Dot params
@@ -61,9 +63,13 @@ async fn main() {
let mut show_debug = false;
let mut px_per_s: f32 = 100.;
let stdin = stdin();
let handle= stdin.lock();
loop {
clear_background(BLACK);
// handle.
let delta_time = get_frame_time();
if x_offset >= screen_width() {