Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

An orrery in PyGame in a retro-style and an HD version, based on Pico Solar System

License

NotificationsYou must be signed in to change notification settings

mdoege/Orrery

Repository files navigation

In orrery.py and orrery_hd.py, orbits are approximated as concentric circles around the Sun.

The actual elliptical orbits are shown in orrery_real_orbits.py, which is particularly noticeable for the Mercury and Mars orbits. The planets leave trails in this program to show their orbits.

The Sun and planet images are not drawn to scale.

Usage

Pressleft and right cursor keys to advance by a single day,up and down cursor keys to advance by 30 days, orpage up and down to advance by 365 days.

PressReturn to jump back to today's date; pressA to toggle animation. In the HD version,F toggles fast animation speed.

In the HD version, pressingD toggles true distance mode where the orbits are drawn at their true average solar distances. Use+ and - to zoom in and out. Angles between planets are closer to reality in this view, especially if the outer planets are involved.

Screenshots

Classic mode:

classic mode

HD mode:

HD mode

HD mode with true distance scaling enabled:

true distance mode

Real orbits:

real orbits

License

GPL

About

An orrery in PyGame in a retro-style and an HD version, based on Pico Solar System

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp