Coopered barrel kit
three.js and WebGL · 3D · MIT
- What it does
A coopered oak barrel with bulged staves, four iron hoops and a three-plank head, parameterised by height, radius, stave count, bulge and seed. 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: height, radius, staves, seed, bulge, gap. A creative starting point, not a measured object.
- Get it
Copy kit-core.js, kit-walk.js and props/barrel.js into your project, then: import { create } from './kits/props/barrel.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