Mike0021's picture
Publish Phase A cleared procedural Three.js 3D scenes dataset (26 rows with validated GLBs, renders, code, and scrubbed traces)
59c7fd7 verified
Raw History Blame Contribute Delete
1.57 kB
<!DOCTYPE html>
<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>