No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
cloud1.gif
girl_character.gif
index.html
mountain-04.jpg
pixi.js
screenshot.png
script.js
serve_dir_as_http.py.sh.bat
serve_dir_as_http.rb.sh.bat
style.css
sun1.gif

README.md

beautiful_world

Overview

This is my first parallax animation experiment with Pixi.js. Everything, you need to run it is contained in this repo.

alt text

Reference:

  • blog Hosted demo available at my blog.

Running The Code Locally

The only requirement is that you not run it from your local filesystem, 
otherwise you'll have to configure your browser to allow the cross-domain 
security exception that happens with locally sourced xhrs.  To account for this, 
you need to host the code on a webserver.  For convenience, I've included a 
couple of scripts that will start up a local webserver on port 5000 (for Ruby or Python).  
In anycase, this code relies only on JavaScript, HTML, and CSS.  Its all front end anyway.

Hosting Support Scripts

Ruby: serve_dir_as_http.rb.sh.bat
Python: serve_dir_as_http.py.sh.bat

(note: you can use your webserver of choice)