[READ-ONLY] Mirror of https://github.com/flo-bit/tiny-planets. procedurally generated tiny planets in the browsers
flo-bit.dev/tiny-planets/
low-poly
planets
procedural-generation
threejs
642 B
26 lines
1<!doctype html>
2<html lang="en">
3 <head>
4 <title>three.js scaffold</title>
5 <meta charset="utf-8" />
6 <meta
7 name="viewport"
8 content="width=device-width, initial-scale=1.0, user-scalable=no"
9 />
10
11 <link rel="stylesheet" href="./index.css" />
12 </head>
13
14 <body class="bg-black"></body>
15 <button
16 id="button"
17 class="hidden p-2 px-3 border border-white/20 rounded-md text-white z-10 bg-white/10 absolute bottom-2 right-2 font-semibold text-lg hover:bg-white/20"
18 >
19 random
20 </button>
21
22 <canvas id="root"></canvas>
23
24 <script src="src/script.ts" type="module"></script>
25 </body>
26</html>