Growing a Language for Graphics
summary
Shows a working WebGL visualization of Obama’s “four more years” tweet and other projects that use WebGL plus 2D textures to map geolocated tweets, explaining the pipeline: buffer of XYZ points, GLSL vertex and fragment shaders that run on the GPU, triangle assembly and rasterization. Argues JavaScript needs extensible numeric/vector types and operator overloading, traces proposals from ES4 (2007) through proxies (2010), and notes after seven years there is still no consensus on value objects and operator overloading.
AI-written summary · about
chapters (11)
- 0:00Start
- 3:18WebGL - Pipeline
- 4:03WebGL - API
- 5:51GLSL & JS Simple interpolation
- 9:59Generic Functions ES4 draft
- 10:27Generic Functions Dynamic Dispatch - How does it work? Java does not have dynamic dispatch in its method arguments
- 11:08Generic Functions Dynamic Dispatch - How does it work? But what happens with "instances"?
- 12:56Double Dispatch Same principle as Smalltalk
- 14:23Double Dispatch Problems on extensibility
- 15:21Value Types
- 15:40Value Proxies Proxies
related talks
26mCreative experiments with WebGL shaders in JavaScript
22mWebGL For More Than Graphics: Is It Possible?
25mArbitrary Computation on the GPU Using WebGL
34mBringing the Fun to Graphics Programming
39mThe Pixel Factory
13mWebGL Demo with THREE.js
05mA Brief Intro to GPU Shader Programming in WebGL
22mThe Power of Mathematics in JavaScript
