Category Archives: javascript

Visualizing a fiery wheel.

I _love_ the designers (and programmers) over at “IconBuffet”:http://iconbuffet.com/. They recently released a dashboard widget, “ColorBurn”:http://www.firewheeldesign.com/widgets/, that has a new color palette each day.

They are having a “contest”:http://firewheeldesign.com/sparkplug/2006/February/a_colorburn_contest.php for a few more days to have the community give them some new and fresh color schemes

They way it works is this:

* come up with a color scheme of 4 colors
* take a picture of that scheme as boxes next to each other
* make a comment on the thread listing your colors, plus a link to your image
* profit.

I’m not going to come up with the next great color set, but I can make their dull view of a cool contest a bit cooler (with a little help from my friend greasemonkey):
!http://metaatem.net/images/firewheel_before.png!
!http://metaatem.net/images/firewheel_after.png!

Don’t like the black background? Click the link at the bottom to make the bg change to white.

Here is the script.
“http://metaatem.net/scripts/colorshowerforfirewheelt.user.js”:http://metaatem.net/scripts/colorshowerforfirewheelt.user.js

Google Maps Redux

Welp, google has relased their Google Maps API. It’s VERY nice. The code to draw my runs has gone from about 230 lines, down to about 100. But logically, it’s MUCH better.

the only problem I’m hitting is this – before I was generating the polyline myself, so google just had to draw it. Now, however, there is a GPolyline object that draws lines for you – much easier to code for, MUCH slower.

I’m sure this is a solution, and I’ll post it here when I find it.

Source:

http://metaatem.net/my_runs.phps

Data:

http://metaatem.net/data_run.xml

–UPDATE–

Turns out I was mostly being dumb. If I had red the example source more closely, I would have seen you can put the points in an array and throw that to GPolyline… duh!
Cleaner, and faster, what more can you ask for?

Javascript test

Refresh for new letters: