Draw sine waves efficiently in android… here is a solution to the problem.
Draw sine waves efficiently in android
I’m making an app where I need to draw a sine wave between two given points. I’ve googled, googled, but I haven’t found anything that I see fit.
Is there an efficient way in android to draw smooth wavy shapes with some predefined points?
Solution
You can construct a set of quadratic or tertiary using the android.graphics.Path class Bézier spline curve between your set of control points.