npm pts 1.0.1
Pts v1.0.1

2 hours ago

1.0.1 (2026-09-19)

New features

  • Path booleans. The new Path class unites, intersects, excludes, subtracts, divides and crops polygons, returning rings with holes that form.compound draws as one path.
  • Curve conversions. Curve.cardinalToBezier and Curve.bsplineToBezier turn curve anchors into cubic Bezier control points that form.bezier draws as one native path, and Curve.bezierToCardinal and Curve.bezierToBspline convert back.
  • Poisson-disk sampling. Create.sampling returns a PoissonDisk group of randomly placed points that are never closer than a given radius, and a PoissonDisk can also grow one point or one batch at a time.

Bug fix

  • Fix Num.equals threshold inclusivity (#228)

Don't miss a new pts release

NewReleases is sending notifications on new releases.