-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
258 lines (214 loc) · 10.4 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
248
249
250
251
252
253
254
255
256
257
258
<!DOCTYPE HTML>
<!--
CGPP - UW 2016
-->
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:fb="http://ogp.me/ns/fb#">
<head>
<title>UW Computer Graphics & Pretty Pictures</title>
<meta charset="utf-8" />
<meta property="og:image" content="WebAssets/images/4.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="WebAssets/css/main.css" />
<link rel="shortcut icon" href="WebAssets/images/favicon.ico" type="image/x-icon">
<link rel="icon" href="WebAssets/images/favicon.ico" type="image/x-icon">
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-89924810-1', 'auto');
ga('send', 'pageview');
</script>
</head>
<body>
<script src="js/three.js"></script>
<script src="js/ExplodeModifier.js"></script>
<script src="js/TessellateModifier.js"></script>
<script type="x-shader/x-vertex" id="vertexshader">
uniform float amplitude;
uniform float gTime;
attribute vec3 customColor;
attribute vec3 displacement;
varying vec3 vNormal;
varying vec3 vColor;
void main() {
vNormal = normal;
vColor = customColor;
vec3 newPosition = position + normal * amplitude * displacement;
gl_Position = projectionMatrix * modelViewMatrix * vec4( newPosition, 1.0 );
}
</script>
<script type="x-shader/x-fragment" id="fragmentshader">
varying vec3 vNormal;
varying vec3 vColor;
uniform float amplitude;
uniform float gTime;
void main() {
const float ambient = 0.4;
vec3 light = vec3( 1.0 );
light = normalize( light );
float directional = max( dot( vNormal, light ), 0.0 );
gl_FragColor = vec4( mix( vec3(1.0),vColor,
amplitude*(0.5+0.5*sin(gTime*vColor.r*0.5+vColor.b*8.47))), 1.0 );
}
</script>
<script src="js/HeaderText.js"></script>
<div id="container"></div>
<div id="headerspacer"></div>
<!-- Wrapper -->
<div id="wrapper">
<!-- Main -->
<section id="main">
<!-- <h2>Computer Graphics and Pretty Pictures<br /> </h2> -->
<!-- <input type="button" onclick="growDiv()" value="About us" id="more-button"> -->
<!--<div id='grow'>
<div class='measuringWrapper'>
</div>
</div> -->
<br />
<h2 class= "center"><a href="/cgppSchedule.html">Schedule</a></h2>
<br />
<h2 class="center">Tutorial Projects </h2>
<p class=center>
Below are sample projects we've made with three.js, p5.js, A-Frame, and Shadertoy.
</p>
<!-- Thumbnails -->
<section class="thumbnails">
<div>
<div class="project">
<h3 class=center>Lighting</h3>
<a href="Project1-Lighting.html" data-poptrox="iframe">
<img src="WebAssets/images/1.png" alt="" />
</a>
<input type="button" id="viewS" onclick="location.href='https://github.com/PWhiddy/CGPP-Projects/blob/master/Project1-Lighting.html';" value="View Source" />
</div>
<div class="project">
<h3 class="center">Simple Controls</h3>
<a href="Project2b-Simple-Controls.html" data-poptrox="iframe">
<img src="WebAssets/images/3.png" alt="" />
</a>
<input type="button" id="viewS" onclick="location.href='https://github.com/PWhiddy/CGPP-Projects/blob/master/Project2b-Simple-Controls.html';" value="View Source" />
</div>
<div class="project">
<h3 class="center">Hierarchy Rotation</h3>
<a href="Hierarchy-Rotation.html" data-poptrox="iframe">
<img src="WebAssets/images/hierarchy.png" alt="" />
</a>
<input type="button" id="viewS" onclick="location.href='https://github.com/PWhiddy/CGPP-Projects/blob/master/Hierarchy-Rotation.html';" value="View Source" />
</div>
<div class="project">
<h3 class="center">Music Visualizer</h3>
<a href="week1_w17/AudioStarterKit2.html" data-poptrox="iframe">
<img src="WebAssets/images/8.png" alt="" />
</a>
<input type="button" id="viewS" onclick="location.href='https://github.com/PWhiddy/CGPP-Projects/blob/master/week1_w17/AudioStarterKit2.html';" value="View Source" />
</div>
<div class="project">
<h3 class="center">2D Simplex Noise</h3>
<a href="Geometry.html" data-poptrox="iframe">
<img src="WebAssets/images/11.png" alt="" />
</a>
<input type="button" id="viewS" onclick="location.href='https://github.com/PWhiddy/CGPP-Projects/blob/master/Geometry.html';" value="View Source" />
</div>
</div>
<div>
<div class="project">
<h3 class="center">Multiple Objects</h3>
<a href="Project2a-Multiple-Objects.html" data-poptrox="iframe">
<img src="WebAssets/images/2.png" alt="" />
</a>
<input type="button" id="viewS" onclick="location.href='https://github.com/PWhiddy/CGPP-Projects/blob/master/Project2a-Multiple-Objects.html';" value="View Source" />
</div>
<div class="project">
<h3 class="center">Shaders</h3>
<a href="Shaders-Torus.html" data-poptrox="iframe">
<img src="WebAssets/images/4.png" alt="" />
</a>
<input type="button" id="viewS" onclick="location.href='https://github.com/PWhiddy/CGPP-Projects/blob/master/Shaders-Torus.html';" value="View Source" />
</div>
<div class="project">
<h3 class="center">Shader Fractal-Torus</h3>
<a href="Shaders-FractalTorus.html" data-poptrox="iframe">
<img src="WebAssets/images/5.png" alt="" />
</a>
<input type="button" id="viewS" onclick="location.href='https://github.com/PWhiddy/CGPP-Projects/blob/master/Shaders-FractalTorus.html';" value="View Source" />
</div>
<div class="project">
<h3 class="center">A-Frame VR Portfolio Demo</h3>
<a href="AFrameDemo.html" data-poptrox="iframe">
<img src="WebAssets/images/9.png" alt="" />
</a>
<input type="button" id="viewS" onclick="location.href='https://github.com/PWhiddy/CGPP-Projects/blob/master/AFrameDemo.html';" value="View Source" />
</div>
</div>
<div>
<div class="project">
<h3 class="center">Starbucks</h3>
<a href="Starbucks.html" data-poptrox="iframe">
<img src="WebAssets/images/starbucks.png" alt="" />
</a>
<input type="button" id="viewS" onclick="location.href='https://github.com/PWhiddy/CGPP-Projects/blob/master/Starbucks.html';" value="View Source" />
</div>
<div class="project">
<h3 class="center">Fire and Water</h3>
<a href="Fire-and-Water.html" data-poptrox="iframe">
<img src="WebAssets/images/6.png" alt="" />
</a>
<input type="button" id="viewS" onclick="location.href='https://github.com/PWhiddy/CGPP-Projects/blob/master/Fire-and-Water.html';" value="View Source" />
</div>
<div class="project">
<h3 class="center">Volumetric Rendering</h3>
<a href="Volumetric.html" data-poptrox="iframe">
<img src="WebAssets/images/7.png" alt="" />
</a>
<input type="button" id="viewS" onclick="location.href='https://www.shadertoy.com/view/MttSDM#';" value="View Source" />
</div>
<div class="project">
<h3 class="center">P5.js Noise Field</h3>
<a href="https://www.openprocessing.org/sketch/405465/embed/" data-poptrox="iframe">
<img src="WebAssets/images/10.png" alt=""/>
</a>
<input type="button" id="viewS" onclick="location.href='https://www.openprocessing.org/sketch/405465';" value="View Source" />
</div>
</div>
</section>
</section>
<!-- Footer -->
<footer id="footer">
<h2 class="center">About Us</h2>
<br />
<div class="text">
<p>
We are a student organization at the University of Washington dedicated to learning, teaching, and developing computer graphics. CGPP aims to introduce students to modern graphics tools and concepts to allow them to use programing as a creative medium. These topics and tools range from music visualizers, games, VR/AR, CAD software, or animated movies. Our main focus is on real-time interactive graphics, especially on the web via WebGL with libraries like three.js. This platform is ideal because javascript is relatively easy to learn, requires virtually no setup or installation, and targets a vast array of devices - all modern smartphones, tablets, laptop and desktop computers. Our goal is to build a community that is capable of collaborating on meaningful projects.
</p>
</div>
<p class="center">
<a href="https://github.com/PWhiddy/CGPP-Projects">
<img src="WebAssets/images/gh.png" title="View Source" style="width:8%;height:8%;border:50;">
</a>
       
<a href="https://www.facebook.com/groups/uwgraphics/">
<img src="WebAssets/images/fb.png" title="Facebook Group" style="width:8%;height:8%;border:50;">
</a>
</p>
<h2 class="center">Contact</h2>
<p class="center">
<a href="mailto:[email protected]">Lee Polla</a>
<br />
<a href="mailto:[email protected]">Peter Whidden</a>
<br />
<a href="mailto:[email protected]">Torin Blankensmith</a>
</p>
<br />
<img class="center" src="WebAssets/images/uw_logo_white.png" title="Facebook Group" style="width:70%;height:auto%;">
</footer>
</div>
<!-- Scripts -->
<script src="WebAssets/js/jquery.min.js"></script>
<script src="WebAssets/js/jquery.poptrox.min.js"></script>
<script src="WebAssets/js/skel.min.js"></script>
<script src="WebAssets/js/main.js"></script>
</body>
<!-- <iframe id="viewer" name="viewer" allowfullscreen allowvr onmousewheel=""></iframe> -->
</html>