Commit Graph

5 Commits

Author SHA1 Message Date
Brian Fertig 5e19f6e08e Add Cyberpunk City meditation scene
- New 5-minute pixel scene: rain-soaked neon avenue with buildings, crowds, traffic, holograms, and wet-street reflections, drifting to a plaza screen that dissolves into a moonlit sea
- Generalize ambience to support layering multiple loops (rain + city noise) in types and Player
- Register the meditation and document it plus the new `ambience` list form
2026-10-31 16:21:23 -06:00
Brian Fertig e6da313b61 Add Morning Flight meditation with chase-camera Cessna landing scene
- New 5-minute "Morning Flight" meditation: fly behind a small Cessna over farmland and past a city, then descend and land at daybreak as the sun rises over the mountains
- Scene rendered per-pixel from world-space geometry: ray-traced building boxes with lit windows, procedurally filtered ground (fields, suburbs, runway), two cloud decks, dawn sky with stars, sun glow and rays, plus airport details like the tower beacon and windsock
- Chase camera follows an integrated speed/distance profile so altitude, propeller spin and lighting all stay pure functions of time
- Extend AmbientLoop with optional `until`/`fadeOut` so the engine drone can stop at the prop-down moment instead of running to the end; wire it through the Meditation type and Player
2026-10-31 14:24:42 -06:00
Brian Fertig d494e43f82 Add timed ambience and calm prayer-flag motion to Tibetan Monastery
- Extend `AmbientLoop` with `from`/`fadeIn` so an ambient track can stay silent until a given second, then fade in from the start of the file; used for `wind.mp3` over the final 90 s of Monastery Above the Clouds.
- Add a smoothed `breeze` and continuous `flutter` phase to the frame, and drive prayer flags off them so they sway gently instead of jittering with gusts.
- Tuck monks one row higher on the back path (`BACK_Y`) so the building walls fully hide them as they turn.
- Update README ambience docs for the new `from`/`fadeIn` options.
2026-10-30 19:47:31 -06:00
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