-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
19 lines (19 loc) · 833 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, shrink-to-fit=no"/>
<style>
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; background: #131618; }
#root { width: calc(100% - 120px); height: calc(100% - 120px); overflow: hidden; top: 60px; left: 60px; position: absolute;}
.dot { position: absolute; transform: translate(-50%, -50%); }
.square { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
</style>
<title>Poisson Disc Sampling for images: Example</title>
<script src="./src/index.ts" defer></script>
</head>
<body>
<div id="root"></div>
</body>
</html>