Author Archives: Stephen

Making a histogram with canvas

A histogram is a very common tool used for editing photos, in photoshop and lightroom it gives users a quick view of how their photo’s values are distributed (some digital cameras also display a histogram). The image histogram actually just displays a graph of how many pixels with each value appear, usually split into all [...]

Less bullshit, more hacking

One time at a boat show I met sailboat designer Tom Wylie, famous for the Wyliecat, an unusual boat design. I asked him what the theory behind the design was. Was it faster? More efficient? He answered: “less bullshit. more sailing”. Which is to say that it may not be the fastest or best (or [...]

Flash? We don’t need no flash! I don’t have to show you any stinkin’ flash!

This week I overdid an on-site marketing banner. Rather than a bunch of images, or god-forbid a flash animation, I through this together with CSS and teeny tiny bit of javascript. The clouds and buttons are pure html/css, as is the animation. Animation is only visible in Chrome/Safari/FF4, but everything degrades in a nice way [...]

From the archives

This is the earliest JS written by me I could find on the internet archive (from my student web site at usc, circa 1998):

10k?

So these guys have a contest something like the classic 5k contest. Except the rules are stupid lenient (library and FONTS don’t count). The whole fun of the 5k contest is that the limitations are so strict it causes some real creativity. Worst still, the first entry, by this guy, is 141.04kb with 12 requests [...]