Maker.js, a Microsoft Garage project, is a JavaScript library for creating and sharing modular line drawings for CNC and laser cutters.
maker cad draw cnc vector svg pdf dxf drawing fonts geometry bezier openjscad rectangle circle line arc laser 2d 3d openscad point points path model triangle outline quadratic cubic curve ellipse polygon square star dome bolt holes oval belt ring slot kerf shape font trigonometry boolean chain distort dogbone fillet intsersect intsersection measure mirror rotate scale stl plasma cutter water-jetApproximates an SVG path into a discrete list of 2D contours (polylines). This is useful for collision detection, intersection, triangulation & WebGL rendering, etc. It does not attempt to clean or optimize the discretized points.See demo/index.js for exmaple.
svg path adaptive curve bezier quadratic cubic vector points point discrete step steps approximateAll easing functions support in, out and in-out. Create a new instance of Easer. Easers on their own don't do very much.
animation easing penner functional callback abstract generic cubic sinusoidal circular exponential bounce elastic back quad quart quint browserBare-bones smoothstep function (cubic Hermite interpolation), returning a value in the range 0.0 to 1.0. Performs smoothstep from min to max using the given value, by clamping and then using cubic Hermite interpolation.
cubic hermite smooth smoothstep glsl interpolation interp lerp mix thresholdCubic Hermite spline interpolation of points / tangents in any dimension with optional derivative computation. The interpolator can also take a knot-like vector as an optional parameter, which may be useful to enforce time at control points when used for position / velocity interpolation. Computes the interpolation at t for the provided set of points and tangents, and optional knots.
cubic hermite spline interpolationAproximates cubic Bezier curves with quadratic ones. This package was done to create TTF fonts (those support quadratic curves only). Generated curves have the same tangents angles at the ends. That's important to keep result visually smooth.
cubic quad bezier
We have large collection of open source products. Follow the tags from
Tag Cloud >>
Open source products are scattered around the web. Please provide information
about the open source projects you own / you use.
Add Projects.