You are browsing as a guest. Sign up (or log in) to start making projects!

Trisolaris

  • 8 Devlogs
  • 13 Total hours

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. Enjoy :D

Ship #1

I finished Trisolaris! After fighting with camera zooming and clamping, I finally have a visually smooth and cohesive real-time TUI sim of three bodies, in three glorious, distance-scaled colours, in braille. After confirming renders, saving, and infinite-brute-force methods work, I updated README with screenshots and uploaded to PyPi. Hope you like it; it’s available with pip install trisolaris (or other package managers, e.g. uv tool install trisolaris).

  • 8 devlogs
  • 13h
  • 15.92x multiplier
  • 212 Stardust
Try project → See source code →
Open comments for this post

57m 37s logged

Added colour averaging (direct average without squares or roots; seems to look more convincing!), presets (figure 8 and ephemeral twirls for now), along with other minor changes. Screenshot shows colour averaging; green and blue overlap become a more greyish colour.

0
0
7
Open comments for this post

45m 13s logged

Added artificial damping (unrealistic but more pretty for live rendering) for TUI live mode, along with other QoL improvements and optimisations

0
0
7
Open comments for this post

1h 10m 52s logged

Updated visuals, and optimised variuos aspects (e.g. trail logic, anti-singularity, etc.) while adding more cli flags for customisation (e.g. trail length). Experimented and found a few presets for cool behaviour (more intertwined path, not instantly ejecting out into infinity). Planning to add a systematic –preset flag soon!

0
0
6
Open comments for this post

36m 34s logged

Infinite TUI mode! Implemented a continuous, live simulation, not unlike a terminal-based screensaver. (Forgot to update devlogs; this took much longer than 36 minutes)

0
0
6
Open comments for this post

4h 40m 54s logged

Added infinite automatic config finder with judging mechanism, to brute-force try configurations and categorise them into interesting (e.g. butterly, figure-8), uninteresting (straying off into infinity), or unsure (complex patterns for human review)

0
0
5

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…