Skip to main content

Sidereel

A planar N-body sandbox. Build a system, watch gravity work, keep the picture.

Sun, Earth, and Jupiter through one year

One year of the Sun, Earth, and Jupiter, rendered by sidereel-cli.

Features

  • Unsoftened Newtonian gravity in the plane. Masses pull on each other. Test particles only fall.
  • A fixed-step Yoshida integrator. A close encounter halts the run and keeps the last good state.
  • A PyQt6 window filled by the sky. Menu, or M, lays a sidebar over the scene. The view stays put.
  • Four starting experiments: the Solar System, a star at twice the Sun's mass, Earth and the Moon, 32 asteroids in a ring at 3.2 AU.
  • A CLI that integrates the system and writes a PNG. No display required.
  • Starting setups saved as JSON. Calculate a recording, then play the samples.
  • An isolated planet holds its period to a relative 1e-7. At 1 AU, solar gravity sits about 30 ppm above JPL's GM, inside a 1e-4 bound.

Prerequisites and installation

Python 3.10 or newer.

pipx install sidereel

sidereel opens the desktop. sidereel-cli renders.

The project is not on PyPI yet. Until the first release, install from git:

pipx install git+https://github.com/AllHailSeizure/sidereel

From a checkout:

pip install -e .

On Debian and Ubuntu the desktop also needs libegl1 and libopengl0.

Usage

Open the GUI:

sidereel

You get the experiment list. sidereel-cli with no arguments opens the same window.

Render the year in the picture:

sidereel-cli --star sun --planet earth --planet jupiter --years 1 --output output/sidereel.png

Starting positions only. The default is the Sun, Earth, and Jupiter:

sidereel-cli --output output/start.png

Inner planets, half a year:

sidereel-cli --star sun --planet mercury --planet venus --planet earth --years 0.5 --output output/inner.png

--star is proxima, sun, sirius, or rigel. Repeat --planet for each body: mercury, venus, earth, mars, jupiter, saturn, uranus, neptune, pluto, ceres.

--years works only with --output. So do --sample-stride and --max-recording-mib. Name bodies without --output and the Matplotlib window opens instead.

In a checkout, python -m simulations.star_system is the same program. sidereel-cli --help lists every flag.

License

MIT. Copyright 2026 Nate Bosma. See LICENSE.

Metadata

Release files for sidereel 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sidereel 0.1.0
File Size Uploaded Provenance Actions
sidereel-0.1.0.tar.gz 132.7 kB With provenance Details for sidereel-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sidereel 0.1.0
File Interpreter ABI Platform Actions
sidereel-0.1.0-py3-none-any.whl Python 3 none any Details for sidereel-0.1.0-py3-none-any.whl

Total release size: 228.7 kB

Release files / sidereel-0.1.0.tar.gz

Download URL sidereel-0.1.0.tar.gz
Size 132.7 kB
Tags Source
SHA-256 checksum
How to use checksums
08724d5b0e58c961bebf9f05931cb9956d19def6ba8e526a968cf66eba78b26d
BLAKE2b-256 checksum
How to use checksums
08b1164da668f88fa710fe18ca9a422a3d39fd920ad4deb467c763d3b042a2e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Release files / sidereel-0.1.0-py3-none-any.whl

Download URL sidereel-0.1.0-py3-none-any.whl
Size 96.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2561b655094276373b2de7d28b8e31b040fcf96da8992c8f634a13994cb75d7c
BLAKE2b-256 checksum
How to use checksums
cb6e7dd7e3f53afb71f0c76339b74952dd6d17eecd5d78deb99594fef24cc8f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Security for sidereel 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for sidereel-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page