Creative Coding with Compose The Next Chapter
summary
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
chapters (11)
- 0:00Introduction and motivation
- 4:47Creative coding process overview
- 5:29Exploring Compose Canvas API
- 8:00Drawing polygons with trigonometry
- 11:35Generating variations of shapes
- 15:26Building interactive control panel
- 17:10Creating stateful canvas layers
- 21:44Adding texture with shaders
- 29:54Exporting and sharing artwork
- 32:42Refining and experimenting
- 35:29Closing and resources
related talks
36mCreative Coding with Compose
18mI Need You to Create with Code
39mComposable Sheep: The Creative Coding Epilogue
42mGlitz and glamor: the compose edition
01h 11mCodelab: Jetpack Compose Basics
23mComposing With Confidence
41mCompose by Example
44mAccessibility with Compose : Experimentation & Live coding
