~/talk

Painting Pixels with WebGL with React Hooks

Talkat React Amsterdam 2019 · 2019-04-10..04-12· [react, web-performance]
slides:none on file

A demo stacks raw WebGL shaders with React state management and a tiny runtime that streams Apple Pencil events over WebSocket so the GPU paints live. It uses luma.gl + parcel + WebSocket piping stylus data to feed vertex buffers, a vertex shader mapping X Y pressure to position color and size, and fragment shaders that implement a flood-fill / Voronoi style watercolor, blurs, afterimage and Game of Life. Resource sharing is handled by a spreadsheet-like evaluator; the prototype works but has reload and performance quirks.

AI-written summary · about

  1. 0:00Start
  2. 4:36Vertex Shader
  3. 5:52Outputs
  4. 11:39Limitations
  5. 13:36Fragment Shader
  6. 15:13Bleeding Fragment Shader
  7. 16:19Shaders
  8. 26:05Simple Shaders
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.