~/talk

Creative Coding with Compose

Talkat droidcon New York 2022 · 2022-09-01..09-02· [android, creative-coding]
slides:none on file

Shows how Jetpack Compose renders animated generative art by building a grid in UV space and converting to XY with lerp/norm/map, then animates it using a coroutine-driven “sketch” time value. Demonstrates deterministic variation with GLM Perlin/Simplex noise (2D/3D/4D) to make flow fields, maps noise to hue (0–360) for color, and uses polar math for oriented lines. Includes a concrete capture method via pixelCopy (API 28) and notes Android 13 runtime shaders for higher‑performance effects; examples run and produce looping, savable visuals.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:36What is generative art
  3. 4:46Creative coding with Compose
  4. 6:33Drawing grids in Compose
  5. 10:11Morphing grid dots
  6. 13:18Mapping trig functions
  7. 17:30Capturing frames with PixelCopy
  8. 19:18Sketch function for animations
  9. 22:06Noise functions for smooth randomness
  10. 27:18Flow fields with lines
  11. 32:34Adding color with hue
  12. 33:55Shaders in creative coding
  13. 35:00Closing and summary
~/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.