Repository navigation
Releases: thecuvii/solaris
Releases · thecuvii/solaris
Release list
v0.1.0
Added
- Initial public release with
Earth,Jupiter,LunarEclipse,Mars,Mercury,Moon,
Neptune,Pluto,Saturn,Sky,Sun,Titan,Uranus, andVenuscomponents. - Per-planet subpath exports (
@cuvii/solaris/moon, …) so consumers only ship the
shaders they render. preloadTextureImagesfor warming the texture cache ahead of mount.onStatusChange,onReady, andonErrorlifecycle callbacks on every textured planet.
onErroralso receives renderer failures (shader compilation, framebuffer setup,
unusable source data) instead of them escaping into React.compositionandviewporton every planet to place the orb inside a larger canvas.pausedon every planet; rendering also pauses automatically while off screen and
respectsprefers-reduced-motion(frozen clock, no lean, redraw only on change).defaultEarthModeland theAtmosphericOrbModeltype;Earth'smodelis now
optional.lean,spin, andyawonSun;leanonUranus.- Shared
OrbCanvasProps,OrbPoseProps,OrbLightingProps,OrbComposition, and
OrbViewporttypes exported from every subpath. Every prop carries JSDoc with its
unit, range, and default.
Changed
- Prop names unified across planets:
forwardScatter(Saturn) and
forwardScatteringStrength(Titan) →forwardScattering;selfShadowStrength
(Mars) andreliefStrength(Pluto) →reliefShadowStrength;hazeIntensity
(Pluto) andhazeOpacity(Uranus) →hazeDensity. LunarEclipseoffsetX/offsetYreplaced bysunAzimuth/sunElevation
(apparent Sun direction relative to the Earth–Moon line; the shadow centre
falls opposite).0/0is a central eclipse.Plutono longer clampsspin.
Full Changelog: https://github.com/thecuvii/solaris/commits/v0.1.0