Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 1.49 KB

readme.md

File metadata and controls

34 lines (22 loc) · 1.49 KB

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.

Logo

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:

npm i in-love.js

Documentation

Read the documentation here.

License

This project is licensed under the MIT License - see the LICENSE file for details.