~/talk

Creative Coding with Compose The Next Chapter

Talkat droidcon San Francisco 2023 · 2023-06-08..06-09· [creative-coding, android]
slides:none on file

Uses Jetpack Compose canvas and polar math to generate polygons, adds randomness and repetition to produce hundreds of layered variations, and implements a stateful canvas via ImageBitmap + drawWithCache/drawBehind so drawings accumulate instead of clearing. Applies AGSL noise shaders via runtime shader (API 33+) to add grainy texture, exposes intensity controls, and experiments with blend modes; captures results with PixelCopy (API 28+). Workflows powered by a small control panel and iterative randomness, produced many successful January generative pieces, with ChatGPT used for code ideas.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 4:47Creative coding process overview
  3. 5:29Exploring Compose Canvas API
  4. 8:00Drawing polygons with trigonometry
  5. 11:35Generating variations of shapes
  6. 15:26Building interactive control panel
  7. 17:10Creating stateful canvas layers
  8. 21:44Adding texture with shaders
  9. 29:54Exporting and sharing artwork
  10. 32:42Refining and experimenting
  11. 35:29Closing and resources
~/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.