Solar System Simulator Using Processing




Introduction: Solar System Simulator Using Processing

In this post, we'll build a simple Solar System Simulator using Processing. The software, at the end of the build, will look and feel like in the attached video.

Step 1: Download and Install Processing

If you haven't done so already, go to and download the Processing software for your OS from Download \ Processing is a very fine language for easy graphics prototyping and testing. You can find tutorials about Processing in their website. For this run, you won't be needing much knowledge of Processing. Just download and install Processing as detailed there. There is also a slightly more detailed tutorial of this project over in my website.

Step 2: Control

You can control the program using the keyboard. The keys for all the various rotating, zooming and translating action in space and time are shown in the video. Deep.

Thanks for reading. And Don't Forget To Be Awesome.

Step 3:

Step 4:

Be the First to Share


    • Puzzles Speed Challenge

      Puzzles Speed Challenge
    • "Can't Touch This" Family Contest

      "Can't Touch This" Family Contest
    • CNC Contest 2020

      CNC Contest 2020

    3 Discussions

    Stubb Kokovoko
    Stubb Kokovoko

    4 years ago

    Hi, Stauhidi.

    This piece is marvelous! I downloaded the code from the "gisthub" link, but it doesn't work completely. Numbers, "o", "p" and darts on the keyboard are not working, wich makes this work awesome.

    I would appreciate your help.


    5 years ago on Introduction

    The code in this instructable is incomplete. Please download the complete code at


    5 years ago on Introduction

    Hi, stauhidi:

    Thanks for posting this!

    I'm running into a compile error when I try to run the code that you posted. (I'm new to Processing myself -- this could be due to a mistake that I'm making.) In the "plotOrbit" portion (line 103), the compiler seems to disagree with the "for" loop:

    float prevy = -1;

    for(float theta=0.0;theta0.05) scale-=0.025;


    Is there a way to correct this?

    Thanks for your help, and for posting a fascinating Instructable!