-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
160 lines (157 loc) · 5.03 KB
/
index.html
File metadata and controls
160 lines (157 loc) · 5.03 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<!DOCTYPE html>
<html lang="en">
<head>
<title>Spark Examples</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="data:,">
<style>
html {
font-size: 14px;
}
body {
background: #D43E4C;
color: #fff;
font: normal 500 1.2rem/1.2 Inconsolata, Andale Mono, Courier New, monospace;
padding: 1rem 2rem;
}
ul {
list-style: none;
margin: 0;
padding: 0;
}
.header {
position: relative;
}
.resources {
font-size: 0; /* Collapse whitespace. */
text-transform: uppercase;
}
.resources li + li {
margin-top: 0.5rem;
}
.resources a {
color: rgba(0,0,0,.5);
display: inline-block;
font-size: 1.2rem;
margin: -0.25rem -0.5rem;
padding: 0.25rem 0.5rem;
text-decoration: none;
transition: all 0.075s ease-in-out;
}
.resources a:hover {
background-color: rgba(0,0,0,0.25);
color: #fff;
}
h1,
h2 {
line-height: 100%;
}
h1 {
font-size: 1.6rem;
font-weight: 100;
letter-spacing: 0.04rem;
margin-bottom: 1.25rem;
text-transform: uppercase;
}
h2 {
color: rgba(0,0,0,0.5);
font-size: 0.9rem;
font-weight: 300;
margin: 2rem 0 0.5rem;
padding: 0;
text-transform: uppercase;
}
hr {
background: none;
border: 0;
border-bottom: 1px dashed rgba(255,255,255,0.25);
margin: 2rem 0;
}
.links li + li {
box-shadow: inset 0 0.15rem 0.1rem -0.15rem rgba(0,0,0,0.5);
}
.links a {
color: #fff;
display: block;
font-size: 1.5rem;
letter-spacing: 0.01em;
padding: 0.75rem 0;
text-decoration: none;
transition: opacity 0.075s ease-in-out;
}
.links a em {
font-size: .9rem;
font-style: normal;
opacity: .6;
}
.links a:hover {
background-color: rgba(0,0,0,0.15);
box-shadow: inset 0 0 0 0.15rem rgba(0,0,0,0.15);
}
.links a:active {
background-color: rgba(0,0,0,0.25);
opacity: 0.75;
}
.links li:hover,
.links li:hover + li {
margin: 0 -0.75rem;
}
.links li:hover a,
.links li:hover + li a {
padding-left: 0.75rem;
padding-right: 0.75rem;
}
@media only screen and (min-width: 1000px) {
h1 {
font-size: 3rem;
}
.resources {
font-size: 1.2;
}
.resources li {
display: inline-block;
}
.resources li + li {
margin-left: 2.5rem;
}
}
</style>
</head>
<body>
<header class="header">
<h1>Spark Examples</h1>
<ul id="resources" class="resources">
<li><a href="https://sparkjs.dev/">sparkjs.dev</a></li>
<li><a href="https://github.com/sparkjs-dev/spark">GitHub</a></li>
</ul>
</header>
<hr>
<h2>Examples</h2>
<ul class="links">
<li><a href="/examples/envmap/">Environment Map</a></li>
<li><a href="/examples/hello-world/">Hello World</a></li>
<li><a href="/examples/interactivity/">Interactivity</a></li>
<li><a href="/examples/multiple-splats/">Multiple Splats</a></li>
<li><a href="/examples/multiple-viewpoints/">Multiple Viewpoints</a></li>
<li><a href="/examples/procedural-splats/">Procedural Splats</a></li>
<li><a href="/examples/raycasting/">Raycasting</a></li>
<li><a href="/examples/dynamic-lighting/">Dynamic Lighting</a></li>
<li><a href="/examples/particle-animation/">Particle Animation</a></li>
<li><a href="/examples/particle-simulation/">Particle Simulation</a></li>
<li><a href="/examples/splat-painter/">Splat Plainter</a></li>
<li><a href="/examples/splat-reveal-effects/">Splat Reveal Effects</a></li>
<li><a href="/examples/splat-shader-effects/">Splat Shader Effects</a></li>
<li><a href="/examples/splat-transitions/">Splat Transitions</a></li>
<li><a href="/examples/webxr/">WebXR</a></li>
<li><a href="/examples/glsl/">GLSL Shaders</a></li>
<li><a href="/examples/debug-color/">Debug Coloring</a></li>
<li><a href="/examples/depth-of-field/">Depth of Field</a></li>
<li><a href="/examples/splat-texture/">Splat Texture</a></li>
<li><a href="/examples/stochastic/">Stochastic splat sorting</a></li>
<li><a href="/examples/sogs/">SOGS Compression</a></li>
<li><a href="/examples/editor/">Editor</a></li>
<li><a href="/examples/viewer/">Viewer</a></li>
</ul>
</body>
</html>