Commit Graph

5 Commits

Author SHA1 Message Date
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