This repository contains the readable development source for the JS13K 2026 entry RAINWEAVER.
The submitted game.zip remains unchanged and is the authoritative competition artifact. This source tree is provided so reviewers can inspect the implementation rather than only the packed runtime.
src/renderer3d.js— custom WebGL2 renderer, shaders, shadows and bloomsrc/grove.js— procedural forest scenerysrc/course.js— deterministic endless-course generationsrc/motion.js— movement, collision and tether constraintsrc/character.js— procedural unicorn geometry and animationsrc/rainweaver.js— game state and mechanicssrc/score.js— procedural Web Audio music and soundsrc/main.js— browser entry pointtest/— regression and behavior checkstools/build.mjs— bundling, minification and 13KB packaging pipeline
Requires Node.js 20+.
npm install
npm run buildThe build produces dist/index.html and dist/game.zip.
npm testThis is the closest preserved readable development snapshot from before the later mountain/cliff background revision. It includes small cleanup and debugging changes made after the original upload, so it is not claimed to be byte-identical to the source tree at the exact moment of submission. The existing competition game.zip remains the authoritative submitted build.
AI tools were used as technical assistance during development and debugging, including help with some web-rendering implementation. The source is published so the implementation can be reviewed directly.