0.0.1 • Published 3 years ago

@mapbox/unitbezier v0.0.1

Weekly downloads
405,272
License
BSD-2-Clause
Repository
github
Last release
3 years ago

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).

@simosol/mapbox-gl-js-offlinebst-map-gl@mapcreator/mapbox-gl@everything-registry/sub-chunk-579@langge-data/mapbox-gl@inelo/maplibre-gl@hansdo/maplibre-gl@infinitebrahmanuniverse/nolb-_map@jingsam/mapbox-gl@kantas/vector-js@geops/maplibre-gl@geomatico/mapbox-gl@globalfishingwatch/mapbox-gl@globalfishingwatch/maplibre-gl@globalfishingwatch/maplibre-gl-style-spec@goongmaps/goong-js@luqh_mapbox/mapbox-gl@mapgis/mapbox-gl@mapcat/mapbox-gl@maplibre/maplibre-gl-style-spec@mapbox/mapbox-gl-style-spec@maps-gl/maps-glx-mapbox-glxtal-glxyd-mapbox-gl@onthegomap/mapbox-gl@openlayers/mapbox-gl-style-spec@porsager/mapbox-gl@plotly/mapbox-gl@shitao1988/swsk-mapbox-gl@shitao1988/swsk-mapbox-gl-js@windycom/maplibre-gl@webdeb/mapbox-gl@ogix/mapbox-gl@sakitam-gis/mapbox-gl@krisdages/mapbox-gl@jhgrrewq/l7-map@pirxpilot/mapbox-gl@xbcx/mapbox-gl@xt-plugins/mapbox-gl@emuanalytics/maplibre-gl@emuanalytics/maplibre-gl-style-spec@tssu/mapbox-gl@xll/mapbox-gl@yongju/maplibre-gl@tommy2gis/swsk-mapbox-glanthonyhull-mapbox-glanother-mapmagic-gl@feltmaps/protomaps@felix5/mapbox-webgl2f-mapbox-glpbf-basic-render@autoxing/mapbox-gl@bewithjonam/mapbox-gl@acalcutt/maplibre-gl-style-specark-mapp-mapbox-gl@3drobotics/mapbox-gl@antv/l7-map@americana/maplibre-gl-style-specpetr-maplibre-gl@appearhere/mapbox-gl@bcherny/mapbox-glcheaper-mapbox-gl-with-referrer-policycomments-mapgeosgl-style-spec@ark-org/map@cgcs2000/l7-map@cgcs2000/mapbox-gl@cczbby/mapbox-gl@cczbby/maplibre-gl@carto/mapbox-gldingi-glrpd-mapbox-gldmap-gl@curio/mapbox-gl@dfw810/mapbox-glrif-mapbox-glmapbox-gl-testmapbox-gl-testingmapbox-gl-tultmapbox-gl-style-spec-module-exportmapbox-gl-htmapbox-gl-js-with-shapesmapbox-gl-kyemapbox-gl-mapmagicmapbox-gl-mbtilesmapbox-gl-mdorymapbox-gl-tdtsdmapd-chartingmapbox-with-shapesmapbox-glmapbox-gl--custom-stretchmapbox-gl-custom-layermapbox-gl-encryptedmapbox-gl-epsg4490mapbox-gl-ahtmaplibre-glmaplibre-gl-ashmaplibre-gl-reduce-functionalities
0.0.1

3 years ago

0.0.0

7 years ago