mubaidr / rainyday.js

Simulating raindrops falling on a window
https://mubaidr.github.io/rainyday.js/
GNU General Public License v2.0
114 stars 44 forks source link
javascript

RainyDay.js

npm version

A simple script for simulating raindrops falling on a glass surface.

Project Page

How to use

Just add script to page and initilize RainyDay.js

new RainyDay({
  image: img // [Required][Image Id or Image element itself, Id of Element having background Image or Element itself]
})

Documentation