blprnt/Kepler-Visualization — pull request #1 by jsundram (2012-03-29 02:31:41+00:00)
Title: Temperature Encoding bug and some other fixes.

Hi Jer,

I made a few changes, listed below. There is only one serious one, but I think it is pretty serious. The temperature encoding code was broken as you had it -- min and max temperature weren't properly calculated before assigning colors to planets based on their temperatures. The colors now look fairly different, but are assigned consistently.

I also tried to get the sketch to run in processing.js. I was able to do so, but the frame rate was pretty poor. Not your fault :). I can check in the code that I used to run it in the browser, if you're interested.

1) Fix temperature encoding bug
2) Fix text to work in processing.js
3) Removed unused variables
4) Removed mention of toxiclibs, which is unused
5) Fix smooth() call
6) Fix bug reading the csv header in as an exoplanet
7) Some fiddly spelling/spacing corrections

cheers,

Jason