Skip to content

release: v1.3.0 - Data-driven epic universe animations#27

Merged
aangell98 merged 4 commits into
mainfrom
develop
Jun 1, 2026
Merged

release: v1.3.0 - Data-driven epic universe animations#27
aangell98 merged 4 commits into
mainfrom
develop

Conversation

@aangell98
Copy link
Copy Markdown
Contributor

Release v1.3.0 - Data-driven epic universe animations.

Replaces the previous canvas-overlay-only Big Bang & Black Hole animations with a fully data-driven version that animates the REAL 3D scene nodes (~29K) from the worker-precomputed positions, plus cinematic camera dolly.

Highlights

  • Big Bang: real nodes spawn from the singularity and travel along curved trajectories to their final positions; breathing fluctuations once settled
  • Black Hole: every real node collapses with t^2 easing; clip-path with damped oscillations (gravitational resistance); photon ring + accretion disk track the actual horizon
  • All ambient effects (Hawking radiation, GravitationalWaves, DecoherenceWaves, TunnelingPulses, CosmicRays, QuantumFoam, InterferenceGrid, Dyson Shell, bonds/arcs/channels/clouds/axes) now fade in sync with the collapse — nothing escapes the black hole
  • Singularity remnant rewritten: 520 ms stable peak + epic blink (intensity x2.8, radial shockwave) before fade — survives the closing of the horizon
  • Cinematic camera dolly during both entry and exit
  • Overlay canvas components simplified (~290 lines removed in BigBangEntry, ~520 lines reworked in BlackHoleExit)

Validation

  • 179/179 tests passing
  • Production build OK
  • No new lint warnings
  • No public API changes; backwards compatible

aangell98 and others added 3 commits June 1, 2026 16:16
…ematic dolly

Rewrites the universe entry/exit animations to drive the REAL R3F scene
nodes (orgs/repos/users InstancedMesh + user point cloud shader) from
the worker-precomputed positions, replacing the previous Canvas2D
overlays that drew fake particles on top of the scene.

Big Bang entry
- Real nodes spawn from the singularity (0,0,0) and travel along
  curved (tangential swirl) trajectories to their final worker-computed
  positions, with breathing fluctuations once settled
- Custom shader on QuantumParticles (~27K users) handles entry on GPU
- Cinematic camera dolly pulls the camera back at the start so the
  whole expansion is framed (snap on rising edge + ease-back)

Black Hole exit
- New ExitDirector + `applyExitCollapse` helper: every real node
  smoothly collapses toward the singularity with t^2 easing (CPU for
  instanced meshes, GPU for the user point cloud)
- Clip-path now follows an analytic curve (no keyframes) with damped
  oscillations that simulate the gravitational `resistance` of the
  black hole as it folds onto itself
- Photon ring & accretion disk now track the actual clip radius so
  they wrap the collapsing horizon without `jumping` the bounces
- Singularity remnant rewritten: build-up, ~520 ms stable peak, epic
  blink (intensity x2.8, core x2.2, expanded spikes, radial shockwave)
  before the final fade-out — the brightness now survives the closing
  of the horizon as a proper post-collapse singularity
- Hawking radiation, GravitationalWaves, DecoherenceWaves, TunnelingPulses,
  CosmicRays, QuantumFoam, InterferenceGrid, ElectronOrbits (Dyson Shell),
  QuantumBonds, OrgEntanglementArcs, EntanglementChannels, ProbabilityClouds
  and BlochAxes all receive an exitProgressRef and fade in sync with the
  collapse instead of escaping the black hole
- Dyson Shell additionally compresses with the rest of the universe
- Cinematic camera dolly pulls the camera back during the collapse so
  the implosion is framed

Overlay components simplified
- BigBangEntry.jsx now KEEPS only the cinematic polish (flash, anamorphic
  flare, vignette, settle glow) and DROPS all fake-particle stand-ins
  (~289 lines removed)
- BlackHoleExit.jsx similarly DROPS the fake debris/fractures/Hawking
  canvas particles, replaces the keyframe clipR with an analytic
  `computeClipFactor` function, and rewrites the remnant with a true
  blink + size-shrink finale (~520 lines reworked)

Net diff: -183 lines, simpler code, more cinematic result.

Tests: 179/179 passing. Production build OK. No new lint warnings.
…ations

feat(universe): data-driven Big Bang + Black Hole animations with cinematic dolly
…niverse/

Resolves the new_maintainability_rating QG failure on v1.3.0 PR:

- S7748 (zero fraction in number, e.g. 1.0 vs 1): in 3D animation code,
  writing 1.0 / 0.0 explicitly conveys that the value is a float
  (scales, alphas, coordinates) even though JS doesn't have integer/float
  distinction. Suppressed for src/components/Universe/**/* to preserve
  readability.
- S6774 (missing PropTypes validation): this project does not use
  prop-types; component contracts are documented via JSDoc/comments.
  Suppressed for src/components/Universe/**/*.
hotfix(qg): suppress S7748 + S6774 for v1.3.0
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jun 1, 2026

@aangell98 aangell98 merged commit 83c1454 into main Jun 1, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant