@thi.ng/math
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -6,23 +6,21 @@ # Change Log | ||
# [1.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@1.1.1...@thi.ng/math@1.2.0) (2019-03-18) | ||
## [1.2.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@1.2.0...@thi.ng/math@1.2.1) (2019-03-28) | ||
**Note:** Version bump only for package @thi.ng/math | ||
### Features | ||
* **math:** add consts ([28e9898](https://github.com/thi-ng/umbrella/commit/28e9898)) | ||
* **math:** add cos/sin approximations, loc(), add docstrings ([78ed751](https://github.com/thi-ng/umbrella/commit/78ed751)) | ||
* **math:** more trigonometry ([b5e1c02](https://github.com/thi-ng/umbrella/commit/b5e1c02)) | ||
# [1.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@1.1.1...@thi.ng/math@1.2.0) (2019-03-18) | ||
## [1.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@1.1.0...@thi.ng/math@1.1.1) (2019-03-01) | ||
### Features | ||
**Note:** Version bump only for package @thi.ng/math | ||
* **math:** add consts ([28e9898](https://github.com/thi-ng/umbrella/commit/28e9898)) | ||
* **math:** add cos/sin approximations, loc(), add docstrings ([78ed751](https://github.com/thi-ng/umbrella/commit/78ed751)) | ||
* **math:** more trigonometry ([b5e1c02](https://github.com/thi-ng/umbrella/commit/b5e1c02)) | ||
# [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@1.0.1...@thi.ng/math@1.1.0) (2019-02-05) | ||
@@ -39,12 +37,2 @@ | ||
## [1.0.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@1.0.0...@thi.ng/math@1.0.1) (2019-01-21) | ||
**Note:** Version bump only for package @thi.ng/math | ||
# [1.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@0.2.2...@thi.ng/math@1.0.0) (2019-01-21) | ||
@@ -51,0 +39,0 @@ |
126
lib/index.js
@@ -279,97 +279,97 @@ 'use strict'; | ||
exports.PI = PI; | ||
exports.TAU = TAU; | ||
exports.DEG2RAD = DEG2RAD; | ||
exports.EPS = EPS; | ||
exports.HALF_PI = HALF_PI; | ||
exports.THIRD_PI = THIRD_PI; | ||
exports.QUARTER_PI = QUARTER_PI; | ||
exports.SIXTH_PI = SIXTH_PI; | ||
exports.INV_HALF_PI = INV_HALF_PI; | ||
exports.INV_PI = INV_PI; | ||
exports.INV_TAU = INV_TAU; | ||
exports.INV_HALF_PI = INV_HALF_PI; | ||
exports.DEG2RAD = DEG2RAD; | ||
exports.PHI = PHI; | ||
exports.PI = PI; | ||
exports.QUARTER_PI = QUARTER_PI; | ||
exports.RAD2DEG = RAD2DEG; | ||
exports.PHI = PHI; | ||
exports.SIXTH = SIXTH; | ||
exports.SIXTH_PI = SIXTH_PI; | ||
exports.SQRT2 = SQRT2; | ||
exports.SQRT3 = SQRT3; | ||
exports.SQRT2_2 = SQRT2_2; | ||
exports.SQRT2_3 = SQRT2_3; | ||
exports.SQRT3 = SQRT3; | ||
exports.TAU = TAU; | ||
exports.THIRD = THIRD; | ||
exports.THIRD_PI = THIRD_PI; | ||
exports.TWO_THIRD = TWO_THIRD; | ||
exports.SIXTH = SIXTH; | ||
exports.EPS = EPS; | ||
exports.absDiff = absDiff; | ||
exports.sign = sign; | ||
exports.sincos = sincos; | ||
exports.cossin = cossin; | ||
exports.absInnerAngle = absInnerAngle; | ||
exports.absMax = absMax; | ||
exports.absMin = absMin; | ||
exports.absTheta = absTheta; | ||
exports.absInnerAngle = absInnerAngle; | ||
exports.angleDist = angleDist; | ||
exports.atan2Abs = atan2Abs; | ||
exports.quadrant = quadrant; | ||
exports.bounce = bounce; | ||
exports.circular = circular; | ||
exports.clamp = clamp; | ||
exports.clamp01 = clamp01; | ||
exports.clamp11 = clamp11; | ||
exports.cosine = cosine; | ||
exports.cossin = cossin; | ||
exports.cot = cot; | ||
exports.csc = csc; | ||
exports.cubicPulse = cubicPulse; | ||
exports.decimated = decimated; | ||
exports.deg = deg; | ||
exports.rad = rad; | ||
exports.csc = csc; | ||
exports.sec = sec; | ||
exports.cot = cot; | ||
exports.loc = loc; | ||
exports.normCos = normCos; | ||
exports.derivative = derivative; | ||
exports.ease = ease; | ||
exports.eqDelta = eqDelta; | ||
exports.eqDeltaFixed = eqDeltaFixed; | ||
exports.expStep = expStep; | ||
exports.fastCos = fastCos; | ||
exports.fastSin = fastSin; | ||
exports.eqDelta = eqDelta; | ||
exports.eqDeltaFixed = eqDeltaFixed; | ||
exports.norm = norm; | ||
exports.fit = fit; | ||
exports.fitClamped = fitClamped; | ||
exports.fit01 = fit01; | ||
exports.fit10 = fit10; | ||
exports.fit11 = fit11; | ||
exports.clamp = clamp; | ||
exports.clamp01 = clamp01; | ||
exports.clamp11 = clamp11; | ||
exports.wrap = wrap; | ||
exports.wrap01 = wrap01; | ||
exports.wrap11 = wrap11; | ||
exports.fitClamped = fitClamped; | ||
exports.fmod = fmod; | ||
exports.foldback = foldback; | ||
exports.fract = fract; | ||
exports.gain = gain; | ||
exports.impulse = impulse; | ||
exports.inOpenRange = inOpenRange; | ||
exports.inRange = inRange; | ||
exports.loc = loc; | ||
exports.max2id = max2id; | ||
exports.max3id = max3id; | ||
exports.max4id = max4id; | ||
exports.min2id = min2id; | ||
exports.min3id = min3id; | ||
exports.min4id = min4id; | ||
exports.max2id = max2id; | ||
exports.max3id = max3id; | ||
exports.max4id = max4id; | ||
exports.smin = smin; | ||
exports.smax = smax; | ||
exports.sclamp = sclamp; | ||
exports.absMin = absMin; | ||
exports.absMax = absMax; | ||
exports.foldback = foldback; | ||
exports.inRange = inRange; | ||
exports.inOpenRange = inOpenRange; | ||
exports.minError = minError; | ||
exports.mix = mix; | ||
exports.mixBilinear = mixBilinear; | ||
exports.mixCubic = mixCubic; | ||
exports.mixQuadratic = mixQuadratic; | ||
exports.mixCubic = mixCubic; | ||
exports.tween = tween; | ||
exports.circular = circular; | ||
exports.cosine = cosine; | ||
exports.decimated = decimated; | ||
exports.bounce = bounce; | ||
exports.ease = ease; | ||
exports.impulse = impulse; | ||
exports.gain = gain; | ||
exports.norm = norm; | ||
exports.normCos = normCos; | ||
exports.parabola = parabola; | ||
exports.cubicPulse = cubicPulse; | ||
exports.sinc = sinc; | ||
exports.fmod = fmod; | ||
exports.fract = fract; | ||
exports.trunc = trunc; | ||
exports.quadrant = quadrant; | ||
exports.rad = rad; | ||
exports.roundEps = roundEps; | ||
exports.roundTo = roundTo; | ||
exports.roundEps = roundEps; | ||
exports.sclamp = sclamp; | ||
exports.sec = sec; | ||
exports.sign = sign; | ||
exports.simplifyRatio = simplifyRatio; | ||
exports.derivative = derivative; | ||
exports.sinc = sinc; | ||
exports.sincos = sincos; | ||
exports.smax = smax; | ||
exports.smin = smin; | ||
exports.smoothStep = smoothStep; | ||
exports.smootherStep = smootherStep; | ||
exports.solveCubic = solveCubic; | ||
exports.solveLinear = solveLinear; | ||
exports.solveQuadratic = solveQuadratic; | ||
exports.solveCubic = solveCubic; | ||
exports.step = step; | ||
exports.smoothStep = smoothStep; | ||
exports.smootherStep = smootherStep; | ||
exports.expStep = expStep; | ||
exports.trunc = trunc; | ||
exports.tween = tween; | ||
exports.wrap = wrap; | ||
exports.wrap01 = wrap01; | ||
exports.wrap11 = wrap11; |
@@ -281,98 +281,98 @@ (function (global, factory) { | ||
exports.PI = PI; | ||
exports.TAU = TAU; | ||
exports.DEG2RAD = DEG2RAD; | ||
exports.EPS = EPS; | ||
exports.HALF_PI = HALF_PI; | ||
exports.THIRD_PI = THIRD_PI; | ||
exports.QUARTER_PI = QUARTER_PI; | ||
exports.SIXTH_PI = SIXTH_PI; | ||
exports.INV_HALF_PI = INV_HALF_PI; | ||
exports.INV_PI = INV_PI; | ||
exports.INV_TAU = INV_TAU; | ||
exports.INV_HALF_PI = INV_HALF_PI; | ||
exports.DEG2RAD = DEG2RAD; | ||
exports.PHI = PHI; | ||
exports.PI = PI; | ||
exports.QUARTER_PI = QUARTER_PI; | ||
exports.RAD2DEG = RAD2DEG; | ||
exports.PHI = PHI; | ||
exports.SIXTH = SIXTH; | ||
exports.SIXTH_PI = SIXTH_PI; | ||
exports.SQRT2 = SQRT2; | ||
exports.SQRT3 = SQRT3; | ||
exports.SQRT2_2 = SQRT2_2; | ||
exports.SQRT2_3 = SQRT2_3; | ||
exports.SQRT3 = SQRT3; | ||
exports.TAU = TAU; | ||
exports.THIRD = THIRD; | ||
exports.THIRD_PI = THIRD_PI; | ||
exports.TWO_THIRD = TWO_THIRD; | ||
exports.SIXTH = SIXTH; | ||
exports.EPS = EPS; | ||
exports.absDiff = absDiff; | ||
exports.sign = sign; | ||
exports.sincos = sincos; | ||
exports.cossin = cossin; | ||
exports.absInnerAngle = absInnerAngle; | ||
exports.absMax = absMax; | ||
exports.absMin = absMin; | ||
exports.absTheta = absTheta; | ||
exports.absInnerAngle = absInnerAngle; | ||
exports.angleDist = angleDist; | ||
exports.atan2Abs = atan2Abs; | ||
exports.quadrant = quadrant; | ||
exports.bounce = bounce; | ||
exports.circular = circular; | ||
exports.clamp = clamp; | ||
exports.clamp01 = clamp01; | ||
exports.clamp11 = clamp11; | ||
exports.cosine = cosine; | ||
exports.cossin = cossin; | ||
exports.cot = cot; | ||
exports.csc = csc; | ||
exports.cubicPulse = cubicPulse; | ||
exports.decimated = decimated; | ||
exports.deg = deg; | ||
exports.rad = rad; | ||
exports.csc = csc; | ||
exports.sec = sec; | ||
exports.cot = cot; | ||
exports.loc = loc; | ||
exports.normCos = normCos; | ||
exports.derivative = derivative; | ||
exports.ease = ease; | ||
exports.eqDelta = eqDelta; | ||
exports.eqDeltaFixed = eqDeltaFixed; | ||
exports.expStep = expStep; | ||
exports.fastCos = fastCos; | ||
exports.fastSin = fastSin; | ||
exports.eqDelta = eqDelta; | ||
exports.eqDeltaFixed = eqDeltaFixed; | ||
exports.norm = norm; | ||
exports.fit = fit; | ||
exports.fitClamped = fitClamped; | ||
exports.fit01 = fit01; | ||
exports.fit10 = fit10; | ||
exports.fit11 = fit11; | ||
exports.clamp = clamp; | ||
exports.clamp01 = clamp01; | ||
exports.clamp11 = clamp11; | ||
exports.wrap = wrap; | ||
exports.wrap01 = wrap01; | ||
exports.wrap11 = wrap11; | ||
exports.fitClamped = fitClamped; | ||
exports.fmod = fmod; | ||
exports.foldback = foldback; | ||
exports.fract = fract; | ||
exports.gain = gain; | ||
exports.impulse = impulse; | ||
exports.inOpenRange = inOpenRange; | ||
exports.inRange = inRange; | ||
exports.loc = loc; | ||
exports.max2id = max2id; | ||
exports.max3id = max3id; | ||
exports.max4id = max4id; | ||
exports.min2id = min2id; | ||
exports.min3id = min3id; | ||
exports.min4id = min4id; | ||
exports.max2id = max2id; | ||
exports.max3id = max3id; | ||
exports.max4id = max4id; | ||
exports.smin = smin; | ||
exports.smax = smax; | ||
exports.sclamp = sclamp; | ||
exports.absMin = absMin; | ||
exports.absMax = absMax; | ||
exports.foldback = foldback; | ||
exports.inRange = inRange; | ||
exports.inOpenRange = inOpenRange; | ||
exports.minError = minError; | ||
exports.mix = mix; | ||
exports.mixBilinear = mixBilinear; | ||
exports.mixCubic = mixCubic; | ||
exports.mixQuadratic = mixQuadratic; | ||
exports.mixCubic = mixCubic; | ||
exports.tween = tween; | ||
exports.circular = circular; | ||
exports.cosine = cosine; | ||
exports.decimated = decimated; | ||
exports.bounce = bounce; | ||
exports.ease = ease; | ||
exports.impulse = impulse; | ||
exports.gain = gain; | ||
exports.norm = norm; | ||
exports.normCos = normCos; | ||
exports.parabola = parabola; | ||
exports.cubicPulse = cubicPulse; | ||
exports.sinc = sinc; | ||
exports.fmod = fmod; | ||
exports.fract = fract; | ||
exports.trunc = trunc; | ||
exports.quadrant = quadrant; | ||
exports.rad = rad; | ||
exports.roundEps = roundEps; | ||
exports.roundTo = roundTo; | ||
exports.roundEps = roundEps; | ||
exports.sclamp = sclamp; | ||
exports.sec = sec; | ||
exports.sign = sign; | ||
exports.simplifyRatio = simplifyRatio; | ||
exports.derivative = derivative; | ||
exports.sinc = sinc; | ||
exports.sincos = sincos; | ||
exports.smax = smax; | ||
exports.smin = smin; | ||
exports.smoothStep = smoothStep; | ||
exports.smootherStep = smootherStep; | ||
exports.solveCubic = solveCubic; | ||
exports.solveLinear = solveLinear; | ||
exports.solveQuadratic = solveQuadratic; | ||
exports.solveCubic = solveCubic; | ||
exports.step = step; | ||
exports.smoothStep = smoothStep; | ||
exports.smootherStep = smootherStep; | ||
exports.expStep = expStep; | ||
exports.trunc = trunc; | ||
exports.tween = tween; | ||
exports.wrap = wrap; | ||
exports.wrap01 = wrap01; | ||
exports.wrap11 = wrap11; | ||
@@ -379,0 +379,0 @@ Object.defineProperty(exports, '__esModule', { value: true }); |
{ | ||
"name": "@thi.ng/math", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Assorted common math functions & utilities", | ||
@@ -47,3 +47,3 @@ "module": "./index.js", | ||
"sideEffects": false, | ||
"gitHead": "b032167da28b83e93d3cbc54a47b053092ad7c4f" | ||
"gitHead": "1936d357f46f46d0435e3c7597b845898a91b80d" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
105741