Creative Coding with Kotlin
summary
Shows creative coding with Kotlin using Compose Canvas and Compose Multiplatform, building a ghost animation with interactive flag-shaped options drawn on canvas. Uses canvas Path and Path.getBounds to treat shapes as buttons, adds horizontal scrolling via pointer input and detectDragGestures, and prevents accidental selection with an isScrollInProgress flag. Demo implements eight flag options (six initially visible), scrolling works but lacks clamping, and accessibility note recommends using real buttons instead of canvas for production.
AI-written summary · about
chapters (5)
- 0:00Introduction and background
- 3:32What is creative coding?
- 15:13Creative coding in action
- 27:01Improving the interface
- 35:06Wrapping up
related talks
36mCreative Coding with Compose
32mJetpack Compose for Games & Animations
31mComposing in your Canvas!
39mComposable Sheep: The Creative Coding Epilogue
39mCreative and complex user interfaces with Compose UI
36mBuild The Million-Dollar Animation
37mJetpack Compose for Games & Animations
49mKotlin likes to Demoparty
