Press escape to exit fullscreen

{{sketch.instructions}}

CC {{sketch.licenseObject.short}}

Archived Sketch

This sketch is created with an older version of Processing,
and doesn't work on browsers anymore.

View Source Code

Capture Screenshot

MY_SOLAR_SYSTEM

{{$t('general.by')}}
- Left click to make planets, the mass and size are random. - Created planets orbit counter clockwise around the sun in slightly elliptical orbits, and are affected by the gravitational pull of the sun. - Gravity can be turned off with the "GRAVITY ON" button on the right. - The whole simulation can be stopped by pressing the "GO" button. - The color can be random, or can be set by pressing the button that says random color, and choosing your color using the color knob at the top. Libraries used: http://www.lagers.org.uk/g4p/index.html http://toxiclibs.org/ http://murderandc
We recovered an unsaved version of this sketch. Please review your changes below.

As a Plus+ Member feature, this source code is hidden by the owner.

  • {{co.title}}
    {{$t('sketch.mode-pjs')}} {{$t('general.learnMore')}}
    Select mode or a template
    {{liveCodeLink}}
    • {{l.url.substr(l.url.lastIndexOf('/') + 1)}}
    {{$t('sketch.layoutDescription')}}

    {{k.category}}
    {{k.label}}
    {{k.description}}

    {{$t('sketch.seeMoreShortcuts')}}

    Versions are only kept for 7 days.
    Join Plus+ to keep versions indefinitely!

    {{$t('general.joinPlus')}}


    {{$t('sketch.versionsSummarized')}}