-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
18 lines (18 loc) · 751 Bytes
/
Copy pathindex.html
File metadata and controls
18 lines (18 loc) · 751 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>WebGPU Example</title>
<link rel="stylesheet" href="/cesium/Widgets/widgets.css" />
<style>
html, body, #root { height: 100%; margin: 0; }
.hud { position:absolute; top:8px; left:8px; background:rgba(0,0,0,0.5); color:#fff; padding:6px 8px; border-radius:6px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size:12px; pointer-events: auto; z-index: 10;}
canvas { display:block; background: transparent; }
</style>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>