ngx-open-map-wrapper/node_modules/@mapbox/unitbezier
2025-09-29 14:55:14 -04:00
..
index.d.ts add addzone and update zone in map-adapter interface 2025-09-29 14:55:14 -04:00
index.js add addzone and update zone in map-adapter interface 2025-09-29 14:55:14 -04:00
LICENSE add addzone and update zone in map-adapter interface 2025-09-29 14:55:14 -04:00
package.json add addzone and update zone in map-adapter interface 2025-09-29 14:55:14 -04:00
README.md add addzone and update zone in map-adapter interface 2025-09-29 14:55:14 -04:00

Build Status

unitbezier

Unit bezier interpolation function: a port to JavaScript from Webkit:

http://svn.webkit.org/repository/webkit/trunk/Source/WebCore/platform/graphics/UnitBezier.h

api

new UnitBezier(p1x, p1y, p2x, p2y)

Initialize a new bezier curve given the points

bezier.solve(x, epsilon)

Evaluate bezier for value x (ranging from 0 to 1) with epsilon precision (1e-6 by default).