-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
44 lines (42 loc) · 1.09 KB
/
index.html
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
35
36
37
38
39
40
41
42
43
44
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>LYGIA three.js examples</title>
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
</head>
<style>
:root {
--background: rgb(250, 250, 250);
--foreground: rgb(42, 42, 42);
}
body {
display: flex;
flex-direction: column;
flex-wrap: wrap;
gap: 20px;
padding: 10vw;
background: var(--background);
font-family: monospace;
font-size: calc(12px + 0.5vw);
}
a {
width: fit-content;
padding: 10px;
border-radius: 3px;
background: var(--foreground);
color: var(--background);
text-decoration: none;
}
</style>
<body>
<a href="./2d-simple/index.html">2D / Simple</a>
<a href="./2d-marching-squares/index.html">2D / Marching Squares</a>
<a href="./3d-forward-rendering-basic/index.html">
3D / Forward Rendering [Basic]
</a>
<a href="./3d-forward-rendering-advanced/index.html">
3D / Forward Rendering [Advanced], 5 x 5 PBR Materials
</a>
</body>
</html>