adaptive and scalable 2D quadratic curves