Pomax

Results 420 issues of Pomax

The return object has `x` and `y`, but also `t` for the associated time parameter, and `d` for the length of the projection vector.

enhancement

allow for a 2 coordinate "curve" to facilitate pathing + add in degeneracy detection to mark as linear in constructor/update

enhancement

The old SVG parsing was throwaway code and was never part of the public API. I've ripped it out so so it can be done properly. An implementation task list:...

enhancement
help wanted

If a point is on-or-near-enough the curve, return all t values that yield the specified point. This will allow things like: ``` getDistanceforPoint(p): ts = getTforPoint(p) ds = (ts: (t)...

see https://math.stackexchange.com/questions/2843307/getting-constistent-normals-along-a-3d-bezier-curve

There is no need to offer both bezier.js and the source code that's built off of, bezier.js is all that's required to make things work both in the browser and...

For linear traversal along the curve, or just a way to query the curve for its distance reparameterisation.

The iteration should continue until it hits error resolution, after which any value is acceptable, and so rather than clusters we can use a final linear intersection check to find...

enhancement

Change the `.length()` function so that it can be called as `.length(t)`, setting the limits of integration to `[0,t]` rather than the current `[0,1]`. ``` length: function(t, undef) { t...