Category Archives: javascript

Visualizing a fiery wheel.

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

They are having a “contest”: 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):

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

Here is the script.

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.




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: