Skip to content
Merged

Work #157

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
136 commits
Select commit Hold shift + click to select a range
5aa5b44
zodiac closer to earth
pholmq Jan 27, 2026
64b316c
Sidereal & Tropical Zodiac
pholmq Jan 27, 2026
2584330
Moved Sidereal Zodiac back to its former position
pholmq Jan 28, 2026
3bb8ab0
added stars
pholmq Jan 29, 2026
74e4d31
eph work
pholmq Jan 29, 2026
eb69950
eph work
pholmq Jan 29, 2026
cc1ea11
eph work
pholmq Jan 29, 2026
3158031
eph button disabled when calculating
pholmq Jan 29, 2026
8219602
plot work started
pholmq Jan 29, 2026
032cd30
wrong step size in Ephemerides result fixed
pholmq Jan 30, 2026
628b278
fixed menus so that they ovelap lables
pholmq Jan 30, 2026
ead6536
star search in draggable menu
pholmq Jan 30, 2026
c53481b
menu work
pholmq Jan 30, 2026
cad3d01
menu work
pholmq Jan 30, 2026
0c82b61
menu work
pholmq Jan 30, 2026
fd58404
menu work
pholmq Jan 30, 2026
c5cfbb0
star search work
pholmq Jan 30, 2026
4651acc
fixed broken css
pholmq Jan 30, 2026
80897e9
scacle fontsize fixes
pholmq Feb 2, 2026
a43587f
Font size fix
pholmq Feb 2, 2026
b1eabdd
eph work
pholmq Feb 2, 2026
8b16a96
eph work
pholmq Feb 2, 2026
37cde90
star search relocation
pholmq Feb 2, 2026
c9b4f3f
decreased celestial grid size
pholmq Feb 2, 2026
253cb26
made planets with no rotation speed rotatable
pholmq Feb 2, 2026
1b5f907
rotationStart bugfix
pholmq Feb 3, 2026
c9057ae
floating point drift fix
pholmq Feb 4, 2026
0c5de57
fixed planet camera menu
pholmq Feb 4, 2026
a2ccdd6
cleanup
pholmq Feb 4, 2026
25b95c2
intro quote fix
pholmq Feb 4, 2026
233f2cd
fixed so that orbit camera doesent
pholmq Feb 4, 2026
9cfc127
fixed buttons border:none
pholmq Feb 4, 2026
39543b2
step function
pholmq Feb 4, 2026
2f94722
settings update
pholmq Feb 5, 2026
58d976b
changed tint of Mercury
pholmq Feb 5, 2026
2f13532
planet camera work
pholmq Feb 6, 2026
6e6857b
camera restore
pholmq Feb 6, 2026
895547f
ephemerides fix
pholmq Feb 10, 2026
c241c59
ephemirdes fix 2
pholmq Feb 10, 2026
189cfcd
switched to frameloop always
pholmq Feb 10, 2026
60b6b91
added perf
pholmq Feb 10, 2026
82a994a
perfomance fixes
pholmq Feb 10, 2026
f742538
removed raycaster throttling.
pholmq Feb 10, 2026
a700872
p fix
pholmq Feb 10, 2026
f289f33
p fix
pholmq Feb 10, 2026
4c35b3d
disable raycast for stars
pholmq Feb 10, 2026
35f8f52
disabled star hover during intro to make
pholmq Feb 10, 2026
9cebe68
disable raytracing for orbits and trace
pholmq Feb 10, 2026
2b34fff
shaded stars with variable size in
pholmq Feb 10, 2026
844dea1
reduced hover obj transparency
pholmq Feb 10, 2026
d0ab6c3
planets work in search but planet camera
pholmq Feb 11, 2026
69bbdc4
optimiazation
pholmq Feb 11, 2026
c6e5f45
trace optimization
pholmq Feb 11, 2026
1e604fa
brighter stars
pholmq Feb 11, 2026
772d70e
performance fix
pholmq Feb 12, 2026
089a497
fixed focus error in
pholmq Feb 12, 2026
a0bebd7
fixes of Search.
pholmq Feb 12, 2026
00a1d59
search fixes
pholmq Feb 12, 2026
8b8cf96
added pluto
pholmq Feb 12, 2026
9b19176
prevent star/planet info when moving the camera
pholmq Feb 12, 2026
4d68dcb
refactored BSCStars for useBSCStarData
pholmq Feb 12, 2026
267a78e
moved labeled stars to settings
pholmq Feb 12, 2026
b88ae63
ui fixes
pholmq Feb 16, 2026
c4c2afc
Star lables visible fix
pholmq Feb 16, 2026
bfe7c9d
BSC labled stars fix
pholmq Feb 18, 2026
21c3b4d
UI & stars fix
pholmq Feb 18, 2026
0643997
narrower menu
pholmq Feb 18, 2026
66a466e
ui fixes
pholmq Feb 20, 2026
f701bf2
ui fix
pholmq Feb 20, 2026
07fd375
working close button on Ephemerides!
pholmq Feb 20, 2026
66a07fa
close buttons for menus
pholmq Feb 20, 2026
c652c0d
ui fixes
pholmq Feb 20, 2026
dd61d46
ui fixes
pholmq Feb 20, 2026
e510d4c
ui fixes
pholmq Feb 20, 2026
2528ec7
help text update
pholmq Feb 20, 2026
616167a
logos!
pholmq Feb 20, 2026
7fc4feb
runintro in dev settings
pholmq Feb 20, 2026
81a5b9a
help update
pholmq Feb 23, 2026
ca331e8
performance fixes
pholmq Feb 23, 2026
94334fa
optimazations
pholmq Feb 23, 2026
0e99dc6
trace line optimazation
pholmq Feb 23, 2026
5d987f0
time sliced trace
pholmq Feb 23, 2026
4863578
help menu update
pholmq Feb 23, 2026
27e65b3
trace bugfix
pholmq Feb 23, 2026
50683ea
trace bugfix
pholmq Feb 23, 2026
c607d16
restored broken star hoover
pholmq Feb 23, 2026
a7d9098
bugfix
pholmq Feb 23, 2026
f2dfb79
star zoom
pholmq Feb 23, 2026
7826bb6
label fix
pholmq Feb 24, 2026
8d26ace
stars as camera targets
pholmq Feb 24, 2026
5736492
star lables fix
pholmq Feb 24, 2026
c0404fa
fix
pholmq Feb 24, 2026
568564d
closer zoom when actual planet sizes active
pholmq Feb 24, 2026
918c3c0
camera animation fix
pholmq Feb 24, 2026
d5abdf5
working camera
pholmq Feb 24, 2026
c6cd99f
camera fix
pholmq Feb 24, 2026
5a304c6
prevent double click in planet camera
pholmq Feb 24, 2026
08fb4a2
performance fixes
pholmq Feb 24, 2026
eace53a
changed star picking from color based
pholmq Feb 25, 2026
1260b1a
fix
pholmq Feb 25, 2026
5512436
fix
pholmq Feb 25, 2026
5926de5
cleanup
pholmq Feb 26, 2026
1986c47
planet camera helper
pholmq Feb 26, 2026
c1dfb73
transition
pholmq Feb 26, 2026
03bf147
transition refactored
pholmq Feb 26, 2026
953f63c
transition fix
pholmq Feb 27, 2026
7833cb6
transition
pholmq Feb 27, 2026
02da846
transition
pholmq Feb 27, 2026
dc1242b
transition nice!
pholmq Feb 27, 2026
b0b9683
transition working except ground checkbox?
pholmq Feb 27, 2026
1a4f289
transtion and zoom fixed
pholmq Feb 27, 2026
ad19be7
good orbit man
pholmq Feb 27, 2026
40ffac8
1
pholmq Feb 28, 2026
35d7c04
x
pholmq Feb 28, 2026
f0e16ea
improvement. still flying through earth
pholmq Mar 1, 2026
0d4f797
a decent version
pholmq Mar 2, 2026
7cc8df7
improvement
pholmq Mar 2, 2026
0182d31
improvement
pholmq Mar 2, 2026
2b0cfce
better
pholmq Mar 2, 2026
463ec6f
nice
pholmq Mar 2, 2026
4169654
star scaling fixed
pholmq Mar 2, 2026
e679cab
bugfix
pholmq Mar 2, 2026
a064f7c
Merge pull request #150 from pholmq/camera-experiment
pholmq Mar 2, 2026
3a7e8fd
db clicked star becomes searched star
pholmq Mar 3, 2026
cdaf706
planet dbl click makes star selected
pholmq Mar 3, 2026
5472b6d
earth ground blue
pholmq Mar 3, 2026
ff23ee3
plent camera ground improved
pholmq Mar 4, 2026
9f3aeca
serach not filled by dbl click
pholmq Mar 4, 2026
d86fa01
highlight star fix
pholmq Mar 4, 2026
a726228
recording
pholmq Mar 5, 2026
b3a8782
NameLabelHTML replaced w NameLabelBillboard
pholmq Mar 5, 2026
47f975d
suspense fix
pholmq Mar 5, 2026
f572291
planet camera billboard lables fixed
pholmq Mar 6, 2026
238141e
fix
pholmq Mar 6, 2026
30d5db4
bugfixes for stars
pholmq Mar 10, 2026
93cb859
electron version bump
pholmq Mar 11, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
86 changes: 47 additions & 39 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
# The TYCHOSIUM 💫
# The Tychosium 💫

