Bouncing Balls in the HTML5 Canvas

Semi-transparent balls bouncing within a dark gray container. Here’s a fun demo I put together using the HTML5 canvas, aided by the excellent sketch.js framework. I’m creating a whole bunch of semi-transparent balls and bouncing them around on the screen. The demo definitely requires a modern browser (Chrome/Firefox/IE9+). […] Read Article

A JavaScript Currency Conversion Script

It turns out that converting random numbers into formatted currency (with dollar signs, commas, and periods) is more difficult in JavaScript than I would have expected. There’s no built-in function for it, and it’s something I run into a lot. The function I wrote has worked well for me on a couple of projects now, so I thought I’d share it with you-all. […] Read Article