Commit Graph

2 Commits

Author SHA1 Message Date
Brian Fertig 7977dbdd61 Add Mediterranean Coast meditation and clock-synced ambience loop
- New 5-minute scene: clearing skies over a jungle cove with waves, sailboat, gulls, crabs, palms, god rays, and an afternoon-to-evening light arc
- Add AmbientLoop (Web Audio) so a looping ambient track stays locked to the meditation clock through pause/seek, keeping visuals like wave crashes in sync with sound; Mediterranean Coast uses fx-waves.mp3 timed to measured crash peaks
- Extract ditherStep into engine/color and add Surface.setScaled for allocation-free scaled pixel writes
- Introduce ambience option on Meditation type and a Soundtrack wrapper in the Player that drives music and ambience together; disable audio under dev fast-forward
- Register mediterranean-coast in the registry and document the new ambience config in the README
2026-10-29 20:14:20 -06:00
Brian Fertig 42bf83c3ca Initial commit for Pixeltation pixel art meditation app
- Browser-based calm pixel art meditations with a main menu and player UI
- Rendering engine (Surface, PixelCanvas, Loop, Timeline, color/rng/sprite/audio)
  that draws scenes as pure functions of time into a 320x180 buffer
- First "Northern Cabin" meditation: sunset-to-night lake scene with animated
  snow, stars, aurora, moon, fire, and a man gathering wood
- Dev tools: hash-based routing, time/speed query params, and a headless PNG
  snapshot script for checking frames without a browser
2026-10-29 19:33:35 -06:00