Shadow: new toy

I was playing around in Javascript and wound up making a toy called Shadow. It’s written in pure JS with HTML5 canvas, no need for jQuery.

I’m wary of jQuery. For all that my Vim config is loaded with plugins, I don’t like creating unnecessary dependencies in a project. A lot of webdev questions on StackOverflow seem to assume it’s necessary or the fundamental programming language, particularly this example on how to redirect a page.

When I posted this to Facebook, I wound up using their developer interface to set custom attributes that would be displayed in the post. It winds up in OpenGraph og: properties in the header. The interface is pretty neat.

Here’s the screenshot used in the Facebook link. Screenshot

Also, Anthony over at warywolf took the code and made it his own with a Windows 95-style animation.