The landing page for codemine.be — a scroll-driven "code mining" scene. Dwarves mine languages (C#, TS, PY, …) in a dark shaft lit by torches, and scrolling the page drives the mine elevator down. Art direction: Spelunky 2-ish, but darker, with heavy torch light/shadow contrast.
The blog lives at blog.codemine.be and is linked from the page.
- Vite + vanilla JS (ES2022)
- PixiJS v8 for the canvas scene
- No frameworks, no scroll hijacking — real HTML sections scroll over a fixed canvas, and the canvas camera follows scroll progress
The shaft layout uses a seeded PRNG, so the scene is identical on every visit.
- Cave tileset & backgrounds: Pixel Valley | Cave by Kauzz
The raw pack is not part of this repository (data/ is gitignored); only the
sprite sheets used by the page are committed under public/assets/. Support the
artist via the link above.
npm install
npm run dev # dev server
npm run build # production build to dist/Pushes to main build and deploy to GitHub Pages via .github/workflows/deploy.yml.