Windmill
A village windmill: a round fieldstone tower mill with string courses and proud stones, or an eight-sided weatherboarded timber smock mill with corner posts; a coursed cap with a finial and a fantail, a banded windshaft and four lattice sails with tapered stocks, leading boards and cloth between the bars. Framed, recessed windows with sills, a plank door with strap hinges and a lantern. The sails are one part that spins about z; userData.tick(d) turns them and bakes a Loop clip. Windows and the lantern glow at night.
- Size
- 9.5 × 13.5 × 5.7 m
- Triangles
- 3,600
Tune it
4 knobs: Tower, Sail cloth, Height, Gallery.
Specs
- Size
- 9.5 × 13.5 × 5.7 m width × height × depth
- Triangles
- 3,600 of 6,000
- Draw calls
- 1 one vertex-colour material
- Loop clip
- 12.566 m of travel per cycle
- Moving parts
- 1 sails · spin
- Knobs
- 4 3 presets
- Night lights
- 2 window, lamp
Passed the validator: real scale, rests on y = 0, front faces +Z, deterministic.
Use it
Code for the specimen as it is set up above; it follows your knobs.
import { createAsset } from 'https://gaitkit.com/cdn/windmill.mjs';
const windmill = createAsset();
scene.add(windmill); // rests on y = 0, front faces +Zimport { useGLTF } from '@react-three/drei';
// windmill.glb from the Download button (it carries the knobs you set), saved in /public
export function Windmill() {
const { scene } = useGLTF('/windmill.glb');
return <primitive object={scene} />;
}
// Live knobs or terrain-following feet: copy windmill.mjs and runtime/ into your project and use the three.js tab.# Import windmill.glb (download below). Moving parts are separate nodes, pivoted on their hinge.
add_child(preload("res://windmill.glb").instantiate())// Import windmill.glb with glTFast (com.unity.cloud.gltfast).
// Drop it in the scene: 1 unit = 1 metre, +Z is its front.Use the gaitkit MCP server: get_variant({ "id": "windmill", "want": "default look" })
then place the result.
# MCP endpoint
https://gaitkit.com/mcpKnobs
| Knob | Type | Values | Default | What it does |
|---|---|---|---|---|
tower | choice | stone timber | stone | stone (round fieldstone tower mill with a conical shingled cap) or timber (eight-sided weatherboard smock mill with a boat-shaped cap). |
sailCloth | color | any colour | #e8dcc0 | Colour of the canvas on the sails. Cream #e8dcc0 is classic, #a8483a red ochre, #6f7d5a sage, #3e3a36 tarred. |
height | range | 6 to 12, step 0.5 | 8 | Tower height in metres to the cap. The sails grow with it; 6 is a small hill mill, 12 a landmark. |
gallery | toggle | on / off | false | Timber walkway with a railing around the tower at first-floor height, as on big smock mills. Sails shorten to clear it. |
Presets: smock mill {"tower":"timber","gallery":true,"height":10} · hill mill {"tower":"stone","height":6.5} · red sails {"sailCloth":"#a8483a","height":9}
Files
| File | What |
|---|---|
| windmill.glb Pro | GLB, default look · 635 KB |
| windmill.mjs Pro | ES module, every knob live |
| windmill.obj Pro | OBJ, static; colours in the .mtl |
| windmill.mtl | OBJ colours; keep it next to the .obj |
| windmill-params.json | knob schema, presets, night zones |
Licence
Use it in games, apps, renders and client work, commercially and without credit. Do not resell it as an asset or train a 3D generator on it. The full licence.