Hey #AndroidDevs, i just built a real time hand tracking app that manipulates a 3D particle sphere.
Canvas, MediaPipe and a little lerp.
No OpenGL, no 3D libs. Just pure Compose, Canvas and Math.
#Kotlin#Android#JetpackCompose#Animation
✨ First video out now! 🥳
Learn how to create delightful mesh gradients in #JetpackCompose
Works on Android and #KotlinMultiplatform
If you like the video, you can check out the code that made it, fully open source on GitHub (aka tell me how bad my code is, 😅).
Three weeks into the 'Jetpack Compose Internals: Cohort Course,' and it's been fantastic! It's a great course by @JorgeCastilloPr that dives deep into how Compose works internally, providing valuable insights and best practices for writing performant Compose code. 👏
All ViewModel APIs in one place! 🥹
There are multiple ways to obtain a ViewModel and you should choose one depending on the libraries that you use. To help you figure it out, we just released a new cheat sheet! 👌
Hope you find it useful 🙌
https://t.co/6Vv2bF95rp
Did you know? You can create an "invoke" extension function on a #Kotlin companion object. The result looks like a constructor. This can be helpful when you want a constructor syntax, while keeping the actual classes decoupled.