Commit Graph

9 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 ccc2a2dc5d Add Tibetan Monastery meditation scene
- New "Monastery Above the Clouds" meditation (300s) with sky, cloud sea, distant ranges, summit, monastery buildings, chorten, prayer flags and pole
- Animated elements: lammergeier circling, snow leopard on ledge, two monks walking the kora and spinning prayer wheels, lamp-lighter passing windows at dusk
- Weather progression: sun break with alpenglow and sunbeams, clouding over, mist, rising wind, falling/settled snow and spindrift
- Add ambient audio track `public/audio/tibetan-monestary.mp3` (note: filename typo "monestary")
- Register scene in `src/meditations/registry.ts` and document it in README
2026-10-30 19:33:32 -06:00
Brian Fertig 27ec480682 Add Desert Sunrise meditation scene
- 5-minute pixel-art canyon scene: starry night with Milky Way and shooting stars, owl gliding into a sandstone arch, deer drinking at the stream, then sunrise breaking through the arch with sun rays, alpenglow, mist, and morning wildlife (hawk, swallows, lizard)
- New world model with pinhole-camera projection for shared perspective across walls, floor, stream, plants, and creatures
- Procedural flora (sage, rabbitbrush, yucca, prickly pear, primrose, juniper, cottonwood, willow) placed along the canyon banks
- Reflective stream with flowing ripples, glitter, and bank mist that lifts at dawn
- Precomputed rock/floor layouts and cached plant shapes for per-frame rendering on a 320x180 buffer
- Register the meditation in the menu and README; add accompanying audio track
2026-10-30 17:28:59 -06:00
Brian Fertig 50526614dc Add "The Ringed Planet" meditation scene
- New 5-minute pixel-art meditation drifting in high orbit above a golden gas giant with rings
- Ray-traced planet body with differentially rotating cloud bands, storms, polar hexagon, terminator haze, lightning flashes and aurora curtains
- Layered ring sheet with density profile, orbital clumps, spokes, and cast shadows on the planet
- Passing cratered moon that casts a shadow, individual tumbling rocks/ice chunks in the near ring, and a deep-space background with galaxy band, nebulae, twinkling stars and a comet
- Voyager-style probe flies past with dish glints, beacon blink, and fade to a speck
- Registered in the meditation registry, audio track added, README updated
2026-10-30 16:33:57 -06:00
Brian Fertig cfd8c9a7a3 Add The Reef meditation with parallax coral reef and animated marine lif
- Introduce a new 5-minute "The Reef" scene registered in the menu, drifting along a sunlit coral reef
- Add `pathTrack` (Catmull-Rom 2D path) to Timeline and a reusable `Stamp` buffer for outlined, tinted creature rendering
- Build three parallax reef layers with procedurally generated corals, swaying anemones/fans/kelp, plus water, caustics, god rays, marine snow, bubbles and floor shadows
- Animate clownfish, sunfish, a gliding stingray, jellyfish, fish schools, and a baby turtle meeting two adults before they swim off together
- Bundle the scene's music track (public/audio/the-reef.mp3)
2026-10-30 15:53:34 -06:00
Brian Fertig 15817f7c35 Add Docker support and new audio tracks
- Multi-stage Dockerfile: deps → dev (Vite hot reload) / build (typecheck + bundle) → runtime (nginx)
- docker-compose.yml with a default `web` service (port 8080) and a `dev` profile for hot reload (port 5173); ports overridable via PIXELTATION_PORT / PIXELTATION_DEV_PORT
- nginx config with gzip, immutable cache for fingerprinted /assets, and SPA fallback
- .dockerignore to keep the build context lean
- README: Docker Compose run instructions and a file reference table; note to rebuild the image after adding audio files
- Add coastline.mp3 and fx-waves.mp3 tracks under public/audio/
2026-10-29 19:44:09 -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