Skip to content

PkChris/Rainy-Window-for-Lively-Wallpaper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rainy Window for Lively Wallpaper

Rainy window wallpaper using experimental WebGL rain drop effects by Lucas Bebber.

Article on Codrops

Demo

Setup

  1. Install Node.js and Yarn

    • Download and install Node.js from nodejs.org.
    • Install Yarn globally using npm: npm install -g yarn
  2. Install dependencies

    • Open a terminal and navigate to the root directory of your project.
    • Use Yarn to install the dependencies listed in package.json: yarn install
  3. Run Gulp to compile JS

    • To build the main JS file, run the gulp command from the root directory of your project.
    • This will concatenate and minify the JavaScript files from the src directory and output the result to the build/js directory.
    • It also zips the contents of the build directory into build.zip for the purpose of importing into Lively Wallpaper. Unfortunately none of the Lively Wallpaper controls are currently working due to livelyPropertyListener() just outright not working. Comment out line 19 in gulpfile.js to disable the minification step in the build process if you wish to try debugging this, since the livelyPropertyListener() function is renamed during minification and therefore will not work regardless.
  4. To preview, view index.html on a local server

    • Set up a localhost server in the build directory and run index.html.
    • Opening index.html by itself won't work.

License

Integrate or build upon it for free in your personal or commercial projects. Don't republish, redistribute or sell "as-is".

Read more here: License

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 88.7%
  • GLSL 10.0%
  • HTML 1.3%