planetsfactory 0.0.2

Planet factory — classify, build and catalogue planets for any star system: Solar System, TRAPPIST-1, Kepler-90, Proxima Centauri, or fully custom worlds.
Documentation
# Changelog

All notable changes to this project will be documented in this file.

Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## [0.0.2] - 2026-04-04

Pure procedural generator rework — all presets removed, 5 new planet types added, builder pattern throughout.

- Removed all preset constructors: Mercury, Venus, Earth, Mars, Jupiter, Saturn, Uranus, Neptune, hot Jupiter
- Removed preset systems: Solar System, TRAPPIST-1, Kepler-90, Proxima Centauri
- Removed `src/presets/` module entirely
- New planet type: LavaWorld — dayside temperature, magma ocean depth, tidal lock factor
- New planet type: OceanWorld — water mass fraction, ice layer depth, ocean pH model
- New planet type: RoguePlanet — unbound interstellar velocity, no orbital elements
- New planet type: SubNeptune — envelope fraction, core mass fraction, atmospheric escape
- New planet type: SuperEarth — iron core fraction, volatile fraction, plate tectonics flag
- 8 planet types total: Terrestrial, GasGiant, IceGiant, LavaWorld, OceanWorld, RoguePlanet, SubNeptune, SuperEarth
- All constructors follow `new()` + `with_*()` builder pattern
- 94 integration tests across types, physics, and engine modules
- 3 runnable examples: solar_system_demo, validation, exoplanet_generation

## [0.0.1] - 2026-04-03

Initial release.

- Planet type system: terrestrial, gas giant, ice giant with class-specific physics
- Terrestrial planets: Mercury, Venus, Earth, Mars presets with iron core fraction, magnetic moment
- Gas giants: Jupiter, Saturn, hot Jupiter presets with ring Roche limits, metallic hydrogen pressure
- Ice giants: Uranus, Neptune presets with ice/rock mantle partitioning, magnetic dipole offset
- Gravitation: surface acceleration, escape velocity, Hill sphere, Roche limit, Tisserand parameter, Laplace radius
- Atmospheres: barometric law pressure/density profiles, Jeans escape, greenhouse temperature rise, effective temperature
- Interior models: core/mantle structure, central pressure, moment of inertia factor, Adams-Williamson density
- Orbital mechanics: Kepler solver, elements ↔ Cartesian, vis-viva, period computation
- Formation: core accretion, disk instability, pebble accretion, snow line radius, isolation mass, MMSN density
- Evolution: cooling luminosity, radius contraction, photo-evaporation, tidal migration, habitable zone boundaries
- System generator: procedural systems via Titius-Bode spacing (solar-type and M-dwarf configs)
- Photometry: albedo conversion, flux ratio, equilibrium temperature, day-night contrast, bolometric magnitude
- Transits: depth, duration, ingress/egress, impact parameter, limb darkening, TTV, secondary eclipse
- Radial velocity: semi-amplitude K, minimum mass, Rossiter-McLaughlin effect, activity jitter, astrometric wobble
- Presets: Solar System (8 planets, inner/outer groups), TRAPPIST-1 (7 planets), Kepler-90 (8 planets), Proxima Centauri (2 planets)
- 77 integration tests across types, physics, and engine modules
- 3 runnable examples: solar_system_demo, validation, exoplanet_generation