Download code/ds_tr-windmill/index.html from Mike0021/inkling-mini-phaseA-3d-scenes: direct link, hf CLI and curl.
- Browser
- Download file 1.57 kB
-
https://huggingface.co/datasets/Mike0021/inkling-mini-phaseA-3d-scenes/resolve/main/code/ds_tr-windmill/index.html
- Command line
-
hf download hf://datasets/Mike0021/inkling-mini-phaseA-3d-scenes/code/ds_tr-windmill/index.html
-
curl -L -o index.html https://huggingface.co/datasets/Mike0021/inkling-mini-phaseA-3d-scenes/resolve/main/code/ds_tr-windmill/index.html
1.57 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | |
| <title>Dutch Timber Windmill — procedural Three.js</title> | |
| <style> | |
| html, body { margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; background: #aebfca; } | |
| #app { position: fixed; inset: 0; } | |
| #app canvas { display: block; width: 100%; height: 100%; } | |
| #loading { | |
| position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; | |
| font: 300 15px/1.4 Georgia, serif; letter-spacing: 0.18em; text-transform: uppercase; | |
| color: #f3ead9; background: linear-gradient(#7696ad, #c8b99c); z-index: 5; pointer-events: none; | |
| transition: opacity 0.8s ease; | |
| } | |
| #err { display: none; position: fixed; left: 10px; bottom: 10px; z-index: 9; color: #fff; | |
| background: rgba(120,20,20,0.9); padding: 8px 12px; font: 12px monospace; max-width: 90%; } | |
| </style> | |
| <script type="importmap"> | |
| { | |
| "imports": { | |
| "three": "./vendor/three/build/three.module.js", | |
| "three/addons/": "./vendor/three/examples/jsm/" | |
| } | |
| } | |
| </script> | |
| </head> | |
| <body> | |
| <div id="app"></div> | |
| <div id="loading">De Molen</div> | |
| <div id="err"></div> | |
| <script type="module" src="./main.js"></script> | |
| <script> | |
| (function () { | |
| const tick = function () { | |
| if (window.__three) { | |
| const l = document.getElementById('loading'); | |
| if (l) { l.style.opacity = '0'; setTimeout(() => l.remove(), 900); } | |
| } else { setTimeout(tick, 60); } | |
| }; | |
| setTimeout(tick, 300); | |
| })(); | |
| </script> | |
| </body> | |
| </html> | |