Scratch card

#p5js · #html · #javascript · #css · #canvas

Development of an interactive scratch card experience built with HTML5 Canvas and vanilla JavaScript, designed as a lightweight, engaging landing page.

The user interacts with a scratch-to-reveal mechanic that triggers a win or loss state. In the case of a winning outcome, the experience unlocks a reward: the ability to play a short music snippet directly within the page.

The project focuses on performance, smooth canvas interactions, and an engaging micro-interaction design without the use of external frameworks.