Archive for the programming Category

[tinkering] is it Fall yet?

The calendar says no, but the temperature and my canvas tag say yes! Here is a toast to my favorite season of the year. Dark beer, hoodies, crisp air, and colorful trees!


mouse over to draw tree. mouse’s x controls angle, mouse’s y controls recursion

This is actually just a simple drawing exercise using fractals (simpler than you might think!). It’s a canvas tag, with a little bit of JS to handle the drawing.

Let’s take a look at the code:

Continue reading [tinkering] is it Fall yet?

F**king SVN. How does it work?! An SVN primer for the designer folks

SVN. It’s not scary, really. Ok, maybe a little. I know, you are a designer. Color and form are way more your thing. You might even hate code. Alas, your job now requires you to use SVN…. What is it? Why should I use it? HOW DOES IT WORK?! It’s…. it’s… overwhelming!

Never fear, with a basic understanding SVN, you can be up and running with it in no time. After reading this, you can wield even the crappiest of free SVN applications and start enjoying the benefits of version control!

Continue reading F**king SVN. How does it work?! An SVN primer for the designer folks

SVG animation made (pretty) easy with Raphael

Making some circles move with Raphael.js – which generates SVG DOM elements:

(click the background to start/stop the animation)

Raphael is not new. It’s been around for a while, but I first started with it a few months back for some work stuff. I though I might share.

Continue reading SVG animation made (pretty) easy with Raphael

Processing.js – Processing to the Canvas

As I may have mentioned, I have been playing around with my Arduino microcontroller, these days, which has exposed me to this fun Java framework called Processing. It’s got a simple syntax that is great for teaching people the basics of programming, yet it’s powerful enough to build some really cool stuff.

Continue reading Processing.js – Processing to the Canvas

Uniquely Compile AS2 with JSFL – Avoiding Class/Namespace Collision between swfs

AS2 does not have the concept of an application domain. So if you are loading multiple child SWFs into your AS2 project, any classes that the SWFs share will be cached at their first use. The cached definitions will stand in for any following references to the class. Not always good, and depending on your project, it can cause some pretty serious issues and headaches. Need a way around this AS2 class collision issue? Me too, so I made one.

Continue reading Uniquely Compile AS2 with JSFL – Avoiding Class/Namespace Collision between swfs