Nov 13

JavaScript Snowflake

It’s getting to be that time of the year again. Soon I’ll have to break out the shovel, but before then, I thought I’d put together a short tutorial on how to draw a snowflake using JavaScript and the HTML canvas element.

Here’s what the final product will look like:


Continue reading →

May 12

Counting Down

I generally learn more by doing something rather than just reading about it, or watching someone else do something. I’ve been working through each of the exercises in the Ruby on Rails tutorial with the hope that some of this knowledge will sink in. I’ve now reached the exercises for the penultimate 🙂 chapter of the tutorial, and the last exercise for this chapter is prefaced with the warning: challenging:

Add a JavaScript display to the Home page to count down from 140 characters.

Continue reading →