File size: 995 Bytes
59c7fd7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Oak Workbench — Sunlit Timber Workshop</title>
<style>
html, body { margin: 0; height: 100%; overflow: hidden; background: #211a13; }
#app { position: fixed; inset: 0; }
canvas { display: block; width: 100%; height: 100%; }
#vignette {
position: fixed; inset: 0; pointer-events: none; z-index: 2;
background: radial-gradient(ellipse at 52% 46%, rgba(0,0,0,0) 42%, rgba(20,12,6,0.20) 78%, rgba(12,8,4,0.46) 100%);
mix-blend-mode: multiply;
opacity: 0; transition: opacity 1.2s ease;
}
body.ready #vignette { opacity: 1; }
</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="vignette"></div>
<script type="module" src="./main.js"></script>
</body>
</html>
|