Make gravity.
Then let matter fall.
A star is not a glowing sphere you place into the world. It begins as matter drawn together by gravity, resisted by pressure and shaped by motion and cooling. This is a small, deterministic 2D gravitational gas-cloud analogue—one numerical world seen through two different cameras.
The gravitational rule
The engine calculates gravitational attraction for each pair, softened near zero separation. A short-range repulsive interaction approximates pressure support, while optional velocity damping stands in for cooling. We then integrate the particles with a fixed-step velocity-Verlet method.
aᵢ ≈ Σⱼ Gmⱼ(rⱼ−rᵢ)/(r²+ε²)³ᐟ² + pressure surrogate
What it does not prove
This is not a 3D self-gravitating hydrodynamic simulation. It does not solve radiative transfer, thermodynamics, magnetohydrodynamics or nuclear fusion. A dense glowing core is a visual analogy for a protostellar candidate, not evidence that ignition happened.
No external services, device information, private network data, images or AI inference are used.
Numerical proof / seed and event log
Scientific context: cold molecular clouds can gravitationally contract into protostars, but nuclear fusion requires sufficient core temperatures and pressures. The self-gravity and pressure computations here use illustrative, dimensionless units. Physical time, radii, mass, real Kelvin temperatures and fusion ignition cannot be inferred from this experiment.