in-love.js
is a versatile JavaScript library designed to add romantic visual effects to your web pages. With features like falling sakura petals, pulsing hearts, fading messages, and falling hearts, you can effortlessly create a charming and enchanting atmosphere.
- Heart Bloom Animation: Draws a blooming heart shape using a canvas.
- Sakura Falling Petals: Adds a beautiful sakura (cherry blossom) petal falling effect.
- Fade Message: Displays messages that fade in and out.
- Pulsing Heart: Creates a heart that pulses with a gentle glow.
- Falling Hearts: Animates falling heart shapes across the screen.
- Glitter Cursor: Adds a sparkling effect to the cursor when enabled.
- Resizable Window Support: Adjusts animations based on window size changes.
- Customizable Colors: Easily change the colors of animations through script attributes.
You can include in-love.js
in your project by downloading the library or using npm.
Run the following command in your terminal:
npm i in-love.js
Read the documentation here.
This project is licensed under the MIT License - see the LICENSE file for details.