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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file trisolaris-0.1.2.tar.gz.
File metadata
- Download URL: trisolaris-0.1.2.tar.gz
- Upload date:
- Size: 45.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa79a0849177f24206ba0de75404687e0dc824c7939d345cecfb2abe88fc456a
|
|
| MD5 |
8ba6bbfbe84bff1e86e62372fc4f76b2
|
|
| BLAKE2b-256 |
71819e01bde98ef39fc8f1d8f88c25bc555014dbac48dcea1492808d27fb66ee
|
File details
Details for the file trisolaris-0.1.2-py3-none-any.whl.
File metadata
- Download URL: trisolaris-0.1.2-py3-none-any.whl
- Upload date:
- Size: 33.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f044e47d841f0cfa7efc274b18b5a94c726415175af1d49f0092893086f8b76
|
|
| MD5 |
d93168c24919e8c2872714caca73efe8
|
|
| BLAKE2b-256 |
165666675608c173a91c58ffe8505ace24bc4e1c64934d487fe8c5246e13472e
|