Fusion of Pixel Art and Meditation -- relax and unplug.
Go to file
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
public/audio Initial commit for Pixeltation pixel art meditation app 2026-10-29 19:33:35 -06:00
scripts Initial commit for Pixeltation pixel art meditation app 2026-10-29 19:33:35 -06:00
src Initial commit for Pixeltation pixel art meditation app 2026-10-29 19:33:35 -06:00
.gitignore Initial commit for Pixeltation pixel art meditation app 2026-10-29 19:33:35 -06:00
README.md Initial commit for Pixeltation pixel art meditation app 2026-10-29 19:33:35 -06:00
index.html Initial commit for Pixeltation pixel art meditation app 2026-10-29 19:33:35 -06:00
package-lock.json Initial commit for Pixeltation pixel art meditation app 2026-10-29 19:33:35 -06:00
package.json Initial commit for Pixeltation pixel art meditation app 2026-10-29 19:33:35 -06:00
tsconfig.json Initial commit for Pixeltation pixel art meditation app 2026-10-29 19:33:35 -06:00
vite.config.ts Initial commit for Pixeltation pixel art meditation app 2026-10-29 19:33:35 -06:00

README.md

Pixeltation

Calm pixel art meditations for the browser. Pick a journey from the main menu, settle in, and watch.

Run

npm install
npm run dev        # http://localhost:5173
npm run build      # static site in dist/

Meditations

id Title Length
northern-cabin Northern Cabin — winter sunset by a quiet lake 5 min

Each meditation lives in src/meditations/<id>/ and is registered in src/meditations/registry.ts. A scene is a pure function of time (render(surface, t)), drawn pixel by pixel into a 320×180 buffer that is scaled up crisply, so all art is generated in code.

Music

Drop an audio file in public/audio/ and set music: 'audio/<file>.mp3' on the meditation (e.g. in src/meditations/northern-cabin/index.ts). It fades in at the start and out over the last 10 seconds.

Dev tools

  • #/m/northern-cabin?t=150&speed=10 starts at 150 s and plays at 10× (dev server only).
  • [ / ] skip back/forward 10 s while playing (dev server only).
  • npm run snapshot -- northern-cabin 0 120 200 renders frames to snapshots/ as PNGs without a browser.