title: Drawing 2D curves in Android canvas?
body: <p>How we can draw 2D curves like this in <code>Canvas</code>?</p>
  
  <p><img src="https://i.stack.imgur.com/N5eZC.gif" alt="enter image description here">
  <img src="https://i.stack.imgur.com/BRu8c.gif" alt="enter image description here">
  <img src="https://i.stack.imgur.com/mKItC.gif" alt="enter image description here"></p>
  
  <p>All similar curves have <code>mathematical formula</code> or are <code>fractals</code>, but the canvas only has some methods for drawing simple shapes like a triangle or rectangle. I know that most curves can divide into simpler shapes such as with drawing a <a href="http://www.mathematische-basteleien.de/heart.htm" rel="nofollow noreferrer">Heart Curve</a>, but is there an easier way to draw 2D curves with the canvas?</p>