I don’t know about you, but December’s been pretty crazy for me. Between trying to maintain a healthy work-life balance (yeah, right) and trying to learn new things, I was shocked to realize Christmas is next week.

Egad.

Nevertheless, I’ve a little treat for you: Do-it-yourself polka dotted Christmas wrap and digital wallpaper, made with Processing. A sample’s below.

Take your pick of default sizes: 960 x 600 pixels or 1280 x 800 pixels.
Christmas polka dots
I learned a few things while making this project:

  • What they say about coding is true: You’re more apt to learn something if you’ve got a project in mind.
  • The initial bits of Processing are pretty easy to understand. But then there’s trying to grok random (not so bad) and shuffle (oy).
  • Coffee is good. Sleep is better.

To try Processing for yourself, copy my code from Github and paste it into the Processing.js Web IDE, or download Processing and tweak it locally.

Creative Commons LicenseThe code is released under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.