AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
The Android X Core KTX Library Has a Linear Approximation to a Curve
The Android X core KTX library, we have a nicer API for that. So there's a cutting iterator and self-giving a raw floater,. Gives you a nice series of path segments. We don't always have to go to lines. But again, very common thing. And it works too. You have curves for like motion in space. There are three curves that works just the same way. If you want to move an object along that curve or if you want to do intersections, you can always go back to lines. I'm sure the primer on busy curves as fancy equations will be helpful.