A canvas-powered love letter: a heart drawn from particles, "LOVE" raining in Matrix style, and your name in lights.
Word Love Code is a single-page, animated love letter built on HTML5 <canvas>. Open it and the screen fills with pink "LOVE" characters raining down like the Matrix, with tiny hearts scattered through the streams. Behind it, a particle engine assembles a glowing heart β and your name fades in at the centre.
No frameworks, no build step β just open index.html.
| Layer | File | What it does |
|---|---|---|
| π Particle heart | js/index.js |
A particle engine (Shape Shifter) morphs thousands of dots into a heart shape. |
| π§οΈ Matrix love rain | js/matrix.js |
Vertical streams of LOVE / I LOVE U β€ characters fall down the canvas. |
| βοΈ Name box | index.html |
Your name fades in over the animation (.namebox). |
git clone https://github.com/FIQTOR/Word-Love-Code.git
cd Word-Love-Code
# serve it (recommended β canvas scripts load from js/)
npx serve .
# or: python3 -m http.server 8000Then open http://localhost:8000.
| What | Where |
|---|---|
| The name shown | index.html β .namebox |
| The rain characters | js/matrix.js β var letters = '...' |
| Heart color / size | js/index.js (particle config) |
This project is built on top of open-source work β huge thanks to the original authors:
- Awesome-Love-Code by @sun0225SUN β MIT licensed. This repo is derived from it.
- Shape Shifter by Kenneth Cachia β the particle engine behind the heart (
js/index.js).
If this little page helped you say something you couldn't put into words, you can buy me a coffee π
Released under the MIT License, preserving the original upstream MIT license from Awesome-Love-Code.
Made with β€οΈ by FIQTOR
