Xiaotong Wang

Projects

Star Fields & Orbits

Two interactive studies: a star field made with equations, and a model for comparing the habitability of distant worlds.

01

Fractal Star Field

While exploring mathematical fractals, I noticed that patterns produced by simple formulas can resemble deep-sky photographs. I built this interactive simulation to see how equations and code can generate a star field.

Drag the controls to reshape the image. Arms sets the number of spiral arms and Pitch changes how tightly they curl. Stars changes the density; Octaves and Persistence control the texture; and Seed creates a new variation.

A star field generated with equations and code

A(x, y) = Σk=0K−1 pk noise(2kx, 2ky)
ρ = A1.35 · exp(−r2 / 2σ2) · [1 + α cos(mθ − mβ ln r)] σ = 0.62. Set m (Arms) to 0 to remove the spiral term and leave only the changing star density. Stars are retained according to ρ.

02

Exoplanet Habitability

Could another world support life as we know it? This interactive model combines four measurable factors—planet mass, orbital eccentricity, the host star’s temperature (used as an activity proxy), and the light the planet receives—to estimate a habitability probability.

Choose a familiar preset or move the sliders. The animation shows the planet’s orbit in relation to the habitable zone, while the results explain how each factor affects the estimate. This is a research model for comparing planets, not evidence that life has been detected.

Inside the habitable zone · Orbit 1.00 AU

Activity A is the temperature proxy in the paper, A(Teff) = 0.15 + 3 / (1 + exp[(Teff − 3900)/500]), clipped to [0, 3.2]. Weights are wM = 0.30, we = 0.20, wA = 0.20, wS = 0.30.

P(H = 1 | M, e, A, S) = 0.61

HPI = 0.96

Venus 0.15 Earth 0.61 this planet
FactorValueBinfP(good)