Hi my name is Jason.json.
I mostly work with my private repositries and I am a huge fan of low level programming languages and also a huge fan of Rust. When I was younger I always wanted to code things wich help and bring happiness to people around me.
I am a secound owner of https://lisia-nora.pl.
I love "The Sopranos", my family and my beautiful girlfriend.
"An idiot admires complexity, a genius admires simplicity." - Rest in peace King Terry
use holylibrary::{HolySprite, HolyDraw};
#[derive(HolySprite)]
struct TerryDavis<'a> {
sprite_source: &'a str,
}
fn main() {
let terry = TerryDavis {
sprite_source: "dacing-terry.gif",
};
// (x, y, z-index)
let positions = vec![
(50, 50, 3),
(150, 50, 3),
(250, 50, 3),
(350, 50, 3),
(450, 50, 1),
];
loop {
holylibrary::refresh_screen();
for (x, y, z) in positions {
terry.draw_at(x, y, z);
}
holylibrary::sleep_ms(16);
}
}