Data in an Alien Context: Kepler Visualization Source Code

Last year, I released a video visualization of the 1236 exoplanets identified by the NASA’s Kepler mission. Since then, there have been another 1091 candidates identified, and I thought it’d be a good time to update my visualization – and release the source code.

So, here it it:

I’ve tried to comment the code as well as possible – and the sketch overall is fairly simple. You will, of course, need Processing to get it running, as well as Karsten Schmidt’s esssential toxiclibs.

5 thoughts on “Data in an Alien Context: Kepler Visualization Source Code”

  1. Hi there! I was introduced to your site by watching the TED video and am totally noob to programming! This project looks interesting and I tried to run it by myself after installing Processing. However, I have no idea how to import/copy the code in to the Text area, and still have no clue after searching tutorials… Would you tell me how to run the data you shared? Thanks a lot!

    1. Hi Nina,

      All you need to do it:

      1) Download the .zip file from the GitHub page.
      2) Unzip it, then double-click the Kepler2012.pde file.
      3) This should open the sketch in Processing. You can then press the Run button (looks like a play button) to see the sketch in action.

      Hope that helps!


  2. just as a note to Processing 2.0 users. On line 55 in Kepler2012 there are some changes that were made to function names to create clarity. If you try to run this code you get an error in p2.0.

    size(screenWidth, screenWidth, OPENGL);
    should change to:
    size(displayWidth, displayHeight, OPENGL);

Leave a Reply

Your email address will not be published. Required fields are marked *