Gas parcel
Growing clump
Protostar
This 2D companion replaces the 3D version's decorative particle drift with an actual self-gravitating gas-cloud model: every parcel attracts every other one under Newtonian gravity, thermal and turbulent motion push back as pressure, and parcels that touch merge into growing protostars — with a live Jeans-mass and virial-parameter readout so you can watch, numerically, exactly when the cloud tips from stable to collapsing.