@interstellar-js-core/planettech
Version:
Toolkit for creating real 3D planets that can be transtioned from ground to sky.
37 lines (33 loc) • 1.2 kB
HTML
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>PlanetTech Hello-World</title>
<script src="./coi-serviceworker.js"></script>
<script type="importmap">
{
"imports": {
"three": "https://unpkg.com/three@0.162/build/three.module.js",
"three/addons/": "https://unpkg.com/three@0.162/examples/jsm/",
"three/nodes": "https://unpkg.com/three@0.162/examples/jsm/nodes/Nodes.js",
"planettech": "https://unpkg.com/planettech@0.0.8-alpha.0.1.6"
}
}
</script>
</head>
<body>
<div style="position: absolute; z-index: 3; background-color:rgba(184, 117, 117, 0.5); text-align:center;">
<span style='font-size:100px;'>🚧</span>
<p>UNDER CONSTRUCTION!</p>
</div>
<script>
if (crossOriginIsolated){
console.log(`[crossOriginIsolated]: SharedArrayBuffer is avalable`)
}else{
console.log(`[crossOriginIsolated]: SharedArrayBuffer isn't avalable`)
}
</script>
<script type="module" src="./basic.js"></script>
</body>
</html>