Behdad Esfahbod

Results 1482 comments of Behdad Esfahbod

Thanks James. Note that the final getArea() is not "area under the curve anymore". That would have been the initial integral, before subtracting the area under the line segment p0-p3....

Write. It's still the "signed area".

@deanm Thanks for the writeup. Saved me writing that in the future! I ended up using sympy to implement Green's theorem and apply it to find mean, variance, and covariance...

The derivative of a quadratic bezier curve is a line segment L. We want the integral of the distance from origin to points on this line segment. Now, just rotate...

TrueType GX for example. Manual hinting another example. I should have a very good routine for this in a few weeks' time.

Designing in quadratic is a royal PITA.

> I think you're talking of different types of curve-fitting here: @soswow's link is to a port of Philip J. Schneider's algorithm that tries to put as few curves as...