-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
247 lines (216 loc) · 9.03 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
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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
<!doctype html>
<html>
<head>
<title> nick's 3d projects with three.js </title>
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1" />
<style>
body {
font-family: Arial;
}
.project {
width: 30vw;
}
.row {
display: flex;
}
.prjSectionDisplay {
display: block;
}
#grid {
display: flex;
justify-content: center;
flex-wrap: wrap;
}
header {
padding-left: 1%;
}
@media (max-width: 600px) {
.project {
width: 100vw;
text-align: center;
}
}
</style>
</head>
<body>
<header>
<h1> 3d projects with three.js <a href='https://github.com/syncopika/threejs-projects'>source</a> </h1>
<p> using assets created with Blender! </p>
<p> <b>note:</b> these projects might not work great on mobile devices, sorry. </p>
<p><b> and please remember to enable hardware acceleration! otherwise nothing will work well :( </b></p>
</header>
<div id='grid'>
<div class='project'>
<h2><a href='super_submarine/index.html'>super submarine </a></h2>
<div id="displayProjectSubmarine" class="prjSectionDisplay">
<h3> be a submarine and find stuff! </h3>
</h3>
<img id='submarine' src='super_submarine/pictures/submarine_demo.webp' width='80%' height='11%' />
</div>
</div>
<div class='project'>
<h2><a href='airshow/index.html'>airshow </a></h2>
<div id="displayProjectAirshow" class="prjSectionDisplay">
<h3> fly a jet! </h3>
<img id='airshow' src='airshow/pictures/airshow_demo.webp' width='80%' height='11%' />
</div>
</div>
<div class='project'>
<h2><a href='character_demo/index.html'>character movement </a></h2>
<div id="displayProjectCharacterMvmt" class="prjSectionDisplay">
<h3> move a low poly humanoid around </h3>
<img id='character' src='character_demo/pictures/character_demo.gif' width='80%' height='11%' />
</div>
</div>
<div class='project'>
<h2><a href='car_demo/index.html'>car demo </a></h2>
<div id="displayProjectCar" class="prjSectionDisplay">
<h3> drive a car around on a track! </h3>
<img id='car' src='car_demo/pictures/car_demo.webp' width='80%' height='11%' />
</div>
</div>
<div class='project'>
<h2><a href='camerawork/index.html'>camerawork </a></h2>
<div id="displayProjectCamerawork" class="prjSectionDisplay">
<h3> a quick idea for creating a path for a camera to move along (might be useful for cinematography?) </h3>
<img id='camerawork' src='camerawork/28-08-2021_102033.webp' width='80%' height='11%' />
</div>
</div>
<div class='project'>
<h2><a href='livery_editor/index.html'> livery editor </a></h2>
<div id="displayProjectLivery" class="prjSectionDisplay">
<h3> a quick proof-of-concept for customizing the texture of a vehicle </h3>
<img id='livery' src='livery_editor/04-06-2021_142020.gif' width='80%' height='11%' />
</div>
</div>
<div class='project'>
<h2><a href='shaders/index.html'> shaders </a></h2>
<div id="displayProjectShaders" class="prjSectionDisplay">
<h3> playing with shaders! </h3>
<img id='shaders' src='shaders/27-06-2021_184151.webp' width='80%' height='11%' />
</div>
</div>
<div class='project'>
<h2><a href='vending_machine/index.html'> vending machine </a></h2>
<div id="displayProjectVendingMachine" class="prjSectionDisplay">
<h3> a vending machine </h3>
<img id='vendingmachine' src='vending_machine/29-08-2021_103845.gif' width='65%' height='11%' />
</div>
</div>
<div class='project'>
<h2><a href='dishwashing/index.html'> dishwashing </a></h2>
<div id="displayProjectDishwashing" class="prjSectionDisplay">
<h3> washing the dishes </h3>
<img id='dishwashing' src='dishwashing/08-03-2022_141113.gif' width='80%' height='11%' />
</div>
</div>
<div class='project'>
<h2><a href='basketball/index.html'> basketball </a></h2>
<div id="displayProjectBasketball" class="prjSectionDisplay">
<h3> trying out some physics with Cannon.js </h3>
<img id='basketball' src='basketball/12-05-2022_191525.gif' width='80%' height='11%' />
</div>
</div>
<div class='project'>
<h2><a href='audio_visualization/index.html'> audio visualization </a></h2>
<div id="displayProjectAudioViz" class="prjSectionDisplay">
<h3> audio visualizations with Web Audio API </h3>
<img id='audioViz' src='audio_visualization/27-05-2022_153744.webp' width='80%' height='11%' />
</div>
</div>
<div class='project'>
<h2><a href='curves/index.html'> curves </a></h2>
<div id="displayProjectCurves" class="prjSectionDisplay">
<h3> playing with curves </h3>
<img id='curves' src='curves/demo.gif' width='80%' height='11%' />
</div>
</div>
<div class='project'>
<h2><a href='trumpet/index.html'> trumpet </a></h2>
<div id="displayProjectTrumpet" class="prjSectionDisplay">
<h3> a Bb trumpet </h3>
<img id='trumpet' src='trumpet/demo.gif' width='80%' height='11%' />
</div>
</div>
<div class='project'>
<h2><a href='dimsum/index.html'> dim sum </a></h2>
<div id="displayProjectDimsum" class="prjSectionDisplay">
<h3> 😋 </h3>
<img id='dimsum' src='dimsum/screenshot.png' width='80%' height='11%' />
</div>
</div>
<div class='project'>
<h2><a href='fps/index.html'> fps </a></h2>
<div id="displayProjectFps" class="prjSectionDisplay">
<h3> fps demo 🐄</h3>
<img id='fps' src='fps/16-11-2024_124629.gif' width='80%' height='11%' />
</div>
</div>
<div class='project'>
<h2><a href='battleships/index.html'> battleships </a></h2>
<div id="displayProjectBattleships" class="prjSectionDisplay">
<h3> battleships </h3>
<img id='fps' src='battleships/25-09-2023_202551.gif' width='80%' height='11%' />
</div>
</div>
<div class='project'>
<h2><a href='snowboard/index.html'> snowboarding </a></h2>
<div id="displayProjectSnowboard" class="prjSectionDisplay">
<h3> snowboarding </h3>
<img id='snowboard' src='snowboard/08-10-2023_103831.gif' width='80%' height='11%' />
</div>
</div>
<div class='project'>
<h2><a href='lava_lamp/index.html'> lava lamp </a></h2>
<div id="displayProjectLavaLamp" class="prjSectionDisplay">
<h3> i love (lava)lamp </h3>
<img id='lavaLamp' src='lava_lamp/screenshot.png' width='80%' height='11%' />
</div>
</div>
<div class='project'>
<h2><a href='rubikscube/index.html'> Rubik's Cube </a></h2>
<div id="displayProjectRubiksCube" class="prjSectionDisplay">
<h3> cubes </h3>
<img id='rubiksCube' src='rubikscube/19-03-2024_192544.gif' width='80%' height='11%' />
</div>
</div>
<div class='project'>
<h2><a href='split-flap_display/index.html'> split-flap display </a></h2>
<div id="displayProjectSplitFlapDisp" class="prjSectionDisplay">
<h3> split-flap display </h3>
<img id='splitFlapDisplay' src='split-flap_display/05-11-2024_210722.gif' width='80%' height='11%' />
</div>
</div>
<div class='project'>
<h2><a href='abacus/index.html'> abacus </a></h2>
<div id="displayProjectAbacus" class="prjSectionDisplay">
<h3> abacus/soroban </h3>
<img id='abacus' src='abacus/10-11-2024_092541.gif' width='80%' height='11%' />
</div>
</div>
<div class='project'>
<h2><a href='boombox/index.html'> boombox </a></h2>
<div id="displayProjectBoombox" class="prjSectionDisplay">
<h3> boombox </h3>
<img id='boombox' src='boombox/28-12-2024_221744.gif' width='80%' height='11%' />
</div>
</div>
</div>
</body>
<script>
/*
Array.from(document.getElementsByClassName("caret")).forEach((caret) => {
caret.addEventListener("click", (evt) => {
const targetInfoToToggle = document.getElementById("displayProject" + caret.id);
if(targetInfoToToggle.style.display === "block"){
caret.innerHTML = "▸ ";
targetInfoToToggle.style.display = "none";
}else{
caret.innerHTML = "▾ ";
targetInfoToToggle.style.display = "block";
}
});
});
*/
</script>
</html>