aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs
index 211eaab..deb1151 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -13,7 +13,6 @@ use sdl2::rect::Rect;
use sdl2::render::Texture;
use sdl2::surface::Surface;
use std::ops::DerefMut;
-use std::sync::Arc;
use std::time::Duration;
pub fn main() {
@@ -36,7 +35,7 @@ pub fn main() {
// amount to incr sin_offset by per frame
// TODO: do not bind to framerate u silly bean
- let sin_speed = 0.0025;
+ let sin_speed = 0.003;
let mut sin_offset = 0.5;
'running: loop {
i = (i + 1) % 255;
@@ -66,7 +65,7 @@ pub fn main() {
offset = 0.0;
let mut rng = rand::thread_rng();
- for c in "look sorry for shit demo we have adhd".chars() {
+ for c in "sorry for shit demo we have adhd".chars() {
let char = FONT_GALMURI.get_char(c);
canvas
.copy(