Composable Sheep: The Creative Coding Epilogue
summary
Shows how to draw and animate by plotting points in Compose using Canvas plus animationState and launchedEffect to drive a sketch composable that yields a time value. Builds an Archimedean spiral by converting polar to Cartesian, maps function outputs with lerp/norm/map, makes grids clipped to a circle, smooths spikes with Perlin noise and Kotlin GLM, and paints moving gradients with AGSL runtime shaders on Android 13. All examples run live in the sketch loop.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 1:10What is creative coding
- 5:00Creative coding in Compose
- 8:56Maths for drawing and morphing
- 12:30Introducing the sketch tool
- 13:12Drawing a sheep spiral
- 19:31Exploring spiral variations
- 20:14Creating sheep fluff grids
- 25:29Animating fluff with noise
- 33:33Shaders for creative effects
- 38:08Chipping up the process
related talks
32mComposable Sheep: A Canvas Story
36mCreative Coding with Compose
32mJetpack Compose for Games & Animations
46mDemystifying Pixel Shaders (AGSL)
37mJetpack Compose for Games & Animations
38mBringing Your Canvas Creations to Life with Jetpack Compose
36mBuild The Million-Dollar Animation
37mCreative Coding with Kotlin