![Version](https://img.shields.io/badge/version-1.0.0-blue.svg)
![License](https://img.shields.io/badge/license-GPLv2-blue.svg)
![React](https://img.shields.io/badge/React-18-61DAFB.svg?logo=react&logoColor=black)
![Three.js](https://img.shields.io/badge/Three.js-r162-black.svg?logo=three.js&logoColor=white)

**The TYCHOSIUM** is an interactive 3D astronomical simulation implementing the **TYCHOS model** of our solar system. It offers a unique perspective on celestial mechanics, featuring real-time orbital calculations, a comprehensive star catalog, and immersive visualization.
**The Tychosium** is an interactive 3D astronomical simulation implementing the **TYCHOS model** of our solar system. It offers a unique perspective on celestial mechanics, featuring real-time orbital calculations, a comprehensive star catalog, and immersive visualization.

Built with modern web technologies to ensure performance and accuracy, this project aims to visualize the binary solar system concepts proposed by the Tychos model.

---

## 📑 Table of Contents

- [Features](#-features)
- [The TYCHOS Model](#-the-tychos-model)
- [Technical Stack](#-technical-stack)
Expand All @@ -27,31 +28,35 @@ Built with modern web technologies to ensure performance and accuracy, this proj
## 🌟 Features

### 🔭 Astronomical Simulation
* **TYCHOS Implementation:** Full realization of the Earth-centered binary system model.
* **Real-time Mechanics:** Accurate planetary motions with the ability to traverse time (past/future).
* **Celestial Bodies:** Includes the Sun, Moon, planets, major asteroids, and Halley's comet.
* **Star Catalog:** Integrated **Bright Star Catalog (BSC)** containing over 9,000 stars with accurate magnitude and color data.

- **TYCHOS Implementation:** Full realization of the Earth-centered binary system model.
- **Real-time Mechanics:** Accurate planetary motions with the ability to traverse time (past/future).
- **Celestial Bodies:** Includes the Sun, Moon, planets, major asteroids, and Halley's comet.
- **Star Catalog:** Integrated **Bright Star Catalog (BSC)** containing over 9,000 stars with accurate magnitude and color data.

### 🎨 3D Visualization
* **Dual Camera System:** Switch between a global "Orbit Camera" and a surface-level "Planet Camera".
* **Orbital Tracing:** Visualize complex planetary geometric paths (spirographs) over time.
* **Visual Aids:** Ecliptic grids, celestial sphere, zodiacal bands, and polar lines.
* **High-Fidelity Graphics:** Realistic textures and dynamic solar lighting using post-processing effects.

- **Dual Camera System:** Switch between a global "Orbit Camera" and a surface-level "Planet Camera".
- **Orbital Tracing:** Visualize complex planetary geometric paths (spirographs) over time.
- **Visual Aids:** Ecliptic grids, celestial sphere, zodiacal bands, and polar lines.
- **High-Fidelity Graphics:** Realistic textures and dynamic solar lighting using post-processing effects.

### 🎛️ Advanced Interaction
* **Time Travel:** Jump to specific historical or future dates instantly.
* **Perpetual calendar:** Gregorian dates and support for Astronomical Julian day.
* **Variable Speed:** Control simulation speed from real-time up to millennial steps.
* **Smart Search:** Search implementation to quickly locate stars by name/HR number.

- **Time Travel:** Jump to specific historical or future dates instantly.
- **Perpetual calendar:** Gregorian dates and support for Astronomical Julian day.
- **Variable Speed:** Control simulation speed from real-time up to millennial steps.
- **Smart Search:** Search implementation to quickly locate stars by name/HR number.

---

## 💫 The TYCHOS Model

This simulation is distinct from standard heliocentric visualizers. It implements the TYCHOS model, which proposes:
* **Earth as Reference:** Earth remains relatively stationary at the center of the system.
* **Binary System:** The Sun and Mars are binary companions.
* **PVP Orbit:** The entire solar system rotates together with Earth in the PVP-orbit (Polaris-Vega-Polaris).

- **Earth as Reference:** Earth remains relatively stationary at the center of the system.
- **Binary System:** The Sun and Mars are binary companions.
- **PVP Orbit:** The entire solar system rotates together with Earth in the PVP-orbit (Polaris-Vega-Polaris).

> 📖 **Learn more:** [tychos.space](https://www.tychos.space)

Expand All @@ -61,33 +66,36 @@ This simulation is distinct from standard heliocentric visualizers. It implement

This project leverages the latest ecosystem for 3D web development.

| Category | Technology | Purpose |
|----------|------------|---------|
| **Core** | [React 18](https://reactjs.org/) | UI and Component Architecture |
| **3D Engine** | [Three.js](https://threejs.org/) | WebGL Rendering Engine |
| **Renderer** | [React Three Fiber](https://docs.pmnd.rs/react-three-fiber/) | React renderer for Three.js |
| **Helpers** | [@react-three/drei](https://github.com/pmndrs/drei) | High-level 3D abstractions |
| **Effects** | [Postprocessing](https://github.com/pmndrs/postprocessing) | Bloom, glow, and visual effects |
| **State** | [Zustand](https://github.com/pmndrs/zustand) | Global state management |
| **GUI** | [Leva](https://github.com/pmndrs/leva) | Tweakable control panels |
| Category | Technology | Purpose |
| ------------- | ------------------------------------------------------------ | ------------------------------- |
| **Core** | [React 18](https://reactjs.org/) | UI and Component Architecture |
| **3D Engine** | [Three.js](https://threejs.org/) | WebGL Rendering Engine |
| **Renderer** | [React Three Fiber](https://docs.pmnd.rs/react-three-fiber/) | React renderer for Three.js |
| **Helpers** | [@react-three/drei](https://github.com/pmndrs/drei) | High-level 3D abstractions |
| **Effects** | [Postprocessing](https://github.com/pmndrs/postprocessing) | Bloom, glow, and visual effects |
| **State** | [Zustand](https://github.com/pmndrs/zustand) | Global state management |
| **GUI** | [Leva](https://github.com/pmndrs/leva) | Tweakable control panels |

---

## 🌍 Getting Started

### Prerequisites
* **Node.js**: v16.0.0 or higher
* **Package Manager**: `npm` or `yarn`

- **Node.js**: v16.0.0 or higher
- **Package Manager**: `npm` or `yarn`

### Installation

1. **Clone the repository**

```bash
git clone [https://github.com/pholmq/TSN.git](https://github.com/pholmq/TSN.git)
cd TSN
```

2. **Install dependencies**

```bash
npm install
```
Expand All @@ -99,14 +107,14 @@ This project leverages the latest ecosystem for 3D web development.
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

### Building for Production

To create an optimized build for deployment:

```bash
npm run build

```



---

## 📂 Project Structure
Expand Down Expand Up @@ -139,15 +147,15 @@ src/

You can customize the simulation logic by editing files in the `src/settings/` directory:

* **`celestial-settings.json`**: Modify orbital speeds, distances, sizes, and starting positions for planets.
* **`star-settings.json`**: Adjust the rendering scale, brightness, and colors of stars.
* **`BSC.json`**: The raw data for the stars.
- **`celestial-settings.json`**: Modify orbital speeds, distances, sizes, and starting positions for planets.
- **`star-settings.json`**: Adjust the rendering scale, brightness, and colors of stars.
- **`BSC.json`**: The raw data for the stars.

---

## 🤝 Contributing

Contributions are welcome!
Contributions are welcome!

1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
Expand All @@ -165,13 +173,13 @@ This project is licensed under the **GNU General Public License v2.0** - see the

## 🙏 Acknowledgments

* **Simon Shack** for the creation of the TYCHOS model.
* **Astronomers and scientists throughout the ages** for trying to figure out the mysteries of our world. In particular Tycho Brahe.
* **Yale University Observatory** for the Bright Star Catalog.
* **The open-source community** behind **React Three Fiber** and so many other useful things.
- **Simon Shack** for the creation of the TYCHOS model.
- **Astronomers and scientists throughout the ages** for trying to figure out the mysteries of our world. In particular Tycho Brahe.
- **Yale University Observatory** for the Bright Star Catalog.
- **The open-source community** behind **React Three Fiber** and so many other useful things.

---

## 🎁 Donations

You can donate to this work by visiting [tychos.space](http://www.tychos.space) and selecting "Donate". Your gift is much appreciated since Simon Shack has devoted a decade on the Tychos research and since we currently receive no funds of any kind for this work.
You can donate to this work by visiting [tychos.space](http://www.tychos.space) and selecting "Donate". Your gift is much appreciated since Simon Shack has devoted a decade on the Tychos research and since we currently receive no funds of any kind for this work.
Loading
Loading