Experiments
-
Canvas Balls
Canvas Balls was an experiment of mouse movement, tracking and the new audio tag. It was originally intended as a hidden Easter egg so if you have found it already well done. If not click on the 'P' logo located on the top left of the page to activate the balls. Moving your mouse close to a ball will attract it towards you and clicking anywhere will toggle a small 'explosion' that blasts away balls in close proximity. To mute the music use the button that appears on the bottom right of the page.
-
Paper JS Paths
Paper.js is a brilliant vector graphics scripting framework that makes working with vector graphics a breeze. This experiment explores the creation of smooth rounded paths that are followed by "balls" created on the fly. The user has control over what to draw and how many balls to spawn.
-
Mission to Mars Canvas Game
Mission to Mars is my first attempt at creating a game using the Canvas element and JavaScript. The aim is to fly cargo back to earth whilst destroying aliens and avoiding asteroids. You begin with five lives and each alien you destroy gives you ten points. Watch out though, if they avoid your lasers you'll lose ten points.