in-love.js
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.
Features
-
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.
Installation
You can include
in-love.js in your project by downloading the library or using npm.
Run the following command in your terminal:
``
bash
npm i in-love.js
``
License
This project is licensed under the
MIT License - see the
LICENSE file for details.