Entries Tagged 'javascript' ↓

HTML5 Musical Balls

musical-balls

Wow its been over a year since I last blogged. Anyways, here is something fun I put together today. Its a bouncing balls collision animation. When the balls collide they play a familiar tune. Make sure you try it on your iPad or iPhone as the sounds work via the web audio api (on iOS6+) and tilting the screen will change the direction the balls are traveling.

Demo here.

Source code here.


Dark Intellij 11 color scheme for actionscript

I recently upgraded Intellij from version 10 to 11. Jetbrains have upgraded he syntax colouring for actionscript and javascript in this version so it is now separated ( in version 10 it was combined). This is great except they never wrote an import script for bringing your actionscript colours from version 10 over to 11, if you try it you are are going end up with a hot mess. I’ve manually recreated what I had previously by hand. If you like dark scheme’s then download this one, you know what they say: once you go black you never go back.

as3dark.jar


BC tax calculator


Year Month Week Hour
Taxable income

This is a simple tax calculator that I whipped together for calculating your income after tax in BC, Canada. It should be useful for anyone that works on a contract or hourly rate. Please note this does not include CCP or employer insurance. Show me the money!