drag to orbit
Building · 1 moving part
Windmill
A village windmill: a round stone tower mill or an eight-sided timber smock mill with a cap and four lattice sails. The sails are one part that spins about z; userData.tick(d) turns them and bakes a Loop clip. Windows glow at night.
- Size
- 9.5 × 13.5 × 5.7 m
- Triangles
- 1,408
Tune it
4 knobs: Tower, Sail cloth, Height, Gallery.
Specs
- Size
- 9.5 × 13.5 × 5.7 m width × height × depth
- Triangles
- 1,408 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 { useMemo } from 'react';
import { createAsset } from 'https://gaitkit.com/cdn/windmill.mjs';
export function Windmill() {
const model = useMemo(() => createAsset(), []);
return <primitive object={model} />;
}# 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 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 | GLB, default look · 194 KB |
| windmill.mjs | ES module, every knob live |
| windmill.obj | OBJ, static, no colour |
| 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.