@lionel on Draw a Perfect Star
I built a minigame web app where your goal is to draw a perfect star! It's inspired by Neal.fun's "Draw a Perfect Circle" challenge (which went viral on YouTube last year) and I wanted to recreate that same simple-but-addictive feeling with a slightly different twist- perfectly fitting for Stardance.
The idea is straightforward: you draw a star on screen, and the game scores how close you are to a mathematically perfect star shape. It sounds simple, but it quickly turns into one of those "just one more try" kind of challenges.
I built the site using Astro for structure and performance, and styled it with Tailwind CSS to keep the UI design process simple. The drawing system is handled with basic pointer events and canvas logic, where I track the user’s input path and compare it against an ideal star shape using a scoring algorithm- you can check out my devlog for more info!
For deployment, I used GitHub Pages, which also forced me to properly understand static builds, routing, and how Astro compiles static projects down for production. That part alone helped me get a lot more comfortable with real-world deployment workflows.
This was mostly a fan project, but it ended up being a really useful way to get back into web development after a short break. I brushed up on Git workflows, got more comfortable with CSS animations, and learned a lot about handling user input smoothly in the browser without external libraries.
Overall, it’s a small project, but it taught me a surprising amount about building something end-to-end- from idea to deployment. If you enjoyed it or want to see improvements, feel free to star the repo or check it out.
- 3 devlogs
- 2h