I felt really productive after today!
I started “Sprout”, which is a wellness daemon that perks up when you take breaks and droops down when you stay seated for too long. Here’s what I did today:
- I busted my “ghost chair” bug
My camera kept thinking that my empty chair is a person, so when I got up to take breaks, it would keep a skeletal frame on my chair. I fixed it by implementing a visibility heuristic filter. I essentially told my webcam that unless it is 60% that it detects a human nose, it shouldn’t recognize the object infront of it as human. - Headless
Originally, to test-run the project, I had 2 windows up: my actual project and my webcam with a skeletal structure pasted over me. I just stripped out the GUI code from my vision_sensor webcam code so that it would stop appearing. - Notifications
I had to install a native Rust plugin to bypass the browser security so that my code could communicate directly with Windows OS. When my JS gave me an import error (since I’m using Vanilla JS without a bundler), I just edited tauri.conf.json to recognize Tauri’s tools globally. Native desktop achieved!
- I created my assets!
Using LibreSprite, I drew my Sprout (cat themed plant pot) and background, and enabled some simple asynchronous JS loops to animate them!
- Goals for tomorrow:
I need to remove the ugly text and glassmorphic box I implemented earlier for testing, and create my own text-based assets.
(P.S. I dropped my finished assets below for anyone interested. They're really low quality since they're meant for a small window)
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.