@idle-screens/saver-metaquarium 0.7.2 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -52,6 +52,14 @@ frame loop (rAF or renderFrame(t)):
52
52
  fish cap per device.
53
53
  - **Adaptive governor**: steps render resolution down when frames exceed budget.
54
54
  - **Zero-dep manifest subpath**: servers validate params without pulling three.js.
55
+ - **Lofi backend**: `createMetaquarium({ backend: 'lofi' })` swaps three.js for
56
+ the Apple TV's 2D aquarium — each fish's `_transparent_icon.png` swimming a
57
+ Canvas2D After Dark tank (kelp, bubbles, light shafts). Same seed, same
58
+ layout as the TV. It reads **only** `environment` and `fishMix`, and always
59
+ swims 8 fish (13 on high-tier devices) like the TV — so a default scene is
60
+ one hero fish in WebGL and a full tank in lofi, by design. Other params
61
+ (`swimSpeed`, camera, fog, …) are no-ops there. A host choice for QA and
62
+ nostalgia, not a scene param; the playground exposes it as `?lofi=1`.
55
63
 
56
64
  ## Params
57
65
 
@@ -121,6 +129,8 @@ never changes because a dependency was bumped.
121
129
  | File | Role |
122
130
  |------|------|
123
131
  | tank.ts | Renderer, scene, fish spawn, environments, setState, governor, dispose |
132
+ | lofi.ts | Lofi backend, pure half: the Apple TV's 2D aquarium layout, poses, palettes |
133
+ | lofi-tank.ts | Lofi backend, canvas half: Canvas2D draw + transparent-icon loading |
124
134
  | plan.ts | Catmull-Rom swim: compile, arc-length, pose-at-distance, path shapes |
125
135
  | swim.ts | Swim styles, formations, depth bands, relationship bonds |
126
136
  | maneuver.ts | Named seeded events (dart, startle, graze, curious, zoomies) |
@@ -1610,4 +1610,4 @@ export {
1610
1610
  paramSpaceWith,
1611
1611
  coerceNum
1612
1612
  };
1613
- //# sourceMappingURL=chunk-RTUYWDDZ.js.map
1613
+ //# sourceMappingURL=chunk-BX2S4OKL.js.map