|
Download code/ds_tr-windmill/NOTES.md from Mike0021/inkling-mini-phaseA-3d-scenes: direct link, hf CLI and curl.
- Browser
- Download file 1.6 kB
-
https://huggingface.co/datasets/Mike0021/inkling-mini-phaseA-3d-scenes/resolve/main/code/ds_tr-windmill/NOTES.md
- Command line
-
hf download hf://datasets/Mike0021/inkling-mini-phaseA-3d-scenes/code/ds_tr-windmill/NOTES.md
-
curl -L -o NOTES.md https://huggingface.co/datasets/Mike0021/inkling-mini-phaseA-3d-scenes/resolve/main/code/ds_tr-windmill/NOTES.md
1.6 kB
| # Dutch Timber Windmill — procedural Three.js scene | |
| A traditional Dutch smock mill on a grassy mound beside a dirt path, built entirely from | |
| procedural geometry and CanvasTexture maps (no external assets, no build step). | |
| ## Files | |
| - `index.html` — full-screen canvas + import map to `./vendor/three` (r186). | |
| - `textures.js` — procedural PBR texture sets: brick (albedo/bump/roughness), weathered | |
| cladding boards, layered reed thatch, flax sail canvas (seams/stitches/stains), meadow | |
| grass, dirt with wheel ruts, grass-clump alpha card and soft cloud sprite. | |
| - `subject.js` — the mill only, returned as `THREE.Group` named `"subject"`: | |
| octagonal tapered brick base with stone plinth, iron bands, arched door/windows, timber | |
| smock body with corner posts, banding and braces, plank stage with railings, brackets | |
| and stairs, thatched boat-shaped cap (LatheGeometry + TubeGeometry ridges), windshaft | |
| and four slatted canvas sails (sculpted cloth vertex billow + InstancedMesh crossbars), | |
| rear tail-pole ladder and spoked winch, hoist beam and pulley. | |
| - `environment.js` — sky-dome gradient shader with sun glow, displaced vertex-coloured | |
| meadow, ribbon dirt path, instanced grass tufts/clump cards/flowers/cobbles, fence, | |
| clustered trees, cloud sprites, warm key + cool fill/rim lighting and soft shadows. | |
| - `main.js` — renderer (ACES, PCF shadows), PMREM RoomEnvironment IBL, hero camera, | |
| slow sail rotation and `window.__three = { scene, camera, renderer }` after first frame. | |
| ## Controls | |
| None required — the scene renders and animates on load. Sails rotate slowly. | |