# raytracer

Wolfenstein-achtige raycaster op [frameworkv3](https://git.timfalken.com/timfa/frameworkv3) (WebGL).

## Lokaal bouwen en draaien

```bash
# Framework-bundel (eenmalig / bij framework-update)
cd /pad/naar/frameworkv3 && ./glbuild.sh
cp js/framework.js /pad/naar/raytracer/build/framework.js

# Game-bundel
./src/build.sh

# Statische server
python3 -m http.server 8080 --directory build
# open http://localhost:8080
```

Besturing: WASD / pijltjes bewegen, klik voor pointer-lock muislook, `<` `>` voor raycast-resolutie.

## Tests

```bash
node --test test/*.test.js
```

## Structuur

- `src/` – gamecode (wordt naar `build/game.js` geconcateneerd)
- `build/` – speelbare output (`framework.js`, `game.js`, `index.html`, images)
- `archive/legacy-js/` – oude canvas2d-versie (referentie)
