I’ve been wanting to make some little something with CreateJS for a while now, but I was always studying things that related to my day-job. Now that the contract is over and I’m looking for a new position, I had a little time to try a little coding exercise. I created a sub-class for the framework’s Shape() class, and I’ve played around with the animation a bit. The results are actually very promising. Have a look at the source code for some details on how it works.
At the time of this writing, there’s a bunch of floating code in the header of my website. It’s brand new and kind of light, meaning that I tossed it together during the weekend. But it’s still a nifty animation.
A while back I built a silly little performance-testing animation that I called “Bouncer”. It’s nice, but I noticed recently that it was missing a vital component: an indication of the frame rate. I added one this morning, and I thought I would share the code with you.
Galleries are a nice feature for Wordpress, but there are a few things that bug developers. Primarily it’s the inline styles that are generated by default, but some of us don’t like the way it’s rendered in general. Here are some simple tricks I learned while working on a friend’s site.
I’m obviously a big fan of Twitter’s Bootstrap. At the time of this writing, this site is built upon it with very little adjustment. I’ve built up a workflow, found ways to adjust the files so they’ll work with Wordpress, and all was pretty much right with the world… until I tried to collaborate with a friend who has Windows.
Not sure how this will work out, but I’m adding it from my iPhone. One thing I can tell you, though. The WordPress app for iPhone is making me type this on the vertical keyboard. That’s a pain in the neck that I would expect from Facebook, not Automattic. Hope they fix that, but at […]
I went a little crazy with this one. I know it doesn’t look like much, but there’s a lot going on inside that canvas thingy. If you click on the button or on the canvas, a bunch of black circles will bounce around with their own vectors, speeds, elasticity, and with a shared bit of gravity.
Lately I’ve been working on a new site where I’ll be posting code snippets as a regular thing. I wanted to put just anything into a code block without getting any static from Wordpress. I found two pretty good options, both from a handy site I like to visit.
Recently Google Chrome surpassed Internet Explorer as the most used browser for an entire week. It’s sparked a bit of debate over the accuracy of the numbers, but it’s still a significant event. It’s an indication of an eventual truth that everyone knows about, even if some don’t want to admit it. Internet Explorer is […]
Here’s a swanky little bit of animation from the HTML5 Canvas. If you don’t see it, then your browser doesn’t support canvas, which means that you’re using an old version of Internet Explorer. (You should stop doing that.) The goal was to see what I could draw programmatically with the canvas API.
Lots of folks get steamed over Wordpress captions, because they’re designed to be ten pixels wider than the photo they’re placed under. There’s actually a good reason for the extra space, but for some designs it can be a problem. I’ll explain how I got rid of it, but first I’d like to tell you why things are that way in the first place.
Lately I’ve been kicking around the idea of developing my own WordPress plugins, and posting the useful ones to the internet. I had intended to browse through the codex to figure out the details on how to make them and add the admin pages, but I never seemed to get around to it. Then my […]
I finally got a chance to see the real differences between canvas and Flash. I built a neat little solar system animation with the canvas, which you can see here. It’s similar in many ways to something I did in Flash a couple of years ago, so I had some basis for comparing the two. […]
First of all, here’s the PHP code: There. Hopefully that showed up in the Google excerpt. (I hate when the useful stuff is buried deep down on the page.) What you’re looking at is a handy solution to a particular kind of problem. As I’ve written before, shortcodes can be a mixed blessing. On the […]