A glowing animated heart that comes to life in the browser, with flowing particles and a pulsing effect for a vibrant and dynamic visual.
- Glowing animated heart shape
- Flowing particle effect forming the heart
- Pulsing beat animation for extra life
- Runs directly in any modern browser
The animation is drawn on an HTML5 <canvas> using JavaScript.
A dynamic particle system moves smoothly toward points that outline a heart shape, creating a glowing, flowing visual. CSS adds a pulsing effect to enhance the feeling of a beating heart.
You can easily tweak the animation by editing heart.js and heart.css:
- Change colors (HLS values) for a different vibe
- Adjust particle size or spread
- Modify the pulsing effect timing
After deployment, just access the Public endpoint provided by StateMesh:
- Public endpoint in console:
- Public endpoint in terminal:
- Clone the repository
git clone https://github.com/luca-petre/heart-animaiton.git
- Open
index.html.

