Rainy Window for Lively Wallpaper
Rainy window wallpaper using experimental WebGL rain drop effects by Lucas Bebber.
-
Install Node.js and Yarn
- Download and install Node.js from nodejs.org.
- Install Yarn globally using npm:
npm install -g yarn
-
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
-
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 thebuild/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 ingulpfile.js
to disable the minification step in the build process if you wish to try debugging this, since thelivelyPropertyListener()
function is renamed during minification and therefore will not work regardless.
- To build the main JS file, run the
-
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.
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