Watermill with a turning wheel kit
three.js and WebGL · 3D · MIT
- What it does
A two-storey stone-and-timber mill with an overshot wheel on a wheel socket, a launder feeding it, a first-floor loading door under a hoist beam, and an animate(dt) that turns only the wheel. A procedural three.js module of at most 200 lines: one seeded factory, real geometry (no textures at the default tier), sockets for attaching things and box colliders. Parameters: width, depth, wheelRadius, paddles, roofPitchDeg, speedRadPerSec, seed. Motion: animate(dt) turns the wheel, stepped by the delta you pass, so a renderer can drive it. A creative starting point, not a measured object.
- Get it
Copy kit-core.js, kit-walk.js and buildings/watermill.js into your project, then: import { create } from './kits/buildings/watermill.js'; const { group, sockets, colliders } = create({ seed: 1 }); scene.add(group);
- Needs (the whole pack)
Nothing to read the skill. Python 3 for the catalog helpers. Node with pnpm or npm for the starter and the examples. Optional: Playwright for its capture script, and Blender 4.2 or newer for its baked hero tier. The six anatomy studies need 169 MB of meshes fetched separately.
- License
MIT
- From