Sweet Bunny
A bunny who's really into sweets. Help him get the sweets!
http://mandychen.me/sweetbunny/
Source Code
JavaScript Source Code
I rewrote my old code (in Processing) to a new JavaScript file, sweetbunny.js so that I can embed it on my website. I also cleaned up repetitive and redundant code during the process.
Processing Source
The Processing source code file, sweetbunny.pde was written in 2015. You can run it on the Processing Development Environment (PDE). Get PDE either on Processing's website, or use a package manager like homebrew and run
$ brew cask install processing
After installing, open PDE, clone this repo and open sweetbunny.pde
from PDE, and click the run button on the top left corner.
Develop Locally
Use php
built-in web server.
Navigate to ./docs
directory and run
$ php -S localhost:8000
to start server locally at http://localhost:8000
.
About the Processing Programming Language
The Processing language builds on the Java language[1]. The syntax is Java-like. Go to their website or GitHub repo if you are interested.
[1] https://en.wikipedia.org/wiki/Processing_(programming_language)