Skip to main content

A highly customisable 3-body problem renderer, simulator, configuration-finder, and terminal visualiser written in Python.

Project description

TriSolaris

A command-line based 3-body problem visualiser, simulator, and renderer, with live terminal-visual modes, png-render output, or infinite brute-force configuration finder functions. Highly customisable; every aspect from masses, gravity, positions and velocities, simulation time steps, etc. can be customised with extensive CLI flags. Great as a screen saver, or for accurate (rk4) renders of three bodies.

Originally built out of a love for TUI visualisers (following cellular automaton and boid terminal braille visualisers) and inspired by the book, I stumbled upon matplotlib renders and the stupidly chaotic nature of three-body configurations, and decided to build a single tool to conquer it all; renders, live visualisations, and state/configuration finders!

To install:

pip install trisolaris

To use:

trisolaris # Default, random single render
trisolaris --initial-state ... # Custom initial state, with masses, positions, velocities
trisolaris --mode infinite # Infinite, terminal-based braille visualisation, updating live.
trisolaris -h # For more options and details, check out help menu

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

trisolaris-0.1.1.tar.gz (45.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

trisolaris-0.1.1-py3-none-any.whl (33.0 kB view details)

Uploaded Python 3

File details

Details for the file trisolaris-0.1.1.tar.gz.

File metadata

  • Download URL: trisolaris-0.1.1.tar.gz
  • Upload date:
  • Size: 45.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for trisolaris-0.1.1.tar.gz
Algorithm Hash digest
SHA256 20a6c9f88c3f3f352a555f47b6c0f15fd4f541723a717edde381da4119736c35
MD5 a75d452a0a34a37834999640613a3cfd
BLAKE2b-256 e344c987f3cffdcb0f3237e84d9e879779166918beccbd297dab308e01a7113e

See more details on using hashes here.

File details

Details for the file trisolaris-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: trisolaris-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 33.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for trisolaris-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8be8cded7a6c68433f22d5524650363e94731bc95c1bd32b2dc016440199d2a7
MD5 814a30e646930d1e8ce810608cf00c89
BLAKE2b-256 22cf307193acb6cb8c56d42f858490e1a20372925879c4a94b169451f5a3256c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page