-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
231 lines (197 loc) · 6.58 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>HalfStack 2024</title>
<link rel="stylesheet" href="dist/reset.css">
<link rel="stylesheet" href="dist/reveal.css">
<link rel="stylesheet" href="dist/theme/blood.css">
<!-- Theme used for syntax highlighted code -->
<link rel="stylesheet" href="plugin/highlight/monokai.css">
</head>
<body>
<div class="reveal">
<div class="slides">
<section>
<h2 >HalfStack</h2>
<h2 >2024</h2>
</section>
<section>
<h3>Luis Montes</h3>
<h4>
<div>
<a href="https://fosstodon.org/@monteslu" target="_blank"><img src="images/mastodon.svg" style="border: 0; background: 0; box-shadow: 0 0 0;"></a>
</div>
<div>
@monteslu@Fosstodon.org
</div>
</h4>
<h4>
<a href="https://twitter.com/monteslu" target="_blank"><img src="images/t-icon.svg" style="border: 0; background: 0; box-shadow: 0 0 0;"></a>
@monteslu <a href="https://github.com/monteslu" target="_blank"><img src="images/gh-icon.svg" style="border: 0; background: 0; box-shadow: 0 0 0;"></a>
</h4>
</section>
<section>
<h4>"Get a bunch of bikes and ride them around with your friends. It's the shit."</h4>
<h4>-Tyler The Creator</h4>
<img src="images/tyler.jpg" style="border: 0; background: 0; box-shadow: 0 0 0; width: 50%;">
</section>
<section>
<h4>BikeMesa - August 2021</h4>
<img src="images/bikemesa1.jpg" style="border: 0; background: 0; box-shadow: 0 0 0;">
</section>
<section>
<h4>Used Cargo bike!</h4>
<img src="images/djbike0.jpg" style="border: 0; background: 0; box-shadow: 0 0 0; width: 75%;">
</section>
<section>
<h4>thanks, Sheldon!</h4>
<img src="images/djbike1.jpg" style="border: 0; background: 0; box-shadow: 0 0 0; width: 75%;">
</section>
<section>
<h4>"Build a DJ Bike and ride it around with your friends. It's the shit." -me</h4>
<img src="images/djbike2.jpg" style="border: 0; background: 0; box-shadow: 0 0 0; width: 75%;">
</section>
<section>
<h4>Mixxx</h4>
<img src="images/mixxx.png" style="border: 0; background: 0; box-shadow: 0 0 0; width: 75%;">
</section>
<section>
<img src="images/djjohn.gif" style="border: 0; background: 0; box-shadow: 0 0 0;">
</section>
<section>
<h2><a href="https://webamp.org" target="_blank">winamp</a></h2>
<h3>Party like it's 1997!</h3>
</section>
<section>
<h3>Canvas</h3>
<pre><code data-trim data-noescape>
function paint() {
const context = canvas.getContext('2d');
context.fillStyle = 'rgb(200, 0, 0)';
context.fillRect(10, 10, 50, 50);
context.drawImage(coolPic, 30, 30, 200, 100);
requestAnimationFrame(paint);
}
requestAnimationFrame(paint);
</code></pre>
</section>
<section>
<h3>WebGL</h3>
<pre><code data-trim data-noescape>
const gl = canvas.getContext("webgl");
// setup OpenGL Shader Language (GLSL) program:
// vertex shader & fragment shader
// add some boilerplate code load and program it into the GPU
...
</code></pre>
<a href="https://webglfundamentals.org/webgl/lessons/webgl-shadertoy.html" target="_blank">boilerplate code</a>
</section>
<section>
<h3>GLSL</h3>
<ul>
<li>C-like syntax</li>
<li>built in functions (sin, cos, etc)</li>
<li>typed: (vec2, vec3, vec4, etc.)</li>
<li>swizeling</li>
</ul>
</section>
<section>
<h3>Vertex Shader</h3>
<pre><code data-trim data-noescape>
// passed in from the javascript
attribute vec4 a_position;
void main() {
// gl_Position is a special variable to return
gl_Position = a_position;
}
</code></pre>
<img src="images/triangles.jpg" style="border: 0; background: 0; box-shadow: 0 0 0;">
</section>
<section>
<h4>Fragment(pixel) Shader</h4>
<pre><code data-trim data-noescape>
void main() {
// gl_FragCoord is the x & y coordinates in canvas space
// gl_FragColor returns this pixels RGBA value
gl_FragColor = vec4(gl_FragCoord.x / 640.0, 0.0, 0.0, 1.0);
}
</code></pre>
<img src="images/firstshader.png" style="border: 0; background: 0; box-shadow: 0 0 0;">
</section>
<section>
<h3>Uniforms</h3>
<ul>
<li>time</li>
<li>mouse</li>
<li>resolution</li>
<li>audio</li>
<li>textures</li>
<li>anything from your browser!</li>
</ul>
</section>
<section>
<h2><a href="https://www.shadertoy.com/" target="_blank">ShaderToy</a></h2>
<h3><a href="https://www.youtube.com/@kishimisu" target="_blank">kishimisu's tutorials</a></h3>
</section>
<section>
<h2><a href="https://github.com/redaphid/paper-cranes" target="_blank">paper-cranes</a></h2>
spectralCentroidZScore, energy, beats, etc.
<h3><a href="https://visuals.beadfamous.com/?shader=stars" target="_blank">live demo</a></h3>
</section>
<section>
<img src="images/bikemesascreen.jpg" style="border: 0; background: 0; box-shadow: 0 0 0; width: 50%;">
</section>
<section>
<h2>WebGPU - May 2023</h2>
<ul>
<li>Abstraction later (Vulkan, Metal, and DirectX 12 )</li>
<li>Not Just for Browsers</li>
<li>WGSL</li>
</ul>
</section>
<section>
<h2>WebGPU programming</h2>
<ul>
<li>Vertex Shaders</li>
<li>Fragment Shaders</li>
<li>Compute Shaders ?!?!?</li>
</ul>
</section>
<section>
<h2>Stems</h2>
<img src="images/demucs-gui.png" style="border: 0; background: 0; box-shadow: 0 0 0; width: 50%;">
</section>
<section>
<h4>remove vocals! singing-to-text!</h4>
<img src="images/sunfly.png" style="border: 0; background: 0; box-shadow: 0 0 0; width: 50%;">
<h4>compare your vocals to the original!</h4>
</section>
<section>
<h1>Thank You!</h1>
<h3>Luis Montes</h3>
<h4>
<div>
@monteslu@Fosstodon.org
</div>
</h4>
</section>
</div>
</div>
<script src="dist/reveal.js"></script>
<script src="plugin/notes/notes.js"></script>
<script src="plugin/markdown/markdown.js"></script>
<script src="plugin/highlight/highlight.js"></script>
<script>
// More info about initialization & config:
// - https://revealjs.com/initialization/
// - https://revealjs.com/config/
Reveal.initialize({
hash: true,
// Learn about plugins: https://revealjs.com/plugins/
plugins: [ RevealMarkdown, RevealHighlight, RevealNotes ]
});
</script>
</body>
</html>