~/talk

Demystifying Pixel Shaders (AGSL)

Talkat droidcon San Francisco 2024 · 2024-06-06..06-07· [web-animation]
links:none on file
slides:none on file

Shows actual AGSL code compiled into a RuntimeShader + ShaderBrush and used as a Compose modifier, passing uniforms like uniform float2 size and animating via rememberInfiniteTransition to drive a rotation (angle = time 2π). Demonstrates distance functions for circles/rectangles, smoothstep antialiasing, coordinate transforms and a 2x2 rotation matrix on a 200x200 canvas, and notes compatibility: Android 13 (API 33)*, SKSL/GLSL lineage and an OpenGL backport with source on GitHub.

AI-written summary · about

  1. 0:00Introduction
  2. 3:00What are shaders
  3. 8:49Integrating shaders into Compose
  4. 10:15Drawing shapes with shaders
  5. 15:37Transforming shapes
  6. 18:35Complex shader effects
  7. 19:41Animating shaders
  8. 24:20Live coding
  9. 26:54Shader compatibility
  10. 29:25Experimental shader ideas
  11. 30:11Summary
~/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.