{"_id":"curve-interpolator","_rev":"64-014928b55e7d6e7ce5dcbefded1c47ea","name":"curve-interpolator","dist-tags":{"latest":"3.3.1","next":"2.0.0","beta":"3.1.0-beta.6"},"versions":{"0.1.0":{"private":false,"name":"curve-interpolator","version":"0.1.0","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["interpolate","interpolator","curve","spline"],"main":"dist/curve-interpolator.cjs.js","module":"dist/curve-interpolator.esm.js","browser":"dist/curve-interpolator.js","dependencies":{},"devDependencies":{"babel-cli":"^6.8.0","babel-core":"^6.8.0","babel-eslint":"^8.2.2","babel-plugin-external-helpers":"^6.22.0","babel-preset-env":"^1.6.1","babel-register":"^6.8.0","chai":"^4.1.2","eslint":"^4.18.2","eslint-config-airbnb":"^16.1.0","eslint-plugin-import":"^2.9.0","eslint-plugin-jsx-a11y":"^6.0.3","eslint-plugin-react":"^7.7.0","mathjs":"^4.0.0","mocha":"^5.0.4","rollup":"^0.56.5","rollup-plugin-babel":"^3.0.3","rollup-plugin-commonjs":"^8.0.2","rollup-plugin-node-resolve":"^3.0.0","sinon":"^4.4.2"},"scripts":{"build":"rollup -c","dev":"rollup -c -w","test":"NODE_ENV=test mocha --require babel-register","test:watch":"NODE_ENV=test mocha --require babel-register --reporter min --watch","lint":"eslint src test tools"},"files":["dist"],"gitHead":"3e41684f7b0200157e4a16566984d39ff0e8e474","bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@0.1.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.0","_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"dist":{"integrity":"sha512-9s3glpiEk5cYhPX2TZCo5FfYoNlv9dywUt9snrPne8ZYR1ixIqyGstfBvCM7WsQthvZwHC8StKOgihZ/o6fnvw==","shasum":"8cb6694b0df5dc7232927a61b5a2880897095634","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-0.1.0.tgz","fileCount":9,"unpackedSize":115379,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUtKOiKwx+/t6frdXThuPLgqCeA44Va/CRJYeJh+0SLwIgDIjgEstHG89ttlz1rWJ6FTl5RHOEB1+fz0fii6EKdf8="}]},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_0.1.0_1520937674478_0.22872535283887507"},"_hasShrinkwrap":false},"0.1.1":{"private":false,"name":"curve-interpolator","version":"0.1.1","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["interpolate","interpolator","curve","spline"],"main":"dist/curve-interpolator.cjs.js","module":"dist/curve-interpolator.esm.js","browser":"dist/curve-interpolator.js","dependencies":{},"devDependencies":{"babel-cli":"^6.8.0","babel-core":"^6.8.0","babel-eslint":"^8.2.2","babel-plugin-external-helpers":"^6.22.0","babel-preset-env":"^1.6.1","babel-register":"^6.8.0","chai":"^4.1.2","eslint":"^4.18.2","eslint-config-airbnb":"^16.1.0","eslint-plugin-import":"^2.9.0","eslint-plugin-jsx-a11y":"^6.0.3","eslint-plugin-react":"^7.7.0","mathjs":"^4.0.0","mocha":"^5.0.4","rollup":"^0.56.5","rollup-plugin-babel":"^3.0.3","rollup-plugin-commonjs":"^8.0.2","rollup-plugin-node-resolve":"^3.0.0","sinon":"^4.4.2"},"scripts":{"build":"rollup -c","dev":"rollup -c -w","test":"NODE_ENV=test mocha --require babel-register","test:watch":"NODE_ENV=test mocha --require babel-register --reporter min --watch","lint":"eslint src test tools"},"files":["dist"],"gitHead":"fe28c9ef2a76d0ddd4fd028bed163ed14782296d","bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@0.1.1","_npmVersion":"5.5.1","_nodeVersion":"8.9.0","_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"dist":{"integrity":"sha512-3VTXDkZ2HUzNRzf25bSDenAzhxjllQEAkUJ8FUOX15Qgi28B1pJ7r5D/w2jxI0CJKPTktLzRqOOWxYiHr8WuRA==","shasum":"3b6e3b3c911816c7f1c4d58a1bae706807cc507d","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-0.1.1.tgz","fileCount":9,"unpackedSize":121331,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAm+Khg6NuYcT8YM7blMGrY4kk5OuRHkctAO89cfyEIBAiA0ZDp1PEVr0mtgPGHHeXJF9t7TnJAZjtaHk6kG5DT9Zg=="}]},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_0.1.1_1520944655612_0.4399674015461028"},"_hasShrinkwrap":false},"0.1.2":{"private":false,"name":"curve-interpolator","version":"0.1.2","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["interpolate","interpolator","curve","spline"],"main":"dist/curve-interpolator.cjs.js","module":"dist/curve-interpolator.esm.js","browser":"dist/curve-interpolator.js","dependencies":{"minimatrix-polyroots":"^2.0.2"},"devDependencies":{"babel-cli":"^6.8.0","babel-core":"^6.8.0","babel-eslint":"^8.2.2","babel-plugin-external-helpers":"^6.22.0","babel-preset-env":"^1.6.1","babel-register":"^6.8.0","chai":"^4.1.2","eslint":"^4.18.2","eslint-config-airbnb":"^16.1.0","eslint-plugin-import":"^2.9.0","eslint-plugin-jsx-a11y":"^6.0.3","eslint-plugin-react":"^7.7.0","mathjs":"^4.0.0","mocha":"^5.0.4","rollup":"^0.56.5","rollup-plugin-babel":"^3.0.3","rollup-plugin-commonjs":"^8.0.2","rollup-plugin-node-resolve":"^3.2.0","sinon":"^4.4.2"},"scripts":{"build":"rollup -c","dev":"rollup -c -w","test":"NODE_ENV=test mocha --require babel-register","test:watch":"NODE_ENV=test mocha --require babel-register --reporter min --watch","lint":"eslint src test tools"},"files":["dist"],"gitHead":"11a2850e2b6a2d2fd1ee09554c24ed85bc54aa6a","bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@0.1.2","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"dist":{"integrity":"sha512-3uMitGC1nqvL7dDlw1V9N+OgVHU877bNqxWfwv72yXyLNmT7ATwTa6S0zEIL7wK9M4IYcEv2Me1Lb3x6VBhoKQ==","shasum":"17ab2d02491127b14c0b38497396419865a72d8b","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-0.1.2.tgz","fileCount":9,"unpackedSize":157432,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHNsFp68HYL0xKPU68vqzNm1AF5LLmVF+LKHxLnfTQiYAiBXFFFaxjF8ww2InpwmkQVwJrYzX42xl/qUukKWWJwoFg=="}]},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_0.1.2_1521032445342_0.37769036751492946"},"_hasShrinkwrap":false},"0.1.3":{"private":false,"name":"curve-interpolator","version":"0.1.3","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["interpolate","interpolator","curve","spline"],"main":"dist/curve-interpolator.cjs.js","module":"dist/curve-interpolator.esm.js","browser":"dist/curve-interpolator.js","dependencies":{"minimatrix-polyroots":"^2.0.2"},"devDependencies":{"babel-cli":"^6.8.0","babel-core":"^6.8.0","babel-eslint":"^8.2.2","babel-plugin-external-helpers":"^6.22.0","babel-preset-env":"^1.6.1","babel-register":"^6.8.0","chai":"^4.1.2","eslint":"^4.18.2","eslint-config-airbnb":"^16.1.0","eslint-plugin-import":"^2.9.0","eslint-plugin-jsx-a11y":"^6.0.3","eslint-plugin-react":"^7.7.0","mathjs":"^4.0.0","mocha":"^5.0.4","rollup":"^0.56.5","rollup-plugin-babel":"^3.0.3","rollup-plugin-commonjs":"^8.0.2","rollup-plugin-node-resolve":"^3.2.0","sinon":"^4.4.2"},"scripts":{"build":"rollup -c","dev":"rollup -c -w","test":"NODE_ENV=test mocha --require babel-register","test:watch":"NODE_ENV=test mocha --require babel-register --reporter min --watch","lint":"eslint src test tools"},"files":["dist"],"gitHead":"fcfd89ac6da340ade34dad2cc7162743c29e9911","bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@0.1.3","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"dist":{"integrity":"sha512-HnhsvoV1TgVIcwj+BtFkJAO1Eq/cGNX0Qsb7tvA1zZC5fxR9fipsYKP5UNoLMHs9I6TwHKtM7IuAb9BixvNGiQ==","shasum":"d5b746e0336ded8b193e211d452499ec4fd7ef6c","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-0.1.3.tgz","fileCount":9,"unpackedSize":159738,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQB23j1R8+mqLsPdrMJTqjrYhyB5EoquDVy8+C9GeC9QIgYX/Jl+4/9G0uDO1Wvk7LnCJxyT3a8yuLAIKQqXRUnWg="}]},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_0.1.3_1521033243258_0.39526605201555975"},"_hasShrinkwrap":false},"0.1.4":{"private":false,"name":"curve-interpolator","version":"0.1.4","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["interpolate","interpolator","curve","spline"],"main":"dist/curve-interpolator.cjs.js","module":"dist/curve-interpolator.esm.js","browser":"dist/curve-interpolator.js","dependencies":{"minimatrix-polyroots":"^2.0.2"},"devDependencies":{"babel-cli":"^6.8.0","babel-core":"^6.8.0","babel-eslint":"^8.2.2","babel-plugin-external-helpers":"^6.22.0","babel-preset-env":"^1.6.1","babel-register":"^6.8.0","chai":"^4.1.2","eslint":"^4.18.2","eslint-config-airbnb":"^16.1.0","eslint-plugin-import":"^2.9.0","eslint-plugin-jsx-a11y":"^6.0.3","eslint-plugin-react":"^7.7.0","mathjs":"^4.0.0","mocha":"^5.0.4","rollup":"^0.56.5","rollup-plugin-babel":"^3.0.3","rollup-plugin-commonjs":"^8.0.2","rollup-plugin-node-resolve":"^3.2.0","sinon":"^4.4.2"},"scripts":{"build":"rollup -c","dev":"rollup -c -w","test":"NODE_ENV=test mocha --require babel-register","test:watch":"NODE_ENV=test mocha --require babel-register --reporter min --watch","lint":"eslint src test tools"},"files":["dist"],"gitHead":"5ac9de7bc37f9776b33b93681aaa8fef28a95805","bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@0.1.4","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"dist":{"integrity":"sha512-wqWQ4YI846slu9OGpPcNqjACNU4i4vQ4u27WT4+8F9ouE547h5XcMojqYxowNZRjbUdriqSxU+El9To9ZgFRDA==","shasum":"e4df4e89bf23741e36727701b9eeb44b6c80f042","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-0.1.4.tgz","fileCount":9,"unpackedSize":158530,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDAILRjGmX2wbCFbGoFCuuy/GN+Gwdb/rWy5KTCU9fe7wIhAOt1rzmdQNe8j0i5nDDzS5OgdcR3rcIE4AvLXyO2Ha5P"}]},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_0.1.4_1521035555692_0.303960776535936"},"_hasShrinkwrap":false},"0.2.0":{"private":false,"name":"curve-interpolator","version":"0.2.0","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["interpolate","interpolator","curve","spline"],"main":"dist/curve-interpolator.cjs.js","module":"dist/curve-interpolator.esm.js","browser":"dist/curve-interpolator.js","dependencies":{"minimatrix-polyroots":"^2.0.2"},"devDependencies":{"babel-cli":"^6.8.0","babel-core":"^6.8.0","babel-eslint":"^8.2.2","babel-plugin-external-helpers":"^6.22.0","babel-preset-env":"^1.6.1","babel-register":"^6.8.0","chai":"^4.1.2","eslint":"^4.18.2","eslint-config-airbnb":"^16.1.0","eslint-plugin-import":"^2.9.0","eslint-plugin-jsx-a11y":"^6.0.3","eslint-plugin-react":"^7.7.0","mathjs":"^4.0.0","mocha":"^5.0.4","rollup":"^0.56.5","rollup-plugin-babel":"^3.0.3","rollup-plugin-commonjs":"^8.0.2","rollup-plugin-node-resolve":"^3.2.0","sinon":"^4.4.2"},"scripts":{"build":"rollup -c","dev":"rollup -c -w","test":"NODE_ENV=test mocha --require babel-register","test:watch":"NODE_ENV=test mocha --require babel-register --reporter min --watch","lint":"eslint src test tools","prepub":"npm run build","pub":"npm publish","presample":"NODE_ENV=test babel-node test/createSampleData.js","sample":"cd test/static && python -m SimpleHTTPServer"},"files":["dist"],"gitHead":"ab16830d3b64a8f239f69a69f7eaff64ede37a50","bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@0.2.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"dist":{"integrity":"sha512-2hAZkTrjblX0k0VfExso6krBauNdvciHbe6pw6vOoCxe5qOrHny/lcm8DPKtrLi+x5rW8kUK8oByp//4nixdAA==","shasum":"a72c32ed203f29fc0a3281bfe779dacf4d5f5cde","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-0.2.0.tgz","fileCount":9,"unpackedSize":185195,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB04s8s9v5r4ggDkeEFYoexkqaV0a+g1FrnLpXwlvpdqAiEAgF7oZLPpik3fyM0SGxyck8c0OTiSC2TFSEWI7hRO9rI="}]},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_0.2.0_1521830227353_0.49982718152419503"},"_hasShrinkwrap":false},"0.2.1":{"private":false,"name":"curve-interpolator","version":"0.2.1","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["interpolate","interpolator","curve","spline"],"main":"dist/curve-interpolator.cjs.js","module":"dist/curve-interpolator.esm.js","browser":"dist/curve-interpolator.js","dependencies":{"minimatrix-polyroots":"^2.0.2"},"devDependencies":{"babel-cli":"^6.8.0","babel-core":"^6.8.0","babel-eslint":"^8.2.2","babel-plugin-external-helpers":"^6.22.0","babel-preset-env":"^1.6.1","babel-register":"^6.8.0","chai":"^4.1.2","eslint":"^4.18.2","eslint-config-airbnb":"^16.1.0","eslint-plugin-import":"^2.9.0","eslint-plugin-jsx-a11y":"^6.0.3","eslint-plugin-react":"^7.7.0","mathjs":"^4.0.0","mocha":"^5.0.4","rollup":"^0.56.5","rollup-plugin-babel":"^3.0.3","rollup-plugin-commonjs":"^8.0.2","rollup-plugin-node-resolve":"^3.2.0","sinon":"^4.4.2"},"scripts":{"build":"rollup -c","dev":"rollup -c -w","test":"NODE_ENV=test mocha --require babel-register","test:watch":"NODE_ENV=test mocha --require babel-register --reporter min --watch","lint":"eslint src test tools","prepub":"npm run build","pub":"npm publish","presample":"NODE_ENV=test babel-node test/createSampleData.js","sample":"cd test/static && python -m SimpleHTTPServer"},"files":["dist"],"gitHead":"0e05dff5570472fcc09ec06d8af0ffb60348aaaf","bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@0.2.1","_npmVersion":"5.5.1","_nodeVersion":"8.9.0","_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"dist":{"integrity":"sha512-ZmdBtqAh5qmjOEbEELM9hMQQ95ZtM9F0w5Yd+E82jWZuVp61ohxlQ6SUsBdb4u0L+D3ZiN/e1NTioOZWij31rw==","shasum":"a3ff3b1696cc34d882e62fa440e7a45bff5e15f7","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-0.2.1.tgz","fileCount":9,"unpackedSize":186119,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa4yZWCRA9TVsSAnZWagAAOjoP/3G3BwIJvsCrvlTFVhKj\nOOE/AGRUw+VNr8chF1CMMW4X6+56I4TFJNZW1B51cIfYzTRsISIZtplpGQwu\njIgNWolIqUIursMi3jnuPPzStdqZi0sfNbo+K/Z4UfMv7WdujkUC8C4y37TH\n/xaC/qcta4TUhq61oUKjdEgJqkPubtrAtzmzeuoGxFs9CTNaFtj8GpEjve7F\nmygeLGt3Z7dpwad+/SHL5ZdZpgGbzdGlzRQ6Qetu0JFz9y51X9BKvM/vEqjZ\nlorpvMxFodOvbNd64JoW93qrMy8HPcl8QOApftJVACjxzoJ/ntyg8kX985/6\n5qfjRbvRBKOKDsNRkrXO1AxNk71mkVK3Qqj06d7WkjRGdWtFIcxntMtESVRa\nIL12a8qvceX9ECQzokwtfeGwwlmSrjX1tYha8IJZlhiCRCeHWtVVmiqLpuxy\n7MsBrHH82ndEd5N9B1pVFQAjzMaBlszKVGni1NhsAiBVpmvKlKG5WXKGuqGk\nrK8+naNkb8zfjfqMdC2FXmThaj2yGR8d8fogjIkL2LoDygejuy2DiNQdkxhi\nk13YSMpkB7ySOmH6rGPQuoOLT/i4zxKKOZqUeinRF1VlIz0S9TOTV2N09jiP\ncfttt97xsQNQjt3FEWR40Be5fCU5y3X27GF/8MersjCEcJ4euRmlhyYIrkD0\nRvJ6\r\n=v+Fs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC5Pc/ZDitzhlKONaZd5w4J/i91BkvoOdpSM4fZFQM1jAiEA7x9lTuYWZOx+B3DRw53NVS9fkVQaJdCdGSlfTAFH0EE="}]},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_0.2.1_1524835925865_0.20396866032992667"},"_hasShrinkwrap":false},"0.2.2":{"private":false,"name":"curve-interpolator","version":"0.2.2","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["interpolate","interpolator","curve","spline"],"main":"dist/curve-interpolator.cjs.js","module":"dist/curve-interpolator.esm.js","browser":"dist/curve-interpolator.js","dependencies":{"minimatrix-polyroots":"^2.0.2"},"devDependencies":{"babel-cli":"^6.8.0","babel-core":"^6.8.0","babel-eslint":"^8.2.2","babel-plugin-external-helpers":"^6.22.0","babel-preset-env":"^1.6.1","babel-register":"^6.8.0","chai":"^4.1.2","eslint":"^4.18.2","eslint-config-airbnb":"^16.1.0","eslint-plugin-import":"^2.9.0","eslint-plugin-jsx-a11y":"^6.0.3","eslint-plugin-react":"^7.7.0","mathjs":"^4.0.0","mocha":"^5.0.4","rollup":"^0.56.5","rollup-plugin-babel":"^3.0.3","rollup-plugin-commonjs":"^8.0.2","rollup-plugin-node-resolve":"^3.2.0","sinon":"^4.4.2"},"scripts":{"build":"rollup -c","dev":"rollup -c -w","test":"NODE_ENV=test mocha --require babel-register","test:watch":"NODE_ENV=test mocha --require babel-register --reporter min --watch","lint":"eslint src test tools","prepub":"npm run build","pub":"npm publish","presample":"NODE_ENV=test babel-node test/createSampleData.js","sample":"cd test/static && python -m SimpleHTTPServer"},"files":["dist"],"gitHead":"4a8327862bb1904edb415b7a6a94cab44815cc00","bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@0.2.2","_npmVersion":"5.5.1","_nodeVersion":"8.9.0","_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"dist":{"integrity":"sha512-bQNd2J3xz8aS4B8NnY/930isA953VuQQIKtHp1bsTw4acxlHcES0I0fkRN3VSontN2/RnvCkIKcuI5zWWqOyWQ==","shasum":"0c98246d9688f1453faa16d0f76ac9d708b648fd","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-0.2.2.tgz","fileCount":9,"unpackedSize":182195,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa5tdfCRA9TVsSAnZWagAAc0cP/3KvfV96QGExYuuWtKwp\nPPTPayoBHEFWIPFUVOYAokc9L1FMifBby8lFySrM+trZVODYt4KfZmbcFZqx\nBAtECNYrasb5rQdh693S2WIbWeAPro9wnpK9olxJwi5JyIO4kjhz/n9NUQOY\n4yvIefFvMgPGOaN/y7j9h/Em0i9Vx67vEar01l999aeQQ1npiST2iL1+u2iF\nNkQqzGq3qsuzRv8SM/vhKxKVjISmLUDi3kkzUe8tuSkG08BLARx34cDMk8Zg\nSTrNJj7BdtYkqjD3AJu7vHbxHkLEty23e6DOYhlmYk7iRYj1JZrpPQeRM5wG\n1j0mvpqk63o5Plh8jMNtti59clc3XVoqO/n07+jeAHv42q77E/hiq91bKguW\nELY5DYdbEelMhjN1i0FRDHSCmrIu9qT+cFqA0rAPp5vA22cVDTwuc8RMaYGu\ny3fuLQ1kmz519gSh72jcIc5JaY9hwb75xr6smrTs2uJa74Q7iOSsLwfNKhD2\nFP6lsxskLxbeiMrxBZlnNRuwZnfdJY32iTDWP/eNk5PNUrBt6Y5IT4LKGVbr\nyg1mB/iOxxlbowH6NNHPvqURmWlt1pCl3S0UVqR3Mzbc3w+p7BJWFnyPY1vE\n/qBgsCXPTkR9jk0I52SIjPvDn6Pw3BVPudnrrqa7x9gGkJOkTR6/Xgo1Uq4d\nMKvF\r\n=e2k+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJWBa4Kxa2T8hR7pK7EY5R9PTXPzdiH1bj1oTrACPjFQIhAJSIC+FebG60lkAWnavrL2UJexlKvb4bwk4Mtmrbt98Z"}]},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_0.2.2_1525077854483_0.12782439513792965"},"_hasShrinkwrap":false},"0.2.3":{"private":false,"name":"curve-interpolator","version":"0.2.3","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["interpolate","interpolator","curve","spline"],"main":"dist/curve-interpolator.cjs.js","module":"dist/curve-interpolator.esm.js","browser":"dist/curve-interpolator.js","dependencies":{"minimatrix-polyroots":"^2.0.2"},"devDependencies":{"babel-cli":"^6.8.0","babel-core":"^6.8.0","babel-eslint":"^8.2.2","babel-plugin-external-helpers":"^6.22.0","babel-preset-env":"^1.6.1","babel-register":"^6.8.0","chai":"^4.1.2","eslint":"^4.18.2","eslint-config-airbnb":"^16.1.0","eslint-plugin-import":"^2.9.0","eslint-plugin-jsx-a11y":"^6.0.3","eslint-plugin-react":"^7.7.0","mathjs":"^4.0.0","mocha":"^5.0.4","rollup":"^0.56.5","rollup-plugin-babel":"^3.0.3","rollup-plugin-commonjs":"^8.0.2","rollup-plugin-node-resolve":"^3.2.0","sinon":"^4.4.2"},"scripts":{"build":"rollup -c","dev":"rollup -c -w","test":"NODE_ENV=test mocha --require babel-register","test:watch":"NODE_ENV=test mocha --require babel-register --reporter min --watch","lint":"eslint src test tools","prepub":"npm run build","pub":"npm publish","presample":"NODE_ENV=test babel-node test/createSampleData.js","sample":"cd test/static && python -m http.server"},"files":["dist"],"gitHead":"ed26ebbc92ca646e9da3c1461714b54c22f24b38","bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@0.2.3","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"dist":{"integrity":"sha512-AeOuGmDFHk2TN+jeI12LADtjtuItiSxX+Y+2mWaKeXeG1tDdsl+0IhgwOWO+tOelwZbnmRaKw4BbTVUv7AJQ8A==","shasum":"5c25635423fde6474f5967c4f2e2c0f6103c630b","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-0.2.3.tgz","fileCount":9,"unpackedSize":185661,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbEG7HCRA9TVsSAnZWagAAG8kP/1zeFWXRrXCifmZpG/lm\nSgGVp8VXfpq7pVA7WuDtrNYLBul/ndb4fLynXnATptf+3KxABxY4C+VKj6QD\nyCfgMPpjFAxYcAq8JNeJplsM50AhaoNdotGGt9sg7iSim7IKgZfWDHcILiXA\ncEYR8As69b8ViRj+Cn/F9ltZOExpKJ8WmK1CdgTRSnbpbXooen2rAcYKtLu/\n0lbSA7QlzCqCWAWkYNNXFdBxP8YPBpXf0aMg6zw9/PEd153Lis9VLa4Mu53I\nIl9URS0JMSDGUpwTvI1hVd4fuHSvbuKGR/8irfptqV7lKCQBVEj37lEuOo40\nN+OKaMqrenvjx47S/+U/ZzAyYvyHsvcWh+S7VJLfDvPHIVmIhRL70qBjI//N\n+AQHPzzrf6sqK4r+sNvi7nmUxfyqa2zVvvAHgRB6F+RJgYxqaQSxhKWGkzHH\nfeVqkEePaq34bPMeNaRGl/rmNHPVqcOpZhaBYOhXironyxRlV7pWZ0ir1BIP\nJayM3l1OW4lmQqs/Poyt4u43EsAvU+q8p/uThfKIyv53U+Vy9V6ESmXCe+CP\nI4MyOMz5EQF0tG9ZYSIl23ZWug5diK/LMUbCtX4sPT/j/JlBKugQmu37En3L\ncEuSH2dHaPcGjmAasnVUN4J66t3V0YWyRWecZn8pVB5OSF4nMtg7hVdwZXiD\nSGkR\r\n=ddgz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCGSXSsGb4+LtylSmvpeGPFvEqU58gcjCG76mswPocbxgIhALD6J5mFSqCkdUk0mAzAzRTlbfNEArak4uFs1HiXbVjU"}]},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_0.2.3_1527803590402_0.3803878785079162"},"_hasShrinkwrap":false},"1.0.0-alpha":{"private":false,"name":"curve-interpolator","version":"1.0.0-alpha","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["cubic","cardnial","catmull-rom","curve","interpolate","interpolator","spline","analysis"],"scripts":{"prebuild":"rimraf dist","build":"rollup -c","prepub":"npm run build","pub":"npm publish --access=public","test":"mocha -r ts-node/register test/**/*.spec.ts","test:watch":"mocha -r ts-node/register test/**/*.spec.ts --reporter min --watch --watch-extensions ts","predocs":"rimraf docs","docs":"typedoc --out docs src --module es6","postdocs":"copyfiles images/* docs && copyfiles .nojekyll docs"},"main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.js","devDependencies":{"@types/chai":"^4.2.5","@types/mocha":"^5.2.7","chai":"^4.2.0","chai-deep-closeto":"^0.1.1","copyfiles":"^2.1.1","eslint":"^6.6.0","eslint-config-airbnb-base":"^14.0.0","eslint-plugin-import":"^2.18.2","mocha":"^6.2.2","rimraf":"^3.0.0","rollup":"^1.26.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.1.2","rollup-plugin-typescript2":"^0.24.3","ts-node":"^8.5.2","typedoc":"^0.15.0","typescript":"^3.6.4"},"types":"dist/index.d.ts","moduleFileExtensions":["ts","tsx","js"],"gitHead":"938c6a29a6cd3e31a25a3a261ac554902a8c369d","homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@1.0.0-alpha","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-dP318iEqWLCiheG7+iKYl8Yt+2KjtyZBvQJGUhF3sqswbeygaZf/2uK71x+fwe4r/kXyP7kXSX6siA+JtvcV7g==","shasum":"69bf10cda50faef675c6582a1700d5ab212ce37e","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-1.0.0-alpha.tgz","fileCount":14,"unpackedSize":56609,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1yIUCRA9TVsSAnZWagAATHQQAJ4S1hpa3obenCkZM0VJ\nAc8puj1sEjOoFOX/u1hOUA+363iCcVhcxdQ/5Vd39tB+Vk1/x/Sy0sAEaJGQ\npJKzJj8HxoA2+NReIuIsUxQlVKQZ1yCHAoVce+EhfMlzq+SrFMbS/8iglZFR\nTcaxW/WkF6Jgb1gKsshdN29hw9Km1RddznQ4A8AjafmArPKkb/siCOFm39oD\nCezUw+lnD9w3l9OpHe4VpwLDJmM/9LUoqEzE3nZ/UvLIl3qYnDSi90/xrzrv\nvjwWDyYnWhv2jZ/tCKmIfqESUp4gnr3Lw9LABPhH9sEIGqL4PDrJEVqe85tO\nysNjyuQn5Q71kl039O61kPFfoGa7Ud1nUjqYRF0jEq2qarZNfPt1WQdZykex\n7fkLbB6CMqM5vaTP5FcInkq6jTaibKltOuw3nJv9xTPs3W9nn3oIhhieafKL\n1GQuT0CMnPVF0NdN2vYflKfcGs3KN3TeioxnmgRIfbCjP1m59g0drrC2VRjF\n4dmBOJEB53nGeB9LCxFDp6O5vOwgPJZK/UcGxcDiuWIS7gkLuAglit/k6kib\n3mV7vmRg92svOKKKChyT/wj7UjAybQwlzJv8QifcTNhq2KTjf1+0OcnbLXR1\neW3l/jnPyrFM4mx/QPPT9DxIJD7ntdLS4/xwCO91vqr4vQyO3C2AUrn5jZ06\no7sM\r\n=DrGk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDzbstjJxM8xrH96w6dzFH2NIqbTACTAesmttfPgL2/oQIgfsZcQoaM9rqyzO3orKYHWznIH5TuKCqWUJn5/BtIsUo="}]},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_1.0.0-alpha_1574380052015_0.26581582951367433"},"_hasShrinkwrap":false},"1.0.0-alpha.3":{"private":false,"name":"curve-interpolator","version":"1.0.0-alpha.3","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["cubic","cardnial","catmull-rom","curve","interpolate","interpolator","spline","analysis"],"scripts":{"prebuild":"rimraf dist","build":"rollup -c","prepub":"npm run build","pub":"npm publish --access=public","test":"mocha -r ts-node/register test/**/*.spec.ts","test:watch":"mocha -r ts-node/register test/**/*.spec.ts --reporter min --watch --watch-extensions ts","predocs":"rimraf docs","docs":"typedoc --out docs src --module es6","postdocs":"copyfiles images/* docs && copyfiles .nojekyll docs"},"main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.js","devDependencies":{"@types/chai":"^4.2.5","@types/mocha":"^5.2.7","chai":"^4.2.0","copyfiles":"^2.1.1","eslint":"^6.6.0","eslint-config-airbnb-base":"^14.0.0","eslint-plugin-import":"^2.18.2","mocha":"^6.2.2","rimraf":"^3.0.0","rollup":"^1.26.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.1.2","rollup-plugin-typescript2":"^0.24.3","ts-node":"^8.5.2","typedoc":"^0.15.0","typescript":"^3.6.4"},"types":"dist/index.d.ts","moduleFileExtensions":["ts","tsx","js"],"gitHead":"d5233a253963ad3cd2c70c8dd67bfaa44de86514","homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@1.0.0-alpha.3","_npmVersion":"6.4.1","_nodeVersion":"8.9.0","_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"dist":{"integrity":"sha512-Wxn8OYA6eTvbxcZgyJs7SrcnrDnhon/um2fyN3dAhWhFV2wcV/+U5AcVFXSQyRbAR8A4NxdR4zRs/Gh2heJ6XA==","shasum":"0f72fc85371ee45830d967e08300c0777ad2ad32","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-1.0.0-alpha.3.tgz","fileCount":19,"unpackedSize":55790,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1/kyCRA9TVsSAnZWagAAg/4QAJZwWtDGXcPY+pWMwLrC\ndOQzql9bWhmYfit5BaK6l7XpFCCCEgxUKAkYkIvoZqRSLyZAWEstO71oa3y0\nshJWmwlIUxY6I34WNebSbk4ICsuuQrF+YN93Zo0jj7TH4XWTG+VvV+4l5dOC\noryIZAV2F7tT79P/It0VHyNwMmVLESGfFZlBQx/y+5ZJSmOWetXIN4v9IUFH\n16uK/UNCbXc8Y5mkkwGJoUItV8TsLxuBXOPSkprYuELOgkUxHZ6zJSwR23ZL\n+zEOeOgxPfTR2xSin6kYK5QTMzJ+70x+w/VzJUMYp1fwmuMSGBk91mt0wkfS\nypFitF/d6HeGWgxPXZ+Q/wOaZqv2CMlwFS8K4v2TEhZMU382xRXoNgDodJXm\npR1CxTTqONdQZlIImuSfU4dOGoXeOvWnYUjxhZ1AWAR2b+80Lv+Lrmd02v0v\nePbVKwxNkdqgrVVSTrsPjKntXWM1ee+s+rf/rxemxy05IL28sqo8qNBp3MC2\n/oIkE2GdCnygP21kAdFxA7HaGj68tgKsQX81jyvxYrs8V40PC9b9s7yfW1Ox\npzOzGKlfJxUtczNLlkr+6Y9l9rqZhSzgMlWuKQJfGMBtMlt1rF3xa98X5877\nLTbXiwwZ4ESRYOgCz9yZSj6yiGl4CFJGaHbT8supZ1OSmlRdpfqMTl5XoeD8\ni4we\r\n=Tt31\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGvFxF/OMq8ipVmiz/ij+wksAt/myeIj9ggWM2HAGzU9AiAdUnQW/ajfh9qiNRZY8gj5oSTmspALzYFF1oP09jCWwQ=="}]},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_1.0.0-alpha.3_1574435122310_0.6484958823599496"},"_hasShrinkwrap":false},"1.0.0":{"private":false,"name":"curve-interpolator","version":"1.0.0","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["cubic","cardnial","catmull-rom","curve","interpolate","interpolator","spline","analysis"],"scripts":{"prebuild":"rimraf dist","build":"rollup -c","prepub":"npm run build","pub":"npm publish --access=public","test":"mocha -r ts-node/register test/**/*.spec.ts","test:watch":"mocha -r ts-node/register test/**/*.spec.ts --reporter min --watch --watch-extensions ts","predocs":"rimraf docs","docs":"typedoc --out docs src --module es6","postdocs":"copyfiles images/* docs && copyfiles .nojekyll docs"},"main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.js","devDependencies":{"@types/chai":"^4.2.5","@types/mocha":"^5.2.7","chai":"^4.2.0","copyfiles":"^2.1.1","eslint":"^6.6.0","eslint-config-airbnb-base":"^14.0.0","eslint-plugin-import":"^2.18.2","mocha":"^6.2.2","rimraf":"^3.0.0","rollup":"^1.26.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.1.2","rollup-plugin-typescript2":"^0.24.3","ts-node":"^8.5.2","typedoc":"^0.15.0","typescript":"^3.6.4"},"types":"dist/index.d.ts","moduleFileExtensions":["ts","tsx","js"],"gitHead":"507ae305123de531c63350984afe7619650d02e3","homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@1.0.0","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-uhHRKdB5AQ7E+xHvLuWYTvxhOok7W2JPK5qiJoJVpzQVPwOHd4IqhXGip5tg7CMio/RYsrFn3Q1tumBTzhCpNA==","shasum":"1d5ca3de49ca4340cd5ec5fb565a9926d5d0afef","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-1.0.0.tgz","fileCount":19,"unpackedSize":59771,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd2QEXCRA9TVsSAnZWagAAa2QP/AyJUPgjAFFucVfhtUtn\nrIMdS0/7XCgKModO9hRxm5Yy2wr7Qy/qFAU4QTmnf2AKNlmzvdqloMiUlJHG\nUaeIsAJqGszhw2XyfukIWyQIYBYTKyRIpdTQ5lupXdms7aNHutaweJrl3ZCL\nxbPJTKxGSA81VG9E+1uQ8oygxc0QD3ry/kH2ElemOVFC74YejIme5hjTwUV+\ne9nGNg7SYcDtTWhcikHLMCQbaFevzkHuMs/ftDl88HcRQyzYaweiS3tWkYk0\nOegS8ZVI8y3K82BY7AwVagP/OvP6syi8q8yBBF2PqRAARcyMv9CGMaVg8YUi\nMAXJLz65zuhtbb/aGZDgQCU1juC50vi8MDMwNgd0oJ8WwZxC9z5cWZMzIbg3\nZAi/Hf+uJ4b8OrxxQj7hSZLXwGTvFWpdBKLIc4H4KdVMtEtxrlZInPSWG7QL\nHnvMuy2RH8qSyfGSN6n+HLrLuiRzNMo2CVLCVFskhuUc8MyOhcdKXoCZakrh\ndTOIsLrX8kqNiKtTDrIKwu4fMfymO/zM4UL0Kl2xdzuQOh2Dxb3ctSv3Rv+l\nY3emhRu/34a9hcJSOHicuNPNj8GiUpmbwhz6I8cVEqd50nEbMf9xYp3wEs2/\nKxadX6h4JSRPyTHj/ume7QXomALbLcjMey3eICbAN20G9l8xz8/nEto+jxqb\ntBaa\r\n=GMMr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBGADpPF7ffjwBeIUBxar6HgRR38WpQJNnZxTUgptEehAiEA4nKLU3L/JwwauNJZ3iPv32n/v+8uvmE5KXGohYRiIfA="}]},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_1.0.0_1574502678705_0.4995924428314782"},"_hasShrinkwrap":false},"1.0.1":{"private":false,"name":"curve-interpolator","version":"1.0.1","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["cubic","cardnial","catmull-rom","curve","interpolate","interpolator","spline","analysis"],"scripts":{"prebuild":"rimraf dist","build":"rollup -c","prepub":"npm run build","pub":"npm publish --access=public","test":"mocha -r ts-node/register test/**/*.spec.ts","test:watch":"mocha -r ts-node/register test/**/*.spec.ts --reporter min --watch --watch-extensions ts","predocs":"rimraf docs","docs":"typedoc --out docs src --module es6","postdocs":"copyfiles _config.yml docs"},"main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.js","devDependencies":{"@types/chai":"^4.2.5","@types/mocha":"^5.2.7","chai":"^4.2.0","copyfiles":"^2.1.1","eslint":"^6.6.0","eslint-config-airbnb-base":"^14.0.0","eslint-plugin-import":"^2.18.2","mocha":"^6.2.2","rimraf":"^3.0.0","rollup":"^1.26.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.1.2","rollup-plugin-typescript2":"^0.24.3","ts-node":"^8.5.2","typedoc":"^0.15.0","typescript":"^3.6.4"},"types":"dist/index.d.ts","moduleFileExtensions":["ts","tsx","js"],"gitHead":"a704e9c9af8c05e0920ab279fca7f7bf13b6d0a7","homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@1.0.1","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-ykzRHStqpK1PtGWAWErqbR8SMJVswOWjmfeL8O1g4w0RHaaX/hTsMfuAKQh7WrXieU3DHgh9Dj2Sgnl+Bl9ToQ==","shasum":"c793139b0ea2d24e85c4462ad9bf6573e5bfbaf9","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-1.0.1.tgz","fileCount":19,"unpackedSize":62079,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd2nWlCRA9TVsSAnZWagAAcE8P/iYHiaqcNyAOf1VpIyNU\n3V2jGZ75susSGLvVz++Rp2Bl++NSFBzCxsl45lQGw7bXNmCaJMIZ3ZNv2dMM\nCd8atZqPRA6q10VKGsd2nYSJSRcsDsoSDzXZKjMvlZvad2qq6EA8pyDOF18k\nJE2w/fReULgjHAMuI4PPNC4aYLZhU1CzVZwpMcBPmazbsCt9EANnswDn2x6U\nsGYy9J6RkuM9MVcBKPGu3+QUs9mHVdS3dwc6yD2b5T9QdXHa1o2Vqq5oCktV\n5h3BsYJfzwTTBt7zhd3muUe/f9e2o6pthFNF1sNfLPDZmStio+5WgFB7qqZY\n1XYpIUcWcfK0dcHJVP8/1uAoo5rlX7MSgNH30a1YXlqlS4vwqd/by2e6vQio\nS+89To5/RA1UQIGPqdI+HIHMuFRiXQiLiYQYVowzkVL8wuMBTcciEYAr/K6i\nOi1gQmmSf0f54al2Qev6ahrg4+fT4RqGHIlwVzJuJ8Bh6nbKNkKpOULlz8Wp\nLB6a6j8182zYVkWUyAvgbIXCHFW7EnM7QQjtAbtAC/5JwRGhN6/YBKC1CEIG\nlBxN0ixC61nnBiCmlkyyBpjOs+YkIz+THbMlq2e0mkMumyJnJxcmcPrgsNar\npHI1ywEI5/y5OTqU6C5QtKE45YPhfys7ab2aimhSuR1YeyRMXU8sRiebaZlp\n2p2y\r\n=9rAY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCteEGH0sErXwGE61BHDxNZ8K1/JcKc+REoCzbdQrQlSAIgM3XYBO5sPsOjW3wkARbJ7B1PFB/ORaDWpEOpxvci00U="}]},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_1.0.1_1574598053324_0.7358853632300444"},"_hasShrinkwrap":false},"1.0.3":{"private":false,"name":"curve-interpolator","version":"1.0.3","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["cubic","cardnial","catmull-rom","curve","interpolate","interpolator","spline","analysis"],"scripts":{"prebuild":"rimraf dist","build":"rollup -c","prepub":"npm run build","pub":"npm publish --access=public","test":"mocha -r ts-node/register test/**/*.spec.ts","test:watch":"mocha -r ts-node/register test/**/*.spec.ts --reporter min --watch --watch-extensions ts","predocs":"rimraf docs","docs":"typedoc --out docs src --module es6","postdocs":"copyfiles _config.yml docs"},"main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.js","devDependencies":{"@types/chai":"^4.2.5","@types/mocha":"^5.2.7","chai":"^4.2.0","copyfiles":"^2.1.1","eslint":"^6.6.0","eslint-config-airbnb-base":"^14.0.0","eslint-plugin-import":"^2.18.2","mocha":"^6.2.2","rimraf":"^3.0.0","rollup":"^1.26.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.1.2","rollup-plugin-typescript2":"^0.24.3","ts-node":"^8.5.2","typedoc":"^0.15.0","typescript":"^3.6.4"},"types":"dist/index.d.ts","moduleFileExtensions":["ts","tsx","js"],"gitHead":"d352fc3ae5f21e5c987aa0a4a8579f838c106430","homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@1.0.3","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-HX1cOhdagRlhmEjK0z3uS4aTGIbHsKcNkKNYy1TrfAtcC4TmOxUXFfPuRfkhOekew1XBv9b2e/dsC6juYyM74Q==","shasum":"ec4b9608ea9533d72b6573a395120c3fd09ad41d","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-1.0.3.tgz","fileCount":19,"unpackedSize":62597,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd2p9DCRA9TVsSAnZWagAAmcEP/2ZqlpvwHn60l2MsgZZr\nbTXq1xxOaMBA/ATmNtJNui/72VZXPRk5Txes6YuOB4MQvNuNzcHAEmYOsRsk\nwAxMP7ZhthM4DlDR0SFsSKSZ2n2vpkgzeH4/eMzmI8H9KCXNhRYEhCzFfwNm\nVpb8vGFaiJ4gSrv04whFv5e7PudjRrAdQ4R9LpOzf5GmF6x6xXWYE2Rb8u8s\ng5gAO44mZ75wpAPuk0+mSjb3fOx9B8atpEYf8EcxITrdZA2QWoF/u3d+8KtD\nqUk3Qr4xVuauEaetGKbemA47JgIJ1ZPDknPqLCxgQ7uRG2sSYdXtIRnXcgBb\nQO5L0lF1OzbB6szTmIo3x4lcY3VpKDPkeu13m6ylFAX9rZC1iIHh/O+T2D+N\nVu8NtyhEH/QtDQh2G5vW0KvJUBmL8VfrZ6sHoyQZJIMeqs7BErnrAZyCeq3W\nmews5tC6due+v6/HV0W/ntsp28m5i4gcPDpiPmfz23AkNudVRwNZuOzHzsfz\n79hbKrIMOIgzZEvpAEzRZgOvF2xrTUOzaP/qxSfllOF+VyNHgsy4jDdmYFXb\nHMgGkHX3mDQkTFu9AxoUAp7RrbKmnuT6EImOnT1sL2T3cxS/gvmpoExCqPqi\nKyft4gAH5S+5xhwXI4TvItE+Pj2O9yMkzIB9rjE2T9vVDzowEYEI44Tfmwij\n0ekR\r\n=A0pH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/fgThMLFdtwGbIzXtiuRMJrWx0Z3vlyChyaJvdPCHNwIhAPFv+CfjaXr/Lfwg2509xipwZPbZvz8WmznSFKWVE6jO"}]},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_1.0.3_1574608706727_0.9657293916334435"},"_hasShrinkwrap":false},"1.0.4":{"private":false,"name":"curve-interpolator","version":"1.0.4","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["cubic","cardnial","catmull-rom","curve","interpolate","interpolator","spline","analysis"],"scripts":{"prebuild":"rimraf dist","build":"rollup -c","prepub":"npm run build","pub":"npm publish --access=public","test":"mocha -r ts-node/register test/**/*.spec.ts","test:watch":"mocha -r ts-node/register test/**/*.spec.ts --reporter min --watch --watch-extensions ts","predocs":"rimraf docs","docs":"typedoc --out docs src --module es6","postdocs":"copyfiles _config.yml docs"},"main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.js","devDependencies":{"@types/chai":"^4.2.5","@types/mocha":"^5.2.7","chai":"^4.2.0","copyfiles":"^2.1.1","eslint":"^6.6.0","eslint-config-airbnb-base":"^14.0.0","eslint-plugin-import":"^2.18.2","mocha":"^6.2.2","rimraf":"^3.0.0","rollup":"^1.26.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.1.2","rollup-plugin-typescript2":"^0.24.3","ts-node":"^8.5.2","typedoc":"^0.15.0","typescript":"^3.6.4"},"types":"dist/index.d.ts","moduleFileExtensions":["ts","tsx","js"],"gitHead":"de16c822932b926e02fe8762a6e61ea6b3922406","homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@1.0.4","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-4Xx/2ABayYKOFyxy1NBv/SyPiLBkZZJCkqzINFQt+FZVG4WkRpALKzJCNmGX2BOTsHIguytd9s0A1nk8N1tWLA==","shasum":"7b2491de50c5205ca0adebac4a1537159782c23e","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-1.0.4.tgz","fileCount":19,"unpackedSize":62597,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd2qVFCRA9TVsSAnZWagAA+ToP/j8ea+y208SEEaCv3e+e\nr04VGG75Uf2VO+yOcLjuBnTNOAZ9jw5svfaanXMzA0hGZN8L6uDIMI92uv5t\nnK3KytX1n7OvyAVi7A9TKIPO1/HbPpj1L4UuVUmd4efBa2YA8RR+w2FN6+ZN\nRcyp816DWn+3HF4JqEsnjnpiiRnLorUHSmFTnIUMDh1OznNfDP7tMsVOlwiZ\nD+A0dyCW2O+Vg04NNVSYaCUN3flCOJx2Fi+dLZBa/wEiJGlxPj9GlO+r2oKA\nFvxvGzeZArOgMmfk+Op4pH/xS9g8QVuPXhCSsbfTYu7VpqG1maDE2Mba8mB6\nuqOntRRJsIxJxxO1asCAlikKqhfWxApSawTkJSBDTN5ox5uROITbg80eiiNv\ngi2e9WTpRut7XNYmbUAOEPJ2x2O1ZEZqyvyM1rzN9QWcwv4AJwKu0Wtkmx4k\n44y+g2PuMtOzDLpu1otpySX2MmkA9ds/ekO5Joob82zTRfQyXcUFSP/px8G4\nG7JjFQmqKYPfFpb4iuF8CBrOtMQMqYOA+5gBcUsTsGX3GMmdGLFBRQAlJ3ky\nujZD7DCzHg1z9eZqIeR3MlfzzjD+BdkcZUa+cbTt//so3aevTszIQSqlX20O\nM+GH0Fl5uQ17JT59ZdAJ7ch2qYTnZxpwiqbanhpg2A0Cz/+ud4TtcCQdkmPz\nlb7+\r\n=JviS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBq0EALA0458yIZt6ynzzLctDf18jTofL35QDV8ZYUuCAiEA0jIU0Xh0vYssfgUbZ45H6Nk1j1hYeBnpM0c1YWLJp2M="}]},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_1.0.4_1574610244736_0.9102917719185115"},"_hasShrinkwrap":false},"1.0.5":{"private":false,"name":"curve-interpolator","version":"1.0.5","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["cubic","cardnial","catmull-rom","curve","interpolate","interpolator","spline","analysis"],"scripts":{"prebuild":"rimraf dist","build":"rollup -c","prepub":"npm run build","pub":"npm publish --access=public","test":"mocha -r ts-node/register test/**/*.spec.ts","test:watch":"mocha -r ts-node/register test/**/*.spec.ts --reporter min --watch --watch-extensions ts","predocs":"rimraf docs","docs":"typedoc --out docs src --module es6","postdocs":"copyfiles _config.yml docs"},"main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.js","devDependencies":{"@types/chai":"^4.2.5","@types/mocha":"^5.2.7","chai":"^4.2.0","copyfiles":"^2.1.1","eslint":"^6.6.0","eslint-config-airbnb-base":"^14.0.0","eslint-plugin-import":"^2.18.2","mocha":"^6.2.2","rimraf":"^3.0.0","rollup":"^1.26.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.1.2","rollup-plugin-typescript2":"^0.24.3","ts-node":"^8.5.2","typedoc":"^0.15.0","typescript":"^3.6.4"},"types":"dist/index.d.ts","moduleFileExtensions":["ts","tsx","js"],"gitHead":"4183dbfff2f9ce14ca86e49ac2232f671663338c","homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@1.0.5","_npmVersion":"6.4.1","_nodeVersion":"8.9.0","_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"dist":{"integrity":"sha512-TKoacUJUCObd6fAjRQiUFVRGJAvgdQj9A/cJvKecfv1OpSfUco190eKSAxPQYidetY7Jylqm4oDM9WUfnkW3mg==","shasum":"8008169f853caa7e8cb01749d64aa8c9b04a035c","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-1.0.5.tgz","fileCount":19,"unpackedSize":62871,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd255MCRA9TVsSAnZWagAATNcP/j4KAPiGgGakMdcnJq9B\nOujWe5tpMb7HqYDVqOEX0oXJtb5vOhSb0PgaGCgfbiGalcF979vek0BC4OzU\nWd6CYI/uQYNZ6ElmBF0wCtHMR+f462FX6PcRE3e9HTnymhse8495leazT0ld\n0M2lCtzOIlcA9haYL/qQ9qFUQ7C2JcGR1yPkCkOEmlzawkPBAXKJqH7dDn14\nnpsp5DRcW88Af7U4p5dg6vu3AOXKP1T8OSWvDCJc0/Qsm0soKUqfp2IKflYd\nSAb2dtzr+/3hiSp7Arg+LsIbX1Ljg+W0U3n6WtT7U0YUinDD5m67b+N14Zze\nwzTiRYnLsLcYlCm4GzZE5NyWu4+6/GgdCl+XHR6CTmjSV4jAcTsMzWnYqHq2\n8fe4ZZjQPoZwSh7srgAj7YNQIgXIxQtw+ZZu3Y80UpULmChqn4dGoTcVSi3N\nNYoI8QA3qqE5PIgDqyXpgelgYC7pCVewUHeI2w8bkiySN0kIp9LITTYUVmID\n+sA5fTwybwKyHxO59XE2U6wiF3Zea/eAsm7UuJvImFma2Hf4WB6FPo3dEXYH\nsEUhXxc+SE/EoS5tSBKqgzna5afc7gXEjREqI5zjOW00aE7TUCY5oJ1sUZAv\nHFII92bb8b4CCdmuiAPQZAKo6e1WVITH3UbhCLPO34oteDUfPFvZaP3/iba5\nTz3I\r\n=XiC6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCNDJecrruasqf+C+u0NOHC+RSH8eXCY1OoVbHn2b1wJwIhAPHgnJs0X17upWjEgwtaFu6Hm+fFnsmsN1A9mvUcAlOO"}]},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_1.0.5_1574673995843_0.017384585865726887"},"_hasShrinkwrap":false},"1.0.6":{"private":false,"name":"curve-interpolator","version":"1.0.6","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["cubic","cardnial","catmull-rom","curve","interpolate","interpolator","spline","analysis"],"scripts":{"prebuild":"rimraf dist","build":"rollup -c","prepub":"npm run build","pub":"npm publish --access=public","test":"mocha -r ts-node/register test/**/*.spec.ts","test:watch":"mocha -r ts-node/register test/**/*.spec.ts --reporter min --watch --watch-extensions ts","predocs":"rimraf docs","docs":"typedoc --out docs src --module es6","postdocs":"copyfiles _config.yml docs"},"main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.js","devDependencies":{"@types/chai":"^4.2.5","@types/mocha":"^5.2.7","chai":"^4.2.0","copyfiles":"^2.1.1","eslint":"^6.6.0","eslint-config-airbnb-base":"^14.0.0","eslint-plugin-import":"^2.18.2","mocha":"^6.2.2","rimraf":"^3.0.0","rollup":"^1.26.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.1.3","rollup-plugin-typescript2":"^0.24.3","ts-node":"^8.5.2","typedoc":"^0.15.0","typescript":"^3.6.4"},"types":"dist/index.d.ts","moduleFileExtensions":["ts","tsx","js"],"gitHead":"d0d70c622d91de91b53a6fbe080efb7d3c8b590a","homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@1.0.6","_nodeVersion":"12.14.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-C96RfRsTdbjboHnYCYyJ0860grPRH1tNHEzGMuWRL+QijDouGHIN+0l+eSIVAkezdGPbfoyU69NGG3jKZE9PIQ==","shasum":"7c6b9e82d412efed53a21d8dbe73d982ff683acf","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-1.0.6.tgz","fileCount":19,"unpackedSize":63006,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeEyX2CRA9TVsSAnZWagAAXiQP/AwSdPyU1aOdyqRYOaAh\nr8+vdonjzFvi0Y37vxOP2Q3RT9o6olQ9BEuBci1qmIa8ugMDsiQERtRdwdvp\n2kxs0tWbJcVPt/uOcRN05FizFnEtaD0sGLpyMoDd3xfAw/XKQ9GP6bBNFgAo\nk3sHNA8ENEvIOskC7y09cGLEfR8KIRPxLIVqE60XfKrolSXbHplr+3+sPdyF\n71eiimEkWcm7wDX0E+Kc2mzSjZryuy9jZ6+M8Lu7Fv8zoPdlB4WJKhKcAcZg\nNxX+AnXJnZPHwAOLsgWWzy0f3uGKpIVXYEvrpwTMD4CH+w+hXXR3l3qrAnV2\nZJZYNCVE++0Ghx81ExEKlR8zjwGI4aOQE29sBUy4jEBpDe9dmOpkvfZ8F8ix\nnfqPi7WfBV9Xtv1jS9+sNLfCy/Vcgv1oucH4sJdixNDT0RKGF/LVibnIHjwU\nlmpltGBjm55Ak7GajT9k2QHKsaPmUalzioukISsr8Omds+LHIa0S70k2faZv\n3F8NggCQ17B4WeYdqOjzvRGgDFpApFtY3hGb9gPq3ZA+5OYwx6NXu8wIZjJt\nPU3CZxhgZMLb2ztNfDV9HSZ2KVtYJqoRVX1Xq6XloNKIkBPZyUzL6wkluPiH\nFQYIrA+O5t9LqJLKF2gmwDZWzmv8Mn7MUxDmTehTiPR/uY1PjayXge8QzAYD\nISSg\r\n=Meqm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+f5K0xKlj7tR1f4IxCyGCFWQlho1SBnBv/kHxAN2w4wIhAP1oguiJAFN9sKws/1nZ0C27Thshcgzclao2NSoAkKgi"}]},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_1.0.6_1578313206261_0.05964231316256341"},"_hasShrinkwrap":false},"2.0.0-alpha.2":{"private":false,"name":"curve-interpolator","version":"2.0.0-alpha.2","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["cubic","cardnial","catmull-rom","curve","interpolate","interpolator","spline","analysis"],"scripts":{"prebuild":"rimraf dist","build":"rollup -c","prepub":"npm run build","pub":"npm publish --access=public","test":"mocha -r ts-node/register test/**/*.spec.ts","test:watch":"mocha -r ts-node/register test/**/*.spec.ts --reporter min --watch --watch-extensions ts","predocs":"rimraf docs","docs":"typedoc --out docs src --module es6","postdocs":"copyfiles _config.yml docs"},"main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.js","devDependencies":{"@types/chai":"^4.2.5","@types/mocha":"^5.2.7","chai":"^4.2.0","copyfiles":"^2.1.1","eslint":"^6.6.0","eslint-config-airbnb-base":"^14.0.0","eslint-plugin-import":"^2.18.2","mocha":"^6.2.2","rimraf":"^3.0.0","rollup":"^1.26.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.1.3","rollup-plugin-typescript2":"^0.24.3","ts-node":"^8.5.2","typedoc":"^0.15.0","typescript":"^3.6.4"},"types":"dist/index.d.ts","moduleFileExtensions":["ts","tsx","js"],"readme":"![](https://github.com/kjerandp/curve-interpolator/workflows/Node%20CI/badge.svg)\n![](https://img.shields.io/npm/v/curve-interpolator)\n# Curve Interpolator\n\nA lib for interpolating values over a cubic Cardinal/Catmull-Rom spline curve.\n\n## Installation\n```bash\nnpm install --save curve-interpolator\n```\n## Basic usage\nReference the CurveInterpolator class:\n```js\n// commonjs\nconst CurveInterpolator = require('curve-interpolator').CurveInterpolator;\n\n// es6\nimport { CurveInterpolator } from 'curve-interpolator';\n\n```\n\nDefine controlpoints you want the curve to pass through and pass it to the constructor of the CurveInterpolator to create an instance:\n\n```js\nconst points = [\n  [0, 4],\n  [1, 2],\n  [3, 6.5],\n  [4, 8],\n  [5.5, 4],\n  [7, 3],\n  [8, 0],\n  ...\n];\n\nconst tension = 0.2;\nconst interp = new CurveInterpolator(points, tension);\n\n// get single point\nconst position = 0.3 // [0 - 1]\nconst pt = interp.getPointAt(position)\n\n// get points evently distributed along the curve\nconst nPoints = 1000;\nconst pts = interp.getPoints(nPoints - 1);\n\n// lookup values along x and y axises\nconst yintersects = interp.y(position);\n\n/*\nmax number of solutions (0 = all (default), 1 = first, -1 = last)\nA negative max value counts solutions from end of curve\n*/\nconst max = -1;\nconst xintersects = interp.x(position, max);\n\n// get bounding box\nconst bbox = interp.getBoundingBox();\n```\n\nOnline example on ObservableHQ:\nhttps://observablehq.com/@kjerandp/curve-interpolator-v1\n\n## Docs\nDocs are generated using typedoc in `./docs`. To create:\n```bash\nnpm run docs\n```\nOnline: https://kjerandp.github.io/curve-interpolator/\n\n## License\nMIT\n","readmeFilename":"README.md","gitHead":"61c670c47669d19396c74f2dd16ae84a93d3ce7f","homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@2.0.0-alpha.2","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-gpMAkkV7iiAOLkh/aTYOH/0p475iZS8A5soB+WRlJSSbA1zqRFDVZhJ7su+OM4SB8yRg64I6Jhf7jOTAtO+C6Q==","shasum":"c43ae489e0ed8c25da5381b0eef14849647f779f","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-2.0.0-alpha.2.tgz","fileCount":19,"unpackedSize":69699,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeXNNyCRA9TVsSAnZWagAAK1MP/jJEeg31SChgyF1U064K\n975grhdH/MjRC3NPWegk6NccUNj1Pn1C3/mWg2qVW+C8npemB1zcjfUntX9o\nExWB7TUhw6O1H71Acgx4FfQBiuubHG9pojX+76uVHDLwdE0xe0vvcOYi/fli\nQg8yCmnf3IH2yUcSDd3zCZzm6GaabvHNJwibDsyMp4Lf7Mh511g/9Gijq2dd\nFqQ05r106pTfs8gdpINtlFOMXsRrab8hFMmPr4BFFyxg//SXYn06tgpM4BTK\npRvlHjLoRnXv9RREVdMfOHvldGhyVH+qUqAZUswcYBfpEUu/CqhbDrsy7Xr8\n6LhXbkg+oBDJWAKdw9PwJBu6Enraf+SiGMJG/eszIdQXHx4mdTLUTJYn4HDN\njsZoBxRQMdWoJrkEJt0w+nPVgnRQPbKXjEc3P7bWvwihCyScL4J31rmp+BZd\nH6YZqAfbyyWU5q4DSZ5c1b4w6HXIKwYQgcHQoihzMsQ3M/DDHmUbjWuBSuE4\nAxy9Spzs934hS6cMK1x82j1hJpaTJ612SxWzRkTm2h/vonsiwdxDMj5flJq/\nWPinT1PC3Otw51a9sm52BcWNU0d8rwGtRVsB1b+hGtsFOEJGA5f0XjODJ7d8\nYdYY73805fmA/uq9gIIWHBCqYHmKtxxzgcSDWBnLm9p0tM2uTxtp7RFyGdFA\nq++/\r\n=cc0N\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDoNZhfxY7OlkeHS9RftKzutMkzfnHkJ6xncDNzBs4rZAiEAjViuHhDDY+SeH8/+PODGFnQK5hgrixy+4vnEUBNO2+c="}]},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_2.0.0-alpha.2_1583141746406_0.19368097187245037"},"_hasShrinkwrap":false},"2.0.0-alpha.4":{"private":false,"name":"curve-interpolator","version":"2.0.0-alpha.4","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["cubic","cardnial","catmull-rom","curve","interpolate","interpolator","spline","analysis"],"scripts":{"prebuild":"rimraf dist","build":"rollup -c","prepub":"npm run build","pub":"npm publish --access=public","test":"mocha -r ts-node/register test/**/*.spec.ts","test:watch":"mocha -r ts-node/register test/**/*.spec.ts --reporter min --watch --watch-extensions ts","predocs":"rimraf docs","docs":"typedoc --out docs src --module es6","postdocs":"copyfiles _config.yml docs"},"main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.js","devDependencies":{"@types/chai":"^4.2.5","@types/mocha":"^5.2.7","chai":"^4.2.0","copyfiles":"^2.1.1","eslint":"^6.6.0","eslint-config-airbnb-base":"^14.0.0","eslint-plugin-import":"^2.18.2","mocha":"^6.2.2","rimraf":"^3.0.0","rollup":"^1.26.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.1.3","rollup-plugin-typescript2":"^0.24.3","ts-node":"^8.5.2","typedoc":"^0.15.0","typescript":"^3.6.4"},"types":"dist/index.d.ts","moduleFileExtensions":["ts","tsx","js"],"readme":"![](https://github.com/kjerandp/curve-interpolator/workflows/Node%20CI/badge.svg)\n![](https://img.shields.io/npm/v/curve-interpolator)\n# Curve Interpolator\n\nA lib for interpolating values over a cubic Cardinal/Catmull-Rom spline curve.\n\n## Installation\n```bash\nnpm install --save curve-interpolator\n```\n## Basic usage\nReference the CurveInterpolator class:\n```js\n// commonjs\nconst CurveInterpolator = require('curve-interpolator').CurveInterpolator;\n\n// es6\nimport { CurveInterpolator } from 'curve-interpolator';\n\n```\n\nDefine controlpoints you want the curve to pass through and pass it to the constructor of the CurveInterpolator to create an instance:\n\n```js\nconst points = [\n  [0, 4],\n  [1, 2],\n  [3, 6.5],\n  [4, 8],\n  [5.5, 4],\n  [7, 3],\n  [8, 0],\n  ...\n];\n\nconst tension = 0.2;\nconst interp = new CurveInterpolator(points, tension);\n\n// get single point\nconst position = 0.3 // [0 - 1]\nconst pt = interp.getPointAt(position)\n\n// get points evently distributed along the curve\nconst nPoints = 1000;\nconst pts = interp.getPoints(nPoints - 1);\n\n// lookup values along x and y axises\nconst yintersects = interp.y(position);\n\n/*\nmax number of solutions (0 = all (default), 1 = first, -1 = last)\nA negative max value counts solutions from end of curve\n*/\nconst max = -1;\nconst xintersects = interp.x(position, max);\n\n// get bounding box\nconst bbox = interp.getBoundingBox();\n```\n\nOnline example on ObservableHQ:\nhttps://observablehq.com/@kjerandp/curve-interpolator-v1\n\n## Docs\nDocs are generated using typedoc in `./docs`. To create:\n```bash\nnpm run docs\n```\nOnline: https://kjerandp.github.io/curve-interpolator/\n\n## License\nMIT\n","readmeFilename":"README.md","gitHead":"984ed3caad8122826e91f6860c0dc576f201cd00","homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@2.0.0-alpha.4","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-PbojgOSPpek4FjGuCZNYR0Z/SPsQu7kTaXTef+y0ZR5BSxKgS9/BoJZJtNOlohoF/g4+VgDDPOd5zBEfl6rfSg==","shasum":"1d683db5be4ee05fe11b7c8be597438db34242d7","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-2.0.0-alpha.4.tgz","fileCount":19,"unpackedSize":69882,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeXNjMCRA9TVsSAnZWagAAA4kP/iAopoTnVrKzARBh9JRh\nYX0/fFuX9iz1VGpwlp7eEgfzGFJRhUXGwpEKaSrii1yXUC/NYVxH2gk5Ln//\noSK3sKMnsIgwBvMTD86J6A+cEfwH+p7nheKxYUn5vHtr5IS/tUvN2JnpJSRH\nj9/mu9DxRJ61/wv9WNqQzjx0jU7tjUqTUlppiEj5NxKNoNBCjOtoptZsqQVf\nXb+NN8Ht3UafMjs+7tJRbYRvrbk5PeAKaeGCmft2DiEN82yCpcsw3/NIDeY8\nxcxtfkXnvV3Q/DBjaKt4JlOjAbk21vSFxKumext7kYShiadaXZZcgsoLZWTq\nhXU4PLm6v0CHm6tyMX129MwIx5pKTD4se1/W/tHpczSy1ZF3bAg7XYVB6WjE\n9Cdi6RNUC9FMr2Nk2vPt1CXRn1hLH7hG2qU3iGnVxyh9yXVmL45IHRmmwIhe\ncxpHCCrSq+F7Eya3mH8WvGmszQsHA6Qs3mD9nV7f5aqZv3Akl3UPvgtsLMj6\n7C3+lMkogxureRDzpy9pjiMe7oe85OagUJjql7en9HRCuGkd7JkBzCzzSU/9\nh5nNAaOj9bwt8AMeLvF+liPfebWZQBMuZWFlNV+AUl3fCTFUj39kUKfa+Ox7\nayjhztQZt3TMd84bd6uJCr9wC5MhgAt/eqvUvWCNiNMElp1XcQWefDw9pzhY\nTgGc\r\n=Iw0P\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE4r+gaN0az/pgBHC0uXZQNdFAtqIag+a49AZ4dOnp4MAiBaqWftPR7oi5eBs5QKiwk3HCXbSyptU7T7cYH9wI1Kyw=="}]},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_2.0.0-alpha.4_1583143115493_0.9261772390340919"},"_hasShrinkwrap":false},"2.0.0-alpha.5":{"private":false,"name":"curve-interpolator","version":"2.0.0-alpha.5","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["cubic","cardnial","catmull-rom","curve","interpolate","interpolator","spline","analysis"],"scripts":{"prebuild":"rimraf dist","build":"rollup -c","prepub":"npm run build","pub":"npm publish --access=public","test":"mocha -r ts-node/register test/**/*.spec.ts","test:watch":"mocha -r ts-node/register test/**/*.spec.ts --reporter min --watch --watch-extensions ts","predocs":"rimraf docs","docs":"typedoc --out docs src --module es6","postdocs":"copyfiles _config.yml docs"},"main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.js","devDependencies":{"@types/chai":"^4.2.5","@types/mocha":"^5.2.7","chai":"^4.2.0","copyfiles":"^2.1.1","eslint":"^6.6.0","eslint-config-airbnb-base":"^14.0.0","eslint-plugin-import":"^2.18.2","mocha":"^6.2.2","rimraf":"^3.0.0","rollup":"^1.26.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.1.3","rollup-plugin-typescript2":"^0.24.3","ts-node":"^8.5.2","typedoc":"^0.15.0","typescript":"^3.6.4"},"types":"dist/index.d.ts","moduleFileExtensions":["ts","tsx","js"],"readme":"![](https://github.com/kjerandp/curve-interpolator/workflows/Node%20CI/badge.svg)\n![](https://img.shields.io/npm/v/curve-interpolator)\n# Curve Interpolator\n\nA lib for interpolating values over a cubic Cardinal/Catmull-Rom spline curve.\n\n## Installation\n```bash\nnpm install --save curve-interpolator\n```\n## Basic usage\nReference the CurveInterpolator class:\n```js\n// commonjs\nconst CurveInterpolator = require('curve-interpolator').CurveInterpolator;\n\n// es6\nimport { CurveInterpolator } from 'curve-interpolator';\n\n```\n\nDefine controlpoints you want the curve to pass through and pass it to the constructor of the CurveInterpolator to create an instance:\n\n```js\nconst points = [\n  [0, 4],\n  [1, 2],\n  [3, 6.5],\n  [4, 8],\n  [5.5, 4],\n  [7, 3],\n  [8, 0],\n  ...\n];\n\nconst tension = 0.2;\nconst interp = new CurveInterpolator(points, tension);\n\n// get single point\nconst position = 0.3 // [0 - 1]\nconst pt = interp.getPointAt(position)\n\n// get points evently distributed along the curve\nconst nPoints = 1000;\nconst pts = interp.getPoints(nPoints - 1);\n\n// lookup values along x and y axises\nconst yintersects = interp.y(position);\n\n/*\nmax number of solutions (0 = all (default), 1 = first, -1 = last)\nA negative max value counts solutions from end of curve\n*/\nconst max = -1;\nconst xintersects = interp.x(position, max);\n\n// get bounding box\nconst bbox = interp.getBoundingBox();\n```\n\nOnline example on ObservableHQ:\nhttps://observablehq.com/@kjerandp/curve-interpolator-v1\n\n## Docs\nDocs are generated using typedoc in `./docs`. To create:\n```bash\nnpm run docs\n```\nOnline: https://kjerandp.github.io/curve-interpolator/\n\n## License\nMIT\n","readmeFilename":"README.md","gitHead":"73ee98f94200622be62a86d75051ec0f24d35736","homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@2.0.0-alpha.5","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-eW4MhXj830NBW9by+N+fCHB0VlMDoK18KWrC5hf3lLNYIT2+n34BbScb2HbHAwQrXVfhi7W3b6BVPLUmewKCKg==","shasum":"0ccb321500be88f9f4bcd10d9a04dcf40a7ed588","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-2.0.0-alpha.5.tgz","fileCount":19,"unpackedSize":64276,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeXs1pCRA9TVsSAnZWagAAqpEP/2PBF6Ee/cOcpee2Ub5J\nfQ3+MRP8XwQ6qElNnmrBVIKwAfGUokVnteNGdL5Sa5Nf1YzDKwN6M84vngMr\nS85w3AbgqY95U1NUqDM7DaARz0ev3mVXD2UnZZAKhoVogRYNnfpELalqG4CR\niiANeJOWgHhoBKzAIDntOU21QZcqc5uLErEC9swtIGJ/1PPYhX3q/BcirwXt\n+gdbXoc91aGMoJb5+xXloRFTSwqZHu+XGigQINJPRJJqQWCRy+TMic4NH1+B\nu13vWEoTE8qgTssyakUVM9EXWLeMPL/XNh6PZu2ElBCcxroo8P9rAlJR4Mns\nX74aSW7GidRg/aLsPO/shlmKLbBqmeW8IcNAtNczt6dkoEc98r4dx9kleziB\nNtMDWJ92nmdTabjHnC1Y0oJRzMntCXDRNUrJ8GoZH/p3ZWZg+f4zutY67ofU\nyT6VJGpKv2hn3UfnuJ64mO1yiTgTIkFMjeXMN0K/ppiJRjIhYnIe0h0LJC3O\nfLXFt1ZOaqdsIEwBA5J1YBYcoCEziXa2flwS1vPMEMvPkvQON4KOWpRwhUUt\nsu16lQSqkpWReO6FC5yGVaUCCAowKG4G3cpTQwRc7I7hBGY0/cUlrkTlVsvE\nlu2vH2l5OMnH4Vez8o9raiOnimBMKj47HlaxagZUPzBlI0yKhrgxIjkxmVRS\nAT4T\r\n=FTbd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBgaJa4t593TyU5cRdYQCpGohCzzt0hAdYgTayGs75KuAiAF82nvShFeK2UXQZxtyG72zsNwvCSmkpa9lUrAng8bXA=="}]},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_2.0.0-alpha.5_1583271273001_0.15786557355926933"},"_hasShrinkwrap":false},"2.0.0-alpha.6":{"private":false,"name":"curve-interpolator","version":"2.0.0-alpha.6","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["cubic","cardnial","catmull-rom","curve","interpolate","interpolator","spline","analysis"],"scripts":{"prebuild":"rimraf dist","build":"rollup -c","prepub":"npm run build","pub":"npm publish --access=public","test":"mocha -r ts-node/register test/**/*.spec.ts","test:watch":"mocha -r ts-node/register test/**/*.spec.ts --reporter min --watch --watch-extensions ts","predocs":"rimraf docs","docs":"typedoc --out docs src --module es6","postdocs":"copyfiles _config.yml docs"},"main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.js","devDependencies":{"@types/chai":"^4.2.5","@types/mocha":"^5.2.7","chai":"^4.2.0","copyfiles":"^2.1.1","eslint":"^6.6.0","eslint-config-airbnb-base":"^14.0.0","eslint-plugin-import":"^2.18.2","mocha":"^6.2.2","rimraf":"^3.0.0","rollup":"^1.26.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.1.3","rollup-plugin-typescript2":"^0.24.3","ts-node":"^8.5.2","typedoc":"^0.15.0","typescript":"^3.6.4"},"types":"dist/index.d.ts","moduleFileExtensions":["ts","tsx","js"],"readme":"![](https://github.com/kjerandp/curve-interpolator/workflows/Node%20CI/badge.svg)\n![](https://img.shields.io/npm/v/curve-interpolator)\n# Curve Interpolator\n\nA lib for interpolating values over a cubic Cardinal/Catmull-Rom spline curve.\n\n## Installation\n```bash\nnpm install --save curve-interpolator\n```\n## Basic usage\nReference the CurveInterpolator class:\n```js\n// commonjs\nconst CurveInterpolator = require('curve-interpolator').CurveInterpolator;\n\n// es6\nimport { CurveInterpolator } from 'curve-interpolator';\n\n```\n\nDefine controlpoints you want the curve to pass through and pass it to the constructor of the CurveInterpolator to create an instance:\n\n```js\nconst points = [\n  [0, 4],\n  [1, 2],\n  [3, 6.5],\n  [4, 8],\n  [5.5, 4],\n  [7, 3],\n  [8, 0],\n  ...\n];\n\nconst tension = 0.2;\nconst interp = new CurveInterpolator(points, tension);\n\n// get single point\nconst position = 0.3 // [0 - 1]\nconst pt = interp.getPointAt(position)\n\n// get points evently distributed along the curve\nconst nPoints = 1000;\nconst pts = interp.getPoints(nPoints - 1);\n\n// lookup values along x and y axises\nconst yintersects = interp.y(position);\n\n/*\nmax number of solutions (0 = all (default), 1 = first, -1 = last)\nA negative max value counts solutions from end of curve\n*/\nconst max = -1;\nconst xintersects = interp.x(position, max);\n\n// get bounding box\nconst bbox = interp.getBoundingBox();\n```\n\nOnline example on ObservableHQ:\nhttps://observablehq.com/@kjerandp/curve-interpolator-v1\n\n## Docs\nDocs are generated using typedoc in `./docs`. To create:\n```bash\nnpm run docs\n```\nOnline: https://kjerandp.github.io/curve-interpolator/\n\n## License\nMIT\n","readmeFilename":"README.md","gitHead":"73ee98f94200622be62a86d75051ec0f24d35736","homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@2.0.0-alpha.6","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-zHXGU2DrAAEb+d5RcMNYVwh6jqHBmY2CjnjqMlVOOfBZywtGsR2uo1e77Kl3uxh5G8zSwddEQBIsNJOq4R0F8w==","shasum":"12abcd08be2d9e61059379842e0b1630589e1986","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-2.0.0-alpha.6.tgz","fileCount":19,"unpackedSize":63992,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeXuZXCRA9TVsSAnZWagAAVJEP/im82u1ogeZCoFFrIK1Z\nUbIACtTRPs9GLIdHFatxllg9RIdCqfuJWWoVs5j9jKf5bPlHsJIK8WvrZzDw\nTzscu0j0RIGWTcz+JhyFMgxNL4SGlT3mu/skM5i0gCwYE40YzkLhEQ24d4EW\nwqeOV0/kp7ngT8fOOJM1PPQ+g98Dby6gv3BmUDk81IwmMryV2251P2Sl0dAo\nNcPElTL070eegdd76Q6jjiLarTpLAHitmQtim56Cd/raUKOxPB8HpVx9vwkI\nACGHQJtgA6HJ8O69i/beYGEYWJ9OcHOIax3M5su//SL3tu0PObd+H8UyKa6M\nDU+CtwDsX8ZwC/zMP9t7mFUgdmA8X2evRklsIu5V+s7DE7bz5AF4MC2nvNlx\nbvN2pM3OpgXn7u7gIs2ldaXTgpuv0QEfVcYbDz/RuDIm9mbQf6kPADBZt3BS\nbU0r17YONN1K6245ujv6XeWlEAZ2fHA/cRr5znusmv1ey2juj1HNKnCg9QHl\n4IX1+v7VwWlqYfyhDwq9JffHaIDXgqpkr8+s6O9N/V/S1A4dDePdYAzhiWtK\nzifnedLk4kEC8p0c5ERs4uULFjuLzwtShOJBH6S0ubmdFLlCfo9Z0dh6ajjL\nE0o0EBEAUhV//PreR9cWZyxrC/unERQ5DdZrVLQayQe4jhb/YgyOLLQCyXjk\nhyRB\r\n=UUfN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEPGLfaC6y6U8/m916lTdcw6jodwyqDUucpDoOHRV+iKAiEA1m/IOdszlCSNzi8IBoTBhkHf9hcij0lPn+g34cTe5u0="}]},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_2.0.0-alpha.6_1583277654593_0.4366179076697305"},"_hasShrinkwrap":false},"2.0.0-alpha.7":{"private":false,"name":"curve-interpolator","version":"2.0.0-alpha.7","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["cubic","cardnial","catmull-rom","curve","interpolate","interpolator","spline","analysis"],"scripts":{"prebuild":"rimraf dist","build":"rollup -c","prepub":"npm run build","pub":"npm publish --access=public","test":"mocha -r ts-node/register test/**/*.spec.ts","test:watch":"mocha -r ts-node/register test/**/*.spec.ts --reporter min --watch --watch-extensions ts","predocs":"rimraf docs","docs":"typedoc --out docs src --module es6","postdocs":"copyfiles _config.yml docs"},"main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.js","devDependencies":{"@types/chai":"^4.2.5","@types/mocha":"^5.2.7","chai":"^4.2.0","copyfiles":"^2.1.1","eslint":"^6.6.0","eslint-config-airbnb-base":"^14.0.0","eslint-plugin-import":"^2.18.2","mocha":"^6.2.2","rimraf":"^3.0.0","rollup":"^1.26.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.1.3","rollup-plugin-typescript2":"^0.24.3","ts-node":"^8.5.2","typedoc":"^0.15.0","typescript":"^3.6.4"},"types":"dist/index.d.ts","moduleFileExtensions":["ts","tsx","js"],"readme":"![](https://github.com/kjerandp/curve-interpolator/workflows/Node%20CI/badge.svg)\n![](https://img.shields.io/npm/v/curve-interpolator)\n# Curve Interpolator\n\nA lib for interpolating values over a cubic Cardinal/Catmull-Rom spline curve.\n\n## Installation\n```bash\nnpm install --save curve-interpolator\n```\n## Basic usage\nReference the CurveInterpolator class:\n```js\n// commonjs\nconst CurveInterpolator = require('curve-interpolator').CurveInterpolator;\n\n// es6\nimport { CurveInterpolator } from 'curve-interpolator';\n\n```\n\nDefine controlpoints you want the curve to pass through and pass it to the constructor of the CurveInterpolator to create an instance:\n\n```js\nconst points = [\n  [0, 4],\n  [1, 2],\n  [3, 6.5],\n  [4, 8],\n  [5.5, 4],\n  [7, 3],\n  [8, 0],\n  ...\n];\n\nconst tension = 0.2;\nconst interp = new CurveInterpolator(points, tension);\n\n// get single point\nconst position = 0.3 // [0 - 1]\nconst pt = interp.getPointAt(position)\n\n// get points evently distributed along the curve\nconst nPoints = 1000;\nconst pts = interp.getPoints(nPoints - 1);\n\n// lookup values along x and y axises\nconst yintersects = interp.y(position);\n\n/*\nmax number of solutions (0 = all (default), 1 = first, -1 = last)\nA negative max value counts solutions from end of curve\n*/\nconst max = -1;\nconst xintersects = interp.x(position, max);\n\n// get bounding box\nconst bbox = interp.getBoundingBox();\n```\n\nOnline example on ObservableHQ:\nhttps://observablehq.com/@kjerandp/curve-interpolator-v1\n\n## Docs\nDocs are generated using typedoc in `./docs`. To create:\n```bash\nnpm run docs\n```\nOnline: https://kjerandp.github.io/curve-interpolator/\n\n## License\nMIT\n","readmeFilename":"README.md","gitHead":"73ee98f94200622be62a86d75051ec0f24d35736","homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@2.0.0-alpha.7","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-kzurYkWT7RXxfYVWYTJMb77BQYAh+5s1P/AbpYMgOHQ9vQR4oO/vSWlAa2/Fu7Bjl87yrSoo+70M8imx3bdiIQ==","shasum":"8e5ea7817d702edbdf7a3fd47c4ba96beba89beb","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-2.0.0-alpha.7.tgz","fileCount":19,"unpackedSize":64088,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeXulTCRA9TVsSAnZWagAAeu4P/3q5LCQBojakWQTnrthN\nAWXfOtYKOfCOKVlXOxOmfaOgph2Ax+c7Gac3i9Wg3Z/wx4hgOGZ92ABX69n1\nru0J+v5gUNyMNSrazNSvmr9vHqHLMq3GKgt43xd2w2KAiFQiWGG6Qr8uv7tb\npzYSb+MioTUDlqqFMwNJkKi62qP4k9TJh2GU1EXZQX1CEihLYL5M77mEfj07\nXZfMmBrxqdhLxTlfKZCildbaJbQGFtYd2/9/c+PkKPQ19+TdbQ+C1UFsBled\n2QiC/D8dmgcKKIP1NAWQPSW1TGiSVK1VkKYe/Saz+AxWtoqhUeiNtZPDUus8\nu9he9UfEDgUpdI6LZ9zfzWuIAbqnmYQpMpe8hGsehqVqRIL2mvabQ743ZtE4\nZe+G+DrUT7QxQbWgXi8FsB3XSoxFN4jy+CUtf4v8Nuj0n6PnOE+dILtdNPZR\n35ybcAQAddPDryNOgb4yrYX2JXgV4vL/ayb7CPIIHKZQEF5arfIXWYPf8u5m\nAk4N661m/SZF/Y5CMszxYaBV6wFV6KyXD/tM2+TKwgifpzQHjf3rf1KOHH+L\nIoroCXjod5S72xiw68+zrCxBFuQRaJoKjq/LCXz9V6fHMlc1lT2BonChlz5C\nxsWGKLYJFsZglZk2AFY0PznQR8DPofrKkeCQy3FUQWpVKvvhAKPYcIlIfk+L\ns+V8\r\n=WaFU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDsWMZoKjNM3rCMQ7hKVc6VaWBK/7KTTyG700wu4t4HEAiEA7AaSnIJDw0ok5eYetA9qNRJya4cLJyKINIujPivH7t4="}]},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_2.0.0-alpha.7_1583278419270_0.626413591505103"},"_hasShrinkwrap":false},"2.0.0-alpha.8":{"private":false,"name":"curve-interpolator","version":"2.0.0-alpha.8","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["cubic","cardnial","catmull-rom","curve","interpolate","interpolator","spline","analysis"],"scripts":{"prebuild":"rimraf dist","build":"rollup -c","prepub":"npm run build","pub":"npm publish --access=public","test":"mocha -r ts-node/register test/**/*.spec.ts","test:watch":"mocha -r ts-node/register test/**/*.spec.ts --reporter min --watch --watch-extensions ts","predocs":"rimraf docs","docs":"typedoc --out docs src --module es6","postdocs":"copyfiles _config.yml docs"},"main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.js","devDependencies":{"@types/chai":"^4.2.5","@types/mocha":"^5.2.7","chai":"^4.2.0","copyfiles":"^2.1.1","eslint":"^6.6.0","eslint-config-airbnb-base":"^14.0.0","eslint-plugin-import":"^2.18.2","mocha":"^6.2.2","rimraf":"^3.0.0","rollup":"^1.26.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.1.3","rollup-plugin-typescript2":"^0.24.3","ts-node":"^8.5.2","typedoc":"^0.15.0","typescript":"^3.6.4"},"types":"dist/index.d.ts","moduleFileExtensions":["ts","tsx","js"],"readme":"![](https://github.com/kjerandp/curve-interpolator/workflows/Node%20CI/badge.svg)\n![](https://img.shields.io/npm/v/curve-interpolator)\n# Curve Interpolator\n\nA lib for interpolating values over a cubic Cardinal/Catmull-Rom spline curve.\n\n## Installation\n```bash\nnpm install --save curve-interpolator\n```\n## Basic usage\nReference the CurveInterpolator class:\n```js\n// commonjs\nconst CurveInterpolator = require('curve-interpolator').CurveInterpolator;\n\n// es6\nimport { CurveInterpolator } from 'curve-interpolator';\n\n```\n\nDefine controlpoints you want the curve to pass through and pass it to the constructor of the CurveInterpolator to create an instance:\n\n```js\nconst points = [\n  [0, 4],\n  [1, 2],\n  [3, 6.5],\n  [4, 8],\n  [5.5, 4],\n  [7, 3],\n  [8, 0],\n  ...\n];\n\nconst tension = 0.2;\nconst interp = new CurveInterpolator(points, tension);\n\n// get single point\nconst position = 0.3 // [0 - 1]\nconst pt = interp.getPointAt(position)\n\n// get points evently distributed along the curve\nconst nPoints = 1000;\nconst pts = interp.getPoints(nPoints - 1);\n\n// lookup values along x and y axises\nconst yintersects = interp.y(position);\n\n/*\nmax number of solutions (0 = all (default), 1 = first, -1 = last)\nA negative max value counts solutions from end of curve\n*/\nconst max = -1;\nconst xintersects = interp.x(position, max);\n\n// get bounding box\nconst bbox = interp.getBoundingBox();\n```\n\nOnline example on ObservableHQ:\nhttps://observablehq.com/@kjerandp/curve-interpolator-v1\n\n## Docs\nDocs are generated using typedoc in `./docs`. To create:\n```bash\nnpm run docs\n```\nOnline: https://kjerandp.github.io/curve-interpolator/\n\n## License\nMIT\n","readmeFilename":"README.md","gitHead":"ada833e4fcf57b79e571f8101ba2e93ada434be2","homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@2.0.0-alpha.8","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-RJEjMZLkX2WjeNtUNUsr+8KVK8AV2j+NZOkeQyT1YkKg6Ll8vEWkOlIP2rE6WkbygdkNBp7U6cT0MVNtGlL9VQ==","shasum":"46b7b295f73c7a5443219fd20c0df429c1836763","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-2.0.0-alpha.8.tgz","fileCount":19,"unpackedSize":64157,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeX3PYCRA9TVsSAnZWagAAST4P/07zIGOg9wrDhQJ6VCM9\nsjaeYAbMPEzKnIR/JY6t4Lyn+RXCQ0PEdH/9+0dZeqZn68Gdzej8nutAngJA\nCb/hZjNe2F7jmToU8KtNcPQi90XCloxTAU2FcaFELiLVzyzaAEE59Yhp6c8+\n/ovAqswEabEnwdBCiTpw79j97AXfyldEDhw0QwJk0APiFLCfwQGIYaO46yZU\nLEyO24zYGxAhKo6LzWvzZZnJ1ZExFRrLCNCfRBp9GRleNJkWElXvjd3JbqNc\naOcvNXl4Lwh2N49+H4SWhS3v8hgcLKtz9v1xehYnuK1UXCXH8I4ovO+XxXfM\n7AGXhP0iUpzwcMpdusUUuEF7HHqf89RHMHXdDdokFe9IWO6boPROpKyD+qNF\n2im7tqxduzOYtZJpocZtXA68WcFOzG7RbluOHuYzGClSYqRZyOhv+ECBR8Gv\nSdkR0YA82F7NmGaMGgRiMHRuM/fjGgDNc78oy25IZfHO5HAGz0TbIxqFkYOR\nczbNj27HBdgDX7tZIzZHNvhJbiaeTHyq2eI4nrUbp/6Bg2DyxEz/9SbiRPJU\nS01XxpoNME6lCJbCm6CoPisLeOG2tYSJ66fwPcaPH263FMIG/V8WR/aKgOZT\nUaIlI76/DV7uWhBTtME2vKbTUVFr7rcL1CwQy/GMyY3XJ7U9lR3MQ6vv64JU\ntFIO\r\n=WI+E\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHOsIp+jaPgbqUYMHwAJy4aBqs4wo+e7I5mlkuH28EI7AiEAmtwvikTfr3430dAHYbNe+2F7l2sBhpTotvADoRilmq4="}]},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_2.0.0-alpha.8_1583313879600_0.3995777065542938"},"_hasShrinkwrap":false},"2.0.0-alpha.9":{"private":false,"name":"curve-interpolator","version":"2.0.0-alpha.9","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["cubic","cardnial","catmull-rom","curve","interpolate","interpolator","spline","analysis"],"scripts":{"prebuild":"rimraf dist","build":"rollup -c","prepub":"npm run build","pub":"npm publish --access=public","test":"mocha -r ts-node/register test/**/*.spec.ts","test:watch":"mocha -r ts-node/register test/**/*.spec.ts --reporter min --watch --watch-extensions ts","predocs":"rimraf docs","docs":"typedoc --out docs src --module es6","postdocs":"copyfiles _config.yml docs"},"main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.js","devDependencies":{"@types/chai":"^4.2.5","@types/mocha":"^5.2.7","chai":"^4.2.0","copyfiles":"^2.1.1","eslint":"^6.6.0","eslint-config-airbnb-base":"^14.0.0","eslint-plugin-import":"^2.18.2","mocha":"^6.2.2","rimraf":"^3.0.0","rollup":"^1.26.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.1.3","rollup-plugin-typescript2":"^0.24.3","ts-node":"^8.5.2","typedoc":"^0.15.0","typescript":"^3.6.4"},"types":"dist/index.d.ts","moduleFileExtensions":["ts","tsx","js"],"readme":"![](https://github.com/kjerandp/curve-interpolator/workflows/Node%20CI/badge.svg)\n![](https://img.shields.io/npm/v/curve-interpolator)\n# Curve Interpolator\n\nA lib for interpolating values over a cubic Cardinal/Catmull-Rom spline curve.\n\n## Installation\n```bash\nnpm install --save curve-interpolator\n```\n## Basic usage\nReference the CurveInterpolator class:\n```js\n// commonjs\nconst CurveInterpolator = require('curve-interpolator').CurveInterpolator;\n\n// es6\nimport { CurveInterpolator } from 'curve-interpolator';\n\n```\n\nDefine controlpoints you want the curve to pass through and pass it to the constructor of the CurveInterpolator to create an instance:\n\n```js\nconst points = [\n  [0, 4],\n  [1, 2],\n  [3, 6.5],\n  [4, 8],\n  [5.5, 4],\n  [7, 3],\n  [8, 0],\n  ...\n];\n\nconst tension = 0.2;\nconst interp = new CurveInterpolator(points, tension);\n\n// get single point\nconst position = 0.3 // [0 - 1]\nconst pt = interp.getPointAt(position)\n\n// get points evently distributed along the curve\nconst nPoints = 1000;\nconst pts = interp.getPoints(nPoints - 1);\n\n// lookup values along x and y axises\nconst yintersects = interp.y(position);\n\n/*\nmax number of solutions (0 = all (default), 1 = first, -1 = last)\nA negative max value counts solutions from end of curve\n*/\nconst max = -1;\nconst xintersects = interp.x(position, max);\n\n// get bounding box\nconst bbox = interp.getBoundingBox();\n```\n\nOnline example on ObservableHQ:\nhttps://observablehq.com/@kjerandp/curve-interpolator-v1\n\n## Docs\nDocs are generated using typedoc in `./docs`. To create:\n```bash\nnpm run docs\n```\nOnline: https://kjerandp.github.io/curve-interpolator/\n\n## License\nMIT\n","readmeFilename":"README.md","gitHead":"ada833e4fcf57b79e571f8101ba2e93ada434be2","homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@2.0.0-alpha.9","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-6X9YKhrQLKo/Q+QD83JjBTabSxdWW5PSNO9LGKZE6YBkleJe1TxLnDbSs4jVgpGSqMjLof6+8mvaoLrqi5DsgA==","shasum":"ce973c7bcf609ebbd69ebbb371dc5cd31a230fbc","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-2.0.0-alpha.9.tgz","fileCount":19,"unpackedSize":64229,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeX7pBCRA9TVsSAnZWagAAMpoP/0IMpO2YdCRM9HVy1k87\nFM1v/OyF9CBjmO+q+k92W7QWdfGvtQQM39BHryPb/tvJJxN/VRH0zPJvNiKM\ngMRaj2Dts02NL9tFUnvliFwssKAv6fmwFgMNNF5+kKuoRyphlimd4HqVuXFO\nVGVvd5pY+OgGNKxfJtko/cR+5rshWUox82ZSosLqJCgFwHRHrt7lnLMIAdpM\nxVJ4H4bb6PJGfuF9+r54v/p4LEPrHn37bG5kEietkmk5IjbmtIIyQdIfjGuu\njcEPHYudZebyxJPyCDEN2XrL1Ho2G/ejenDMBcjDXpy2X1uRX+wyNuSDme9V\nQTRkMrPYjAgNQpgb2Lbc0pP8Fabdj6wHZPUQO+JKlS2TYJLgqb13LuuMa92d\nqirwVxmCTme93QIPE/Ls3F2kcsmavxyP7N0cOMFph4PBoAJ2+pLz18+UTUSy\nd+/zi/dtsMzKeWa1d87HICIvz3Y73E9VnF12f+V/1YsDLvE3UQl/TM5n6jGX\nsRYA+rZk96DOJUgCWnBsGpxp1lZ6/zQr9mBvyZqCruTuq+GsL9zqwGG7fbXQ\nXVUvICduydpcd/L+UE700RGHiUEZ0d3gHuyagALrDLeUtqsxyHlqlElcXd09\nNxGS2vMpH/P7/PIvVcWqrRHGseCb2PWc4AvJgG9PCu6gMxly+pW2Qxdbxxxl\nHJDw\r\n=Uamw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCKmcz+Y8O6vfroOe0URHMKKavTsUrd89fM/Bb9flAfjQIgTyCDdchQvnQDSPnYwsn5JXtSB/L9iHdAzBAyLmHZNxQ="}]},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_2.0.0-alpha.9_1583331905567_0.538573263446501"},"_hasShrinkwrap":false},"2.0.0-alpha.10":{"private":false,"name":"curve-interpolator","version":"2.0.0-alpha.10","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["cubic","cardnial","catmull-rom","curve","interpolate","interpolator","spline","analysis"],"scripts":{"prebuild":"rimraf dist","build":"rollup -c","prepub":"npm run build","pub":"npm publish --access=public","test":"mocha -r ts-node/register test/**/*.spec.ts","test:watch":"mocha -r ts-node/register test/**/*.spec.ts --reporter min --watch --watch-extensions ts","predocs":"rimraf docs","docs":"typedoc --out docs src --module es6","postdocs":"copyfiles _config.yml docs"},"main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.js","devDependencies":{"@types/chai":"^4.2.5","@types/mocha":"^5.2.7","chai":"^4.2.0","copyfiles":"^2.1.1","eslint":"^6.6.0","eslint-config-airbnb-base":"^14.0.0","eslint-plugin-import":"^2.18.2","mocha":"^6.2.2","rimraf":"^3.0.0","rollup":"^1.26.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.1.3","rollup-plugin-typescript2":"^0.24.3","ts-node":"^8.5.2","typedoc":"^0.15.0","typescript":"^3.6.4"},"types":"dist/index.d.ts","moduleFileExtensions":["ts","tsx","js"],"readme":"![](https://github.com/kjerandp/curve-interpolator/workflows/Node%20CI/badge.svg)\n![](https://img.shields.io/npm/v/curve-interpolator)\n# Curve Interpolator\n\nA lib for interpolating values over a cubic Cardinal/Catmull-Rom spline curve.\n\n## Installation\n```bash\nnpm install --save curve-interpolator\n```\n## Basic usage\nReference the CurveInterpolator class:\n```js\n// commonjs\nconst CurveInterpolator = require('curve-interpolator').CurveInterpolator;\n\n// es6\nimport { CurveInterpolator } from 'curve-interpolator';\n\n```\n\nDefine controlpoints you want the curve to pass through and pass it to the constructor of the CurveInterpolator to create an instance:\n\n```js\nconst points = [\n  [0, 4],\n  [1, 2],\n  [3, 6.5],\n  [4, 8],\n  [5.5, 4],\n  [7, 3],\n  [8, 0],\n  ...\n];\n\nconst tension = 0.2;\nconst interp = new CurveInterpolator(points, tension);\n\n// get single point\nconst position = 0.3 // [0 - 1]\nconst pt = interp.getPointAt(position)\n\n// get points evently distributed along the curve\nconst nPoints = 1000;\nconst pts = interp.getPoints(nPoints - 1);\n\n// lookup values along x and y axises\nconst yintersects = interp.y(position);\n\n/*\nmax number of solutions (0 = all (default), 1 = first, -1 = last)\nA negative max value counts solutions from end of curve\n*/\nconst max = -1;\nconst xintersects = interp.x(position, max);\n\n// get bounding box\nconst bbox = interp.getBoundingBox();\n```\n\nOnline example on ObservableHQ:\nhttps://observablehq.com/@kjerandp/curve-interpolator-v1\n\n## Docs\nDocs are generated using typedoc in `./docs`. To create:\n```bash\nnpm run docs\n```\nOnline: https://kjerandp.github.io/curve-interpolator/\n\n## License\nMIT\n","readmeFilename":"README.md","gitHead":"8df9521749a940b04b3a40b903ebb5a8706ee19a","homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@2.0.0-alpha.10","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-4uzeMKZ5KgNj36dJ5x6gHj2BNkS406M7vNwXbwb8USkHsm6L6+BV6q6zqgzy2m+N4HszNXRR8Q+hXq6BTOFfqQ==","shasum":"301f2224725fc078d19a3b3b9d566259b860ca47","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-2.0.0-alpha.10.tgz","fileCount":19,"unpackedSize":64254,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeX77WCRA9TVsSAnZWagAAHuMP/3WoURpzzw/uzTVg/qkG\nhHsVxvPeAu2uTPxvMl2CxK8omhvZqWbmlDHzm3byMSJH9j9usUupZ8YyTrd6\nKIB0WjbT+0cr7S97iyMry3OiNAzdMnnthVhCa7F89b7Yq7U4T2WoI+yX/gYq\ntavpfoKGifD+xe9oDpuM+Dv4YzplifYLdZN1btuQ8HK/EkEvzuDOoZolRwJc\n75SqZQgAyDEh6fn/RHN59lZqoI9z2E0fJllbHQa3ns5mIGeMDuR4wOzVkG0I\nxFo5xaGqMV0ss3jgc+O+A4/hZ9mPo9HyuHuTWApxvtj8VS575O6VYCG+vvD0\nEW/lJe9r+LDO3q/d1YX/eDV/zwqhsAmwxmCSFV43KNGCr4bJRN8+Nq7Asoxu\nTQv1lyy3ugCpBIjBg8sx4/LF12YxgY00GDzWTDpUlTynFQP5yVTuzbDaXrWM\nDZp7/shhk9pg/haBpAMHo6JPwqjNwRCTdpYZWigs/znStZOY2P1mrzfvTvkI\nO9h88YVQrseIsDze2jO/GYY1vRccG7Je0vipUsky9Qjfzxo/MNBwMK2nLNLu\nzfd9Q8hIMB5uAIj2SBLRGk9QHyFoZIG/Pbc7/ebE2cHZYFK8T5+jN67rdeM2\nKYMiaW2sc2wPvrkuadM6WPELA8joglKVmA+u7ec6Hnd8gPSTrwJXzcZESFTS\nao0L\r\n=Mw+b\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCcwLum+8PdwN3R6ytSm71sK+KBaOxpIy5SHechnEPp7wIhAJEBVb3bbQE+FFnpMoCJeu8E5qi6Hz15wwiLJIgmttOC"}]},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_2.0.0-alpha.10_1583333078435_0.2552652041654686"},"_hasShrinkwrap":false},"2.0.0-alpha.11":{"private":false,"name":"curve-interpolator","version":"2.0.0-alpha.11","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["cubic","cardnial","catmull-rom","curve","interpolate","interpolator","spline","analysis"],"scripts":{"prebuild":"rimraf dist","build":"rollup -c","prepub":"npm run build","pub":"npm publish --access=public","test":"mocha -r ts-node/register test/**/*.spec.ts","test:watch":"mocha -r ts-node/register test/**/*.spec.ts --reporter min --watch --watch-extensions ts","predocs":"rimraf docs","docs":"typedoc --out docs src --module es6","postdocs":"copyfiles _config.yml docs"},"main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.js","devDependencies":{"@types/chai":"^4.2.5","@types/mocha":"^5.2.7","chai":"^4.2.0","copyfiles":"^2.1.1","eslint":"^6.6.0","eslint-config-airbnb-base":"^14.0.0","eslint-plugin-import":"^2.18.2","mocha":"^6.2.2","rimraf":"^3.0.0","rollup":"^1.26.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.1.3","rollup-plugin-typescript2":"^0.24.3","ts-node":"^8.5.2","typedoc":"^0.15.0","typescript":"^3.6.4"},"types":"dist/index.d.ts","moduleFileExtensions":["ts","tsx","js"],"readme":"![](https://github.com/kjerandp/curve-interpolator/workflows/Node%20CI/badge.svg)\n![](https://img.shields.io/npm/v/curve-interpolator)\n# Curve Interpolator\n\nA lib for interpolating values over a cubic Cardinal/Catmull-Rom spline curve of n-dimenesions.\n\n## Installation\n```bash\nnpm install --save curve-interpolator\n```\n## Basic usage\nReference the CurveInterpolator class:\n```js\n// commonjs\nconst CurveInterpolator = require('curve-interpolator').CurveInterpolator;\n\n// es6\nimport { CurveInterpolator } from 'curve-interpolator';\n\n```\n\nDefine controlpoints you want the curve to pass through and pass it to the constructor of the CurveInterpolator to create an instance:\n\n```js\nconst points = [\n  [0, 4],\n  [1, 2],\n  [3, 6.5],\n  [4, 8],\n  [5.5, 4],\n  [7, 3],\n  [8, 0],\n  ...\n];\n\nconst interp = new CurveInterpolator(points, { tension: 0.2 });\n\n// get single point\nconst position = 0.3 // [0 - 1]\nconst pt = interp.getPointAt(position)\n\n// get points evently distributed along the curve\nconst segments = 1000;\nconst pts = interp.getPoints(segments);\n\n// lookup values along x and y axises\nconst axis = 1;\nconst yintersects = interp.lookup(7, axis);\n\n/*\nmax number of solutions (0 = all (default), 1 = first, -1 = last)\nA negative max value counts solutions from end of curve\n*/\nconst axis = 0;\nconst max = -1;\nconst xintersects = interp.lookup(3.2, axis, max);\n\n// get bounding box\nconst bbox = interp.getBoundingBox();\n```\n\nOnline example on ObservableHQ:\nhttps://observablehq.com/@kjerandp/curve-interpolator-v1\n\n## Docs\nDocs are generated using typedoc in `./docs`. To create:\n```bash\nnpm run docs\n```\nOnline: https://kjerandp.github.io/curve-interpolator/\n\n## License\nMIT\n","readmeFilename":"README.md","gitHead":"d62f354530c0c59f40a42fdbe57796a020eb469a","homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@2.0.0-alpha.11","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-GYNjHajN2WwswNOia7V20eFi+30ReHjsB0xZMwJbW8RSvXEvPzJ98BLyO/VghfGV/fasr802DF8LgseodNgq5Q==","shasum":"ed0bbe4592851dd4974f90782c8f2c0f655f857b","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-2.0.0-alpha.11.tgz","fileCount":19,"unpackedSize":69345,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeYhXWCRA9TVsSAnZWagAA0p4QAINOcCYOE7aAja7vyEru\nB5JbW4SPYNszV6IFkUtAlCApmQpCmXpXjDWYNtAujBSpDWVfWOl3KpED1RBP\nfHNI6rn6qapE7o+TnDlw2djY4lOdo1NK2xe8vM183s7h9MPfRlAWuJ/SA2y6\nKs9u0PEBNljJDrKuxSeiVhP8hn0bxpQDqNrgNNp52/nE4J1EEjUUcq0d8QJL\ngJ8oRl3zyRWYeenG7MswRGt6ZwBGXyZKniPxmY7/aGJEEvhcmturaT9w2+q8\n5XeyNqMDdYKxsQdBlUBy4iwIfmUUoffBp56h1cM0U454S2EjKdqYFFbXfEnV\nyygHxKXLdATv8hCJT1IJTyxt4nJYEnLPqsJj38qx8I6ne5XmcDbcaIFu4EDs\nrS9kLjHJKP5PAwnUsn+u1jdYOSJF2t0vy/ZAEFmeP9GypS1qNOr08GZ2tUaX\niBXJZ+Rh+9xIiUIrmWt+ZKveJ40c57FrhWXc4Aijpx+K5jlWYU6TROMUoSwG\nLJRjeB6Xr9Nr7j7Dvbg5xYfO3OAqL/M14UFZdVIJkS+8IWMUhpGFVITQ0/On\nHeTisAM8kyXXLwPvNIKvt/gTSFM0UJybrr6Mck7eOXGx4CUL0Cw/P/UotEkc\n3sejiXHCkTt6QoeOWwz0bTMkJgyEWbX9oVvaK6SoBnF4qAS/CK7LZwW5m2tZ\n5HtF\r\n=nGXg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID42aUqYptmXWAYBgX7v9dD2RmLKBAngf+Q+2KkjoaaSAiEA0SAbw1wk+BTagwseBy82QXoo6umY3hfXeMRGaOuHUUo="}]},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_2.0.0-alpha.11_1583486421831_0.6469204538111595"},"_hasShrinkwrap":false},"2.0.0-alpha.12":{"private":false,"name":"curve-interpolator","version":"2.0.0-alpha.12","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["cubic","cardnial","catmull-rom","curve","interpolate","interpolator","spline","analysis"],"scripts":{"prebuild":"rimraf dist","build":"rollup -c","prepub":"npm run build","pub":"npm publish --access=public","test":"mocha -r ts-node/register test/**/*.spec.ts","test:watch":"mocha -r ts-node/register test/**/*.spec.ts --reporter min --watch --watch-extensions ts","predocs":"rimraf docs","docs":"typedoc --out docs src --module es6","postdocs":"copyfiles _config.yml docs"},"main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.js","devDependencies":{"@types/chai":"^4.2.5","@types/mocha":"^5.2.7","chai":"^4.2.0","copyfiles":"^2.1.1","eslint":"^6.6.0","eslint-config-airbnb-base":"^14.0.0","eslint-plugin-import":"^2.18.2","mocha":"^6.2.2","rimraf":"^3.0.0","rollup":"^1.26.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.1.3","rollup-plugin-typescript2":"^0.24.3","ts-node":"^8.5.2","typedoc":"^0.15.0","typescript":"^3.6.4"},"types":"dist/index.d.ts","moduleFileExtensions":["ts","tsx","js"],"readme":"![](https://github.com/kjerandp/curve-interpolator/workflows/Node%20CI/badge.svg)\n![](https://img.shields.io/npm/v/curve-interpolator)\n# Curve Interpolator\n\nA lib for interpolating values over a cubic Cardinal/Catmull-Rom spline curve of n-dimenesions.\n\n## Installation\n```bash\nnpm install --save curve-interpolator\n```\n## Basic usage\nReference the CurveInterpolator class:\n```js\n// commonjs\nconst CurveInterpolator = require('curve-interpolator').CurveInterpolator;\n\n// es6\nimport { CurveInterpolator } from 'curve-interpolator';\n\n```\n\nDefine controlpoints you want the curve to pass through and pass it to the constructor of the CurveInterpolator to create an instance:\n\n```js\nconst points = [\n  [0, 4],\n  [1, 2],\n  [3, 6.5],\n  [4, 8],\n  [5.5, 4],\n  [7, 3],\n  [8, 0],\n  ...\n];\n\nconst interp = new CurveInterpolator(points, { tension: 0.2 });\n\n// get single point\nconst position = 0.3 // [0 - 1]\nconst pt = interp.getPointAt(position)\n\n// get points evently distributed along the curve\nconst segments = 1000;\nconst pts = interp.getPoints(segments);\n\n// lookup values along x and y axises\nconst axis = 1;\nconst yintersects = interp.lookup(7, axis);\n\n/*\nmax number of solutions (0 = all (default), 1 = first, -1 = last)\nA negative max value counts solutions from end of curve\n*/\nconst axis = 0;\nconst max = -1;\nconst xintersects = interp.lookup(3.2, axis, max);\n\n// get bounding box\nconst bbox = interp.getBoundingBox();\n```\n\nOnline example on ObservableHQ:\nhttps://observablehq.com/@kjerandp/curve-interpolator-v1\n\n## Docs\nDocs are generated using typedoc in `./docs`. To create:\n```bash\nnpm run docs\n```\nOnline: https://kjerandp.github.io/curve-interpolator/\n\n## License\nMIT\n","readmeFilename":"README.md","gitHead":"461a42a85912c737396855f8316fef5250d75454","homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@2.0.0-alpha.12","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-5m+KJirQOP+5yLsLt7A1GtBiuHUb1cqTaegnqR1wOOhZu3ewW8li8e9w16BZDxJQdPoKMJJd8awbszPK4QPaiw==","shasum":"87c81c58e8af134147058a74b08d62f3e8109453","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-2.0.0-alpha.12.tgz","fileCount":19,"unpackedSize":69373,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeYio5CRA9TVsSAnZWagAAJzoP/R4piGRpceSgLHDCVHip\nbVdnNK8924tSeyYIrAghNsUs89i3TWqBu9tXnGaYguI3UY+Cv4W39dTBphJD\n90UDV7VVq3eqDaRxdhRgnmonayW6ZoWQWsBctEyUJKRA1uY3KeWcjTZt7S2a\nbNK4k4LsvDXaPn6GE9EW5OfpeS5yK2T/xAYZR9V7hIOSrK+Gkak3Lam8BO2j\n2/Bq37vZh0TAujLuygz6GMR7jhPHXWLjm/3xJFCOJYF/xgjbhHOhAZORsJ/Y\nrJJVn50OSEt057i80uUQGEDjWCUC6tiXRwetdgEdO4vN/4uc/q3+68lPUzTr\nXDmwAunxbJsdWPn+BkQ7y/CAPhgTiy+7IMJtSzUOQWQhDBxx5KRi+lcSNc4H\nBfG/xAuYZUx0sTvxkR6UYDiwdVCnv0KDGzcWU/y2dN+r0ujdvWwIGWfyxOPZ\nE37ebNjZfe61mU6BlQKnon0ZVlCKrEkFq493h+IfQ2Ok52Gy0BSoZrs22OlF\ncVj2JxS4Xks36hbgRUMZ1AoQ4HypLakK0onvATbRFzcH4kb0ozAksq7caTLt\nTE0+dOEMpkggArluTn8kPpNMWGltGjTC1oOR2luCcGB5oh4WTBoUnUp4E2HZ\nUKcFaoJTS3xqoWO9x0tC9kjTKVMB/aoT57iyhoszeh6anmznr4sG1GzrdyGr\ntUY5\r\n=qBwP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDr3fCSLH+A7F8IZ4SwBNzj1O2u+6wOYP3BAXeq8AdLiAiEAw94qauc6ENe5T4MR2NzxdIbTqSmNDbbG+m82EDrDkrw="}]},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_2.0.0-alpha.12_1583491640734_0.14336623920674674"},"_hasShrinkwrap":false},"2.0.0":{"private":false,"name":"curve-interpolator","version":"2.0.0","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["cubic","cardnial","catmull-rom","curve","interpolate","interpolator","spline","analysis"],"scripts":{"prebuild":"rimraf dist","build":"rollup -c","prepub":"npm run build","pub":"npm publish --access=public","test":"mocha -r ts-node/register test/**/*.spec.ts","test:watch":"mocha -r ts-node/register test/**/*.spec.ts --reporter min --watch --watch-extensions ts","predocs":"rimraf docs","docs":"typedoc --out docs src --module es6","postdocs":"copyfiles _config.yml docs"},"main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.js","devDependencies":{"@types/chai":"^4.2.5","@types/mocha":"^5.2.7","chai":"^4.2.0","copyfiles":"^2.1.1","eslint":"^6.6.0","eslint-config-airbnb-base":"^14.0.0","eslint-plugin-import":"^2.18.2","mocha":"^6.2.2","rimraf":"^3.0.0","rollup":"^1.26.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.1.3","rollup-plugin-typescript2":"^0.24.3","ts-node":"^8.5.2","typedoc":"^0.15.0","typescript":"^3.6.4"},"types":"dist/index.d.ts","moduleFileExtensions":["ts","tsx","js"],"readme":"![](https://github.com/kjerandp/curve-interpolator/workflows/Node%20CI/badge.svg)\n![](https://img.shields.io/npm/v/curve-interpolator)\n# Curve Interpolator\n\nA lib for interpolating values over a cubic Cardinal/Catmull-Rom spline curve of n-dimenesions.\n\n## Installation\n```bash\nnpm install --save curve-interpolator\n```\n## Basic usage\nReference the CurveInterpolator class:\n```js\n// commonjs\nconst CurveInterpolator = require('curve-interpolator').CurveInterpolator;\n\n// es6\nimport { CurveInterpolator } from 'curve-interpolator';\n\n```\n\nDefine controlpoints you want the curve to pass through and pass it to the constructor of the CurveInterpolator to create an instance:\n\n```js\nconst points = [\n  [0, 4],\n  [1, 2],\n  [3, 6.5],\n  [4, 8],\n  [5.5, 4],\n  [7, 3],\n  [8, 0],\n  ...\n];\n\nconst interp = new CurveInterpolator(points, { tension: 0.2 });\n\n// get single point\nconst position = 0.3 // [0 - 1]\nconst pt = interp.getPointAt(position)\n\n// get points evently distributed along the curve\nconst segments = 1000;\nconst pts = interp.getPoints(segments);\n\n// lookup values along x and y axises\nconst axis = 1;\nconst yintersects = interp.lookup(7, axis);\n\n/*\nmax number of solutions (0 = all (default), 1 = first, -1 = last)\nA negative max value counts solutions from end of curve\n*/\nconst axis = 0;\nconst max = -1;\nconst xintersects = interp.lookup(3.2, axis, max);\n\n// get bounding box\nconst bbox = interp.getBoundingBox();\n```\n\nOnline example on ObservableHQ:\nhttps://observablehq.com/@kjerandp/curve-interpolator-v2\nhttps://observablehq.com/@kjerandp/curve-interpolator-v1\n\n## Docs\nDocs are generated using typedoc in `./docs`. To create:\n```bash\nnpm run docs\n```\nOnline: https://kjerandp.github.io/curve-interpolator/\n\n## License\nMIT\n","readmeFilename":"README.md","gitHead":"63d8d3718d341295fc51a7a90a789d89a6f68d31","homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@2.0.0","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-5QfpdejbFrAPe2CqM+YWuoJf+p/gDuYW35VtPMfzN081Gin5Pb2B39egA500pk7Ut7Z1ypmIrE70kxfsByBP8w==","shasum":"66b9d62837963aa0577566fd6c5af525bc247330","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-2.0.0.tgz","fileCount":20,"unpackedSize":76738,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeb9FRCRA9TVsSAnZWagAAz2gP/3J9sDq0eEwbYK5fKiWa\n7FXgvLhUX2HVXg4hQc6lM57kGDaDSEw1sL1TpxJDya/WxwRbulW2PadoJqHY\nXDS3CuyzSWNlV/Q34xYvU4iCHQ2zPbPfwx8zlEArjDbhQPAgD27lKKZ8ox0+\npHH0fcTXsCJP5fFg/ECzZ+dddIXgBSCByGC1ZxDYuymC3VTHriZPgkk6shdI\nbP2e2nrw8coyrvtNXWmuEOQznbB5lZRfv3+TiYIwGznKxddPkcXuN17rO3ya\ncxr46Rsr0Z5v7babP1QjNcg5HL0GRDPStZjWlZYrdTZ3ky5CsA0Mv8VfIKBw\nAXTDNvR4iiLcE1dPQz6OIAoEce0kMfJawKQ104rFYGHPlko8krjiOE4ioEB5\nA8Yzck2+98zEAnNQZgpqzcGIk5WMIIe0UArniMhJBBSK3TBKXt4GcI2EVc/g\nqynB5dMpLi3gqje9sVmnmIPjM4qy4wuPnkx+r/nxlqNQ1OkOcZ7pt3zK7QeW\naiN4bQg7Y0Bfb/G4p6Kxx07QClMMw8Ty9zph/PeCmtUVcF0rjJlSL/YEJzml\n8WQ/fqmcxI5kafTwothWkIc5yexDl7YbG18mlSgwaQfUuULb6W/QyUC9AMYC\nCjnQqZNGkUw6r+p4ijGE4SmP2G+oe30HM7YWoQDDph24Df2tFp1zU8ssz2gF\nEo88\r\n=8stg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDudkV1pFYYopI+PlJ6LTku2Ms3KGAv3cNvZpc2FvEPOAiEAwmC62HmTmx0a3spsb/ziVqu713/wto1EKKeq9NF+3pE="}]},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_2.0.0_1584386384905_0.873234125634254"},"_hasShrinkwrap":false,"deprecated":"use v2.0.2"},"2.0.1":{"private":false,"name":"curve-interpolator","version":"2.0.1","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["cubic","cardnial","catmull-rom","curve","interpolate","interpolator","spline","analysis"],"scripts":{"prebuild":"rimraf dist","build":"rollup -c","prepub":"npm run build","pub":"npm publish --access=public","test":"mocha -r ts-node/register test/**/*.spec.ts","test:watch":"mocha -r ts-node/register test/**/*.spec.ts --reporter min --watch --watch-extensions ts","predocs":"rimraf docs","docs":"typedoc --out docs src --module es6","postdocs":"copyfiles _config.yml docs"},"main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.js","devDependencies":{"@types/chai":"^4.2.5","@types/mocha":"^5.2.7","chai":"^4.2.0","copyfiles":"^2.1.1","eslint":"^6.6.0","eslint-config-airbnb-base":"^14.0.0","eslint-plugin-import":"^2.18.2","mocha":"^6.2.2","rimraf":"^3.0.0","rollup":"^1.26.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.1.3","rollup-plugin-typescript2":"^0.24.3","ts-node":"^8.5.2","typedoc":"^0.15.0","typescript":"^3.6.4"},"types":"dist/index.d.ts","moduleFileExtensions":["ts","tsx","js"],"gitHead":"1e58d35e9a9e20a907456be2f72afe9a1b692ee7","homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@2.0.1","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-VydXmR6kmoN8RXeTGvLzYelh5+SmwxlppRryS8qzfAz6Q4obJLZaS1wjCrCRyNIyy2aoxDBMq+SZ00CygDUktQ==","shasum":"3d1814d22b8bc19c355581d3d7ae3bcc7c14d637","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-2.0.1.tgz","fileCount":20,"unpackedSize":76863,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeb9PeCRA9TVsSAnZWagAAsu0P/i5Iu3Cj0rxPxEuHWM/K\ngGhCRu6zf9letJUh08ZwLUEbuT83JO30laDSvKYXwBBBDu1WmfHgZqRgBC+n\nIqrjI633XjjK9EHtvzR5uUB7m/Xv1+dh4Lo6WZiLm7zEYTnrCzggkWDNx6Vx\npVL0tVIe48UmBuzwuryBAoYWl8rJ6il6wdJi68rttbDWJk8WU/k59eTW3Xy5\nbKMMPdsMR0WI66CD4/WcLXpr2vACjApN4MrteYy6RIzuxALZQhkBpPScBLFV\nZjfrpJrc7Pg+Sfea2tHtiOSUG6J5BeoDFo/hrF3xXJPSwYrB//1WvpY9EIHl\npkfaFUKzvzVHUvBjdlutjpuZeOkbWkQjtWpMKXlVe7vOM4eLWzhUz0Allnxr\n38RojNShXHfBJgIawK7D8fjX0kSg8NEBKt+yu8QvEzn/MoUfhe45hps5mCAp\nADXrScqXl29h9RTVsJpp2/X5reemcuoTfLQIRHrjm8X8cLq3vyaz6Jcueb9+\nXn5+upWW/L78fUiu9PVN83bKP3Ocu9qLdb0VPUo5lTYDvJ6wcCHqDWXRANuN\nWX9Y6SqmPMIXbFqQiUlHgsolP35fk+pG6wuld8S0wCxPPjBTJ9kuwit12bj4\nwFxgEeKr5LyUz0QvoOJk+wAgaoEkyzS7XsmZE85m94bN5PHl0pxvBpQpzxhY\n15SV\r\n=gW24\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCpSx0lAuFUlC/md3US0GTcWYKKsFETDYGCPNMcdD0suAIhAIQH668Rh6EJJ0t0LRc/cut3HUMSKu8WCnIEQCHkoBm9"}]},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_2.0.1_1584387037613_0.21947605567058037"},"_hasShrinkwrap":false,"deprecated":"use v2.0.2"},"2.0.2":{"private":false,"name":"curve-interpolator","version":"2.0.2","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["cubic","cardnial","catmull-rom","curve","interpolate","interpolator","spline","analysis"],"scripts":{"prebuild":"rimraf dist","build":"rollup -c","prepub":"npm run build","pub":"npm publish --access=public","test":"mocha -r ts-node/register test/**/*.spec.ts","test:watch":"mocha -r ts-node/register test/**/*.spec.ts --reporter min --watch --watch-extensions ts","predocs":"rimraf docs","docs":"typedoc --out docs src --module es6","postdocs":"copyfiles _config.yml docs"},"main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.js","devDependencies":{"@types/chai":"^4.2.5","@types/mocha":"^5.2.7","chai":"^4.2.0","copyfiles":"^2.1.1","eslint":"^6.6.0","eslint-config-airbnb-base":"^14.0.0","eslint-plugin-import":"^2.18.2","mocha":"^6.2.2","rimraf":"^3.0.0","rollup":"^1.26.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.1.3","rollup-plugin-typescript2":"^0.24.3","ts-node":"^8.5.2","typedoc":"^0.15.0","typescript":"^3.6.4"},"types":"dist/index.d.ts","moduleFileExtensions":["ts","tsx","js"],"gitHead":"b27e9274143bc4880476a193887d2339fa2f0830","homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@2.0.2","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-tchFVZonKJwLbkykR45mjtjf9qLFn98uVhhh334V07xra1hY7rEjK3DE8iErgiIIT5BI+hOAD1dJl9DHzQEt2A==","shasum":"16de5a8b1189b79c9feb0f1dcfedcd9db4d2650f","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-2.0.2.tgz","fileCount":20,"unpackedSize":76929,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeb9XECRA9TVsSAnZWagAA/uUP/19gxH7sTPkcRqaQubZn\nw5YNSestBKarvAqnahPvlVtAODP6yka5zugDGCEa809bmjrl8KRriqnc3Aqc\nPpzkpOPOX8FQs/RP7tYIKiqRnbtu0w+WavPnOmfzdTKbKtuIBeaN6KmpwFPK\nBaTy/WDEwVJZaRtteB4eIKMnfCOl5yB7vbp3Kr9kcu/zMb/LFydFoXafMZif\nVKY+M/5zCFV+0RhxqnQIa0cBUiwb9OE5O4EZvrznFPJUIkUEjd41cXlot5+P\nLlsY8HA2zQbEBgoTPbyzFP4p2fdTPI98fAxyz3C5Mlt7m91i0q/Qo8HG4n7b\nbUQtikN/o9A7cLRQwbUVIphdj9K6yfFjLdftPnvwO78YGxKsF2crzgp/z5mw\nl7TEOYBzNY2ynDbura+IgF3e2yIO5wMh4mlghduviWFyAmaVtVckmjE6ReTd\nZ/cWiDecTS84c6iTbfFR9mtX2brwHiv7AesKCo1mUAJX8soIr/2CMiY8WCgT\nMai7+PGVE0HU/0Z3rmGqYVZZwsDoDfAsLGXSaHtl5RJKEGEelkdZMMVfKvIK\n+A3hwpnZYXZlBAfMOldzFBK+Iyrb/MS45wz34iRSTGUDP0szBZXIbotG3NRj\nv16fNS0SyNks5omrzbaF86BtHidBJr3j+Ll0I8uf4Wg3YkQ/7dgiv/S7pnz9\n1mB0\r\n=CpS7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQChlt0gMsE3LPxyhyarfEI262+X4iS4RoP8A/wCfWdN1AIgbHipz6mlxaL5gF/PEW9eMF8kc0YzyGr+h1NzaWIoM4k="}]},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_2.0.2_1584387523979_0.38004282854326665"},"_hasShrinkwrap":false},"2.0.3":{"private":false,"name":"curve-interpolator","version":"2.0.3","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["cubic","cardnial","catmull-rom","curve","interpolate","interpolator","spline","analysis"],"scripts":{"prebuild":"rimraf dist","build":"rollup -c","prepub":"npm run build","pub":"npm publish --access=public","test":"mocha -r ts-node/register test/**/*.spec.ts","test:watch":"mocha -r ts-node/register test/**/*.spec.ts --reporter min --watch --watch-extensions ts","predocs":"rimraf docs","docs":"typedoc --out docs src --module es6","postdocs":"copyfiles _config.yml docs"},"main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.js","devDependencies":{"@types/chai":"^4.2.11","@types/mocha":"^5.2.7","chai":"^4.2.0","copyfiles":"^2.2.0","eslint":"^6.8.0","eslint-config-airbnb-base":"^14.1.0","eslint-plugin-import":"^2.20.2","mocha":"^6.2.3","rimraf":"^3.0.2","rollup":"^1.32.1","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.3.0","rollup-plugin-typescript2":"^0.24.3","ts-node":"^8.8.2","typedoc":"^0.15.8","typescript":"^3.8.3"},"types":"dist/index.d.ts","moduleFileExtensions":["ts","tsx","js"],"gitHead":"e89a156e6c406c55a6a57ef5279149170e0b39ee","homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@2.0.3","_nodeVersion":"12.16.2","_npmVersion":"6.14.4","dist":{"integrity":"sha512-EQEI4gjH5HgvnaCGkQyLbKrKm2rimPiLUbObrlzJ5hyxVFH1ba9tGTjQ1nMTwLG0RCpEbO7psaMzyy9qAn1UlA==","shasum":"8f0050de5a4a8a93d2d6e0ae8cdb170112ee98e9","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-2.0.3.tgz","fileCount":20,"unpackedSize":76845,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJemZ29CRA9TVsSAnZWagAALZUP/j+D0+sXValdZGcZlVTr\niNCQTgIE/wkLR2Ugn9G6Otr6uUItjZIk417230E0O9JA9H11Btqa0e9hrWwv\nK2A8PAyQuR+kESsUREXcAkh9uZ4nPvyV3eKT9iXBnMLv8gEDTbq7kBqI4K1b\nExFtOwJSN37nS/aB3tWEReEgbOKh0nTpLduTBuySf3U+HgKB5r6XKqhISaN5\naEAg4qhYAaLsL82lTBVhIQmrpPVWeScMOdHtXwnb5GPAko9R+k+a8B6rxRAn\nJB9STSge4vojizYbnm8w0xKyrQgIclUJGm2JFnVl5UHV0xuhz4HOL3FV2voU\nxjHeTGMw57m1DBiMHJrILODwY612gcrCT85ixmOftR6dw5fovAgipJuwPg++\nXPtcGwX/+P4+c8YdT6beUZe+WbhrNcUxKwimXxkJC1el/23bh2r0WXNcjPE8\nwPr6nDL0U9SG3yfDE8M67bICHKl6nS18ElA0sYtw/tKEHLD7W2xisqqbO4mY\nq8huThY3dychA6rjMDUtdgsf77cubWnXEPIhF2aSMQYctrArzDFmg7yazSGu\nb5AuVKj7F9EF1NjZGBBM+E6Go9ERQadhMwjST+K0YbL4rkuJDOJIF8BTv2sf\nug/yAU6Ua7YlSFN/enEaeIRn16JzcHq6ZO+j6ghhERc9/DXqaPdgasV0oT3T\nrTEd\r\n=K3xQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZJFzaV/20/CfVRMZ4B2G7Nm8GWdEfW3GJQneIrrdr/QIgR1J0dMMaD2oel7NJXFfOiSCo0zfFLpKWyVjzAh6XThc="}]},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_2.0.3_1587125691014_0.7466481054453025"},"_hasShrinkwrap":false},"2.0.4":{"private":false,"name":"curve-interpolator","version":"2.0.4","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["cubic","cardnial","catmull-rom","curve","interpolate","interpolator","spline","analysis"],"scripts":{"prebuild":"rimraf dist","build":"rollup -c","prepub":"npm run build","pub":"npm publish --access=public","test":"mocha -r ts-node/register test/**/*.spec.ts","test:watch":"mocha -r ts-node/register test/**/*.spec.ts --reporter min --watch --watch-extensions ts","predocs":"rimraf docs","docs":"typedoc --out docs src --module es6","postdocs":"copyfiles _config.yml docs"},"main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.js","devDependencies":{"@types/chai":"^4.2.11","@types/mocha":"^5.2.7","chai":"^4.2.0","copyfiles":"^2.2.0","eslint":"^6.8.0","eslint-config-airbnb-base":"^14.1.0","eslint-plugin-import":"^2.20.2","mocha":"^6.2.3","rimraf":"^3.0.2","rollup":"^1.32.1","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.3.0","rollup-plugin-typescript2":"^0.24.3","ts-node":"^8.8.2","typedoc":"^0.15.8","typescript":"^3.8.3"},"types":"dist/index.d.ts","moduleFileExtensions":["ts","tsx","js"],"gitHead":"9f00129c1c9441bc99e19c3d9c21aa42c79edc25","homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@2.0.4","_nodeVersion":"12.16.2","_npmVersion":"6.14.4","dist":{"integrity":"sha512-tyMVqjsIxc/oErkTCYGhK+5VL9cuOs/+M46d9RCaKVU2UNUfV7g4SJWpObW0S8WfycVkkumcy1URDrF+Qa4vKg==","shasum":"3fdf2e556a4404c33da90bb89a9a3e74249b43d8","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-2.0.4.tgz","fileCount":20,"unpackedSize":76827,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJemaHQCRA9TVsSAnZWagAAuEEP/35TIWZDmrZYTu2GJMv+\n6l1ialmkR1mJZFQR2fhaCYob26Z1nZrZd0Ln1DLDFdrmsrVWzaRY445bZxyn\ngmIFZCsPht+P4e8231MoOqjsZSM1NqHCNle55W10ew05SrQY4p9zgb81BS3f\n81mH2DKMm2tQ8hyTOX/d819wxO16caHIkXthSRO8OxVTCnixtac+NcunIrm4\nYW7AD/QvFAcuoVBHaEJCXg8V7ry8SK57RUfx1j1I9j2WBQJXLvEHWalHHHV4\n3RNUtWn+cUtvT4SGXXBhaqb4ZJFkCnUv2+Nc8viHg64O8Q4QJrEBgAliotpk\nqdL6YWHZYILMdFUAoIiNrCP7rPBFtWngJuqU/9t/XbVOCvsyBJ8ZoQTzJHqn\nAVNiGhbN4a/uUiH0qv3a/g0huYVpF9HFqT5MWcTnj+WO47gf213FVRr2iV81\nw0Yd15xNZd6GkDUxyhC/M7WXzaAStQLOoysYtQbDh/DHo+dTLIHnGmeOD3qo\nNLbPeUQjqwXmTmnvn+vK4Bdj1iH3gSnRRMN417XrJ5wMP5u62KoFIr+fXbhv\n2TprE1wJK1FJiF4LtAG6a6bQOg/bFHn2eKMMRTuEV7lSLcJ7JLxMnVz5qET2\nlBT1Q3T17fCT4XFnQuU7nUpULw0Brc2uRqxWj5Sp5iLb19WXLE9ooVKVmGDr\naZTd\r\n=RtVa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDPj5kB2j9CeWkyeXx19C/9S31/MRp4xrz2rWEg3hwebQIgLbBw/nTHQmtIB1bQBM0nRijEV03eFine4mWG3z0Jm2Q="}]},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_2.0.4_1587126735575_0.9619247356514617"},"_hasShrinkwrap":false},"2.0.5":{"private":false,"name":"curve-interpolator","version":"2.0.5","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["cubic","cardnial","catmull-rom","curve","interpolate","interpolator","spline","analysis"],"scripts":{"prebuild":"rimraf dist","build":"rollup -c","prepub":"npm run build","pub":"npm publish --access=public","test":"mocha -r ts-node/register test/**/*.spec.ts","test:watch":"mocha -r ts-node/register test/**/*.spec.ts --reporter min --watch --watch-extensions ts","predocs":"rimraf docs","docs":"typedoc --out docs src --module es6","postdocs":"copyfiles _config.yml docs"},"main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.js","devDependencies":{"@types/chai":"^4.2.11","@types/mocha":"^5.2.7","chai":"^4.2.0","copyfiles":"^2.2.0","eslint":"^6.8.0","eslint-config-airbnb-base":"^14.1.0","eslint-plugin-import":"^2.20.2","mocha":"^6.2.3","rimraf":"^3.0.2","rollup":"^1.32.1","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.3.0","rollup-plugin-typescript2":"^0.24.3","ts-node":"^8.8.2","typedoc":"^0.15.8","typescript":"^3.8.3"},"types":"dist/index.d.ts","moduleFileExtensions":["ts","tsx","js"],"gitHead":"6c3a7a15cb8a50eca9de0c184f26625951df5061","homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@2.0.5","_nodeVersion":"12.16.2","_npmVersion":"6.14.4","dist":{"integrity":"sha512-7fcU9jvz8qEf+bB6udaw8mDn0ow5Yfl6E8YC0BMYKgKZyUzlXf/LEQR4uyf6X2McOW6UtimW9TQuWExJKrJyew==","shasum":"0e07a0e49b9a1d6e239dd753feb8826e3cdd24fd","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-2.0.5.tgz","fileCount":20,"unpackedSize":77049,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJep0C9CRA9TVsSAnZWagAAWcAP/2b6XvXSQTti1SyHBw1g\nfeXAogflt9gsCGVmWHepPIRd4yoMOvJOScJpmMksExx3om5sfrImU/ZFXR3d\nmVRiS3jaCzf63znZxryIxTl7MR9cBnO5oG+FDdFCY3aq0KFGukYzL6b5hTUo\nGkF8IaY0Ipw0lasf+2TFd4h6OwgCoz55kwDRGRd2diWC5elsgyJIjapboqBg\nzPKeOg64MvROgrvMZGDlaBGtoRojyuhb1jQOt3VHJpBZbntL1dZzOSDrw+tf\np7LKDSE98WZd+Eo7k0MRQGZpwzgIEVI4WKIRUg/9Tsumbid2HYQXZTHlf8dK\n1mcPM+TbtbgPIZkDrxL8RtF1zcwmUgCYF0zZyhEyGH/4sIf3HMpcLoMKwFuS\nhbUZYuGgZtF3X7HhbmFbL8ItpmNffoZrvNgq2ExAg1NZTbJfzVkwAXMOpjq0\n2PS7H+I+Ej/2BWHTekFbNVvP1vwLAxVVFTi97vLIvuh4JLQ/mWH3bCVwOVxg\n2fwgpeYuPnjKCFCdzciLmpwGsFHEZuO8kceVPywi4MotYU9XNUDhrRBNSbdj\nCVaz4JUUh6WyuNZl6YPzJtiGGR4rxYX1O3VY32Eu7Uuz1UuKrRvAkwSYDhp6\nClfaFIYGPKzZfYxKgmIAy8zAPRBgl1FlV4HbweHXa03CIi9Nfb2+wnntRHDg\nvJFQ\r\n=8hzz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCwjTDcZ3gsv8xAF+wJGV+NySsuUlWQIs1DJ38rbzySSQIgFNw2xtYNWJ9r0DqchGMawdU+dfGV4l0LjsMTIAzVgCg="}]},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_2.0.5_1588019388839_0.2855183855902914"},"_hasShrinkwrap":false},"2.0.6":{"private":false,"name":"curve-interpolator","version":"2.0.6","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["cubic","cardnial","catmull-rom","curve","interpolate","interpolator","spline","analysis"],"scripts":{"prebuild":"rimraf dist","build":"rollup -c","prepub":"npm run build","pub":"npm publish --access=public","test":"mocha -r ts-node/register test/**/*.spec.ts","test:watch":"mocha -r ts-node/register test/**/*.spec.ts --reporter min --watch --watch-extensions ts","predocs":"rimraf docs","docs":"typedoc --out docs src --module es6","postdocs":"copyfiles _config.yml docs"},"main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.js","devDependencies":{"@types/chai":"^4.2.11","@types/mocha":"^5.2.7","chai":"^4.2.0","copyfiles":"^2.2.0","eslint":"^6.8.0","eslint-config-airbnb-base":"^14.1.0","eslint-plugin-import":"^2.20.2","mocha":"^6.2.3","rimraf":"^3.0.2","rollup":"^1.32.1","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.3.0","rollup-plugin-typescript2":"^0.24.3","ts-node":"^8.8.2","typedoc":"^0.15.8","typescript":"^3.8.3"},"types":"dist/index.d.ts","moduleFileExtensions":["ts","tsx","js"],"gitHead":"943f9e2c430e4a375c48ede67ffe8c2658260078","homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@2.0.6","_nodeVersion":"12.16.2","_npmVersion":"6.14.4","dist":{"integrity":"sha512-YYq1bVGbqhdM3u9Kz9y3zTWb/tR5NztKVSh2lFll2xg6rjC9Sh1FVt66Aul1ZJcw4vtWdeKO12xD9a70vLWh1A==","shasum":"4cbf1e94ccaf086c2ac7e8a0ce6c8c2a9a06edfd","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-2.0.6.tgz","fileCount":20,"unpackedSize":76476,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJep1RLCRA9TVsSAnZWagAAUPsP/0EhT7WHWFT0VGpUgtAV\nVRUdb06ED+eHGbpMWoNXwbjd3eqP0bkrfsNAlTzPMea312hP3664jtjidkP2\nKiGrfuF1i7Sb1mB6+NYuWmtvqdjhXUhu/z4plq3z5C49WL4bgdrPEIGK+/jK\n6O66oJfNK7S+LmEOlSdVFmEc7C9iMdi7wURh/OvpNUw+T1ta/QizPb1Lzg0X\ndb6pNyP98gJE8MeT369/iBe7lOyoho0KipwuR2dPfD+eISpj8nT36UzsKCyu\n0NxzDqUhuXEM8HAwEuMAaTyWqbPlkAosuWgDt76J9P0kPllIBLTQpFeJTGRs\nkN2jj3CQCVXPbI2pXmdqm2EKEVftraigyuMUuHem0os6DZwfKfdlvN9FvAdH\n+68q6ugenRjtSfpj8A8o2UKLT1mGO+XjMT7xGkVq8o4XCqoLB0rH4xFQEN/Z\nx9L6wRXYSwEUVLTUutQDn6cK2qEpYPjpvWbKG0S0qklXSI/ZKp8q2c4nThkc\noOJhBHZqQzczX7GJwQQZ+AAd8NssIu7j4UG2NAnGQA+Stc+rfdyMF7eukujS\nQZpIIsaCYMJsTtzn9vaKv61Zx1GDbdVwvmhCV3LjJxyRWWvBgmECUV2oN9NG\nIMs3Q/jC1KfrT0LjTfaWQuswWy/KNGGVXH/lpuonLFqFJ+5Oa3GGVZAwVoZY\nTr7T\r\n=pWdp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIArG5cY1V9bhrrvS5dmmgYta73f5fQF2xeizkUftSxbcAiEA+Qy9KawXJVCIuIsrfDml4ki5gIQbv3Ib9/mtE9CaKPk="}]},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_2.0.6_1588024394622_0.07359289586083229"},"_hasShrinkwrap":false},"2.0.7":{"private":false,"name":"curve-interpolator","version":"2.0.7","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["cubic","cardnial","catmull-rom","curve","interpolate","interpolator","spline","analysis"],"scripts":{"prebuild":"rimraf dist","build":"rollup -c","prepub":"npm run build","pub":"npm publish --access=public","test":"mocha -r ts-node/register test/**/*.spec.ts","test:watch":"mocha -r ts-node/register test/**/*.spec.ts --reporter min --watch --watch-extensions ts","predocs":"rimraf docs","docs":"typedoc --out docs src --module es6","postdocs":"copyfiles _config.yml docs"},"main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.js","devDependencies":{"@types/chai":"^4.2.11","@types/mocha":"^5.2.7","chai":"^4.2.0","copyfiles":"^2.2.0","eslint":"^6.8.0","eslint-config-airbnb-base":"^14.1.0","eslint-plugin-import":"^2.20.2","mocha":"^6.2.3","rimraf":"^3.0.2","rollup":"^1.32.1","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.3.0","rollup-plugin-typescript2":"^0.24.3","ts-node":"^8.8.2","typedoc":"^0.15.8","typescript":"^3.8.3"},"types":"dist/src/index.d.ts","moduleFileExtensions":["ts","tsx","js"],"gitHead":"c1fecade7e6da9a32fad2a8a05d26b04c8bf7292","homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@2.0.7","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-DItaqRpAvPGy/tDi3+aGm0TNns4QFlUXy33r8vU3eozasF5vuCGNO25l88lzUK06OMnBjxT2LRZUx4TRp8YeWg==","shasum":"9a26ae5c52ec62c8ef6d3fa89e2abc8778e7559d","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-2.0.7.tgz","fileCount":20,"unpackedSize":76480,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeurtWCRA9TVsSAnZWagAAAR8P/RrILTiCAYr0gtmwNgqV\n39kfTvFyCeNq4DxRGpUSYK4WCPi/afoMVga/qLASZBWEMD/DdXKdolywZvN9\n70oisCgX1Fy2wfV11MWTPflqoQjmHUCoidUjY/mNaYl2z18Ifdz3CVBDJ73B\nnwMPiKBvU31VWgtlVia2juwwqvVYfqs7Dg+WnaqfjTjlR0MAmqs+CNoUtl/H\nG/kGXrb3YP+nntFq8jq6R/BxQ76jBqGdIjfjmIYKBpMM+zfdNIZ0FXjWq/ES\naHdK+c4zFs5PUyc3DaANaN+cjA8wM6R45u1q7cthcCQZqdSI4gEL/l9mVJmi\nHkJUNS3ToZcelkJZ7wqmvFBU84lXADejBHOSD+p53x6i7ENYZOO1xms0x3G5\nh+Rk6voOZ9wHWmWPL/STTBmpjJo0onmdXyr8JRdcGuhJIIF0Pr7R5SVp5Oen\ntyOeKBdPbrLLa7YZQfzXPJIs/mB3s3ycdH8a8TJyYlnIBclXya2yLWbuo7X+\nbjHYz+1wgaZwqTIXyj48luhxHdb+Wb0Pd2CmLXJBkySMT+ZfHH5/OdQCZft2\noEhUndbl6Cu7SempSwCWt1xQAYwfY3NReuGXtey0NxF1WTaHuOpwq98CaAFg\n95edWzvCKG5sqmLZIgvP9A0c1XaK17+3hRCp8rrer/jQd+LVNgmKyhtuMlFJ\nmHr4\r\n=uKbG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGqy6hVaRcK4LmeK7Z1AZQnybkLNEfeBMrCSr+PNakFZAiAjUQPxPX3mzYWXj/0L3wcpctqfm43fDg2VB4XnBXNARw=="}]},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_2.0.7_1589295957415_0.7694359752943609"},"_hasShrinkwrap":false},"2.0.8":{"private":false,"name":"curve-interpolator","version":"2.0.8","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["cubic","cardnial","catmull-rom","curve","interpolate","interpolator","spline","analysis"],"scripts":{"prebuild":"rimraf dist","build":"rollup -c","prepub":"npm run build","pub":"npm publish --access=public","test":"mocha -r ts-node/register test/**/*.spec.ts","test:watch":"mocha -r ts-node/register test/**/*.spec.ts --reporter min --watch --watch-extensions ts","predocs":"rimraf docs","docs":"typedoc --out docs src --module es6","postdocs":"copyfiles _config.yml docs"},"main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.js","devDependencies":{"@types/chai":"^4.2.11","@types/mocha":"^5.2.7","chai":"^4.2.0","copyfiles":"^2.2.0","eslint":"^6.8.0","eslint-config-airbnb-base":"^14.1.0","eslint-plugin-import":"^2.20.2","mocha":"^6.2.3","rimraf":"^3.0.2","rollup":"^1.32.1","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.3.0","rollup-plugin-typescript2":"^0.24.3","ts-node":"^8.8.2","typedoc":"^0.15.8","typescript":"^3.8.3"},"types":"dist/src/index.d.ts","moduleFileExtensions":["ts","tsx","js"],"gitHead":"b36e8c598c51eb6065a3a5b40eecfa2d69559b4d","homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@2.0.8","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-2yzZLrzyysQe7BheosIOZqIsGGeQNYuZg9EBjem9V8VmKgEsiFrS7bN2+xd7CAeRLF8z+NlV5mq+Lo3bO2+tqA==","shasum":"700106e9e9c2331349011178c6814148307491b1","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-2.0.8.tgz","fileCount":20,"unpackedSize":76875,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe2klOCRA9TVsSAnZWagAA5WQP+wR88sOj2REWbtnmAeGn\nt7Wm1eWUtltPl81HsRR7D8aTaoR9vjlz33lWmy4GnrJ9YwnmM8g+Lo5QKcuT\nLXpbPK9nAHdr9XDqu215OlOAExP/8fwkSEzKpGAmE/TRYJx0XUMXqdFq63Sn\nkDvPXyeQ5tIJmwLtrtHHA0v/SGv7WuTHPpCWVNHtluXNuEMY/rLRaEatIhQQ\nZf/vCKSiP21z4NSvy6biJYQ12HKwHTI9rmWBmSVp6aGxjuvCZNyfMlniUtom\nlerB2EPyBLLjQdwhFPbLIyi5Br0nJo6J9MFMys4GiXHsRmlaKNqZMt0ZdfAq\nh2cABMw4UoUWH1G8I5N9+gasBrWHsiiCHYtKg7YwUSLb4k95ArtEKO9Sd7qK\nrVsqPPojZ1wD5KnegFryqAC14OCruNSihXdz2d2AbJLRwNPV8Gd9p1LKSlN+\nOxpobHqVATw5zj0/OkJAEU6aD9ODz8l7c0v4k134uDXjaDGfXLxWy/EGbuRv\nSbEBy/p7ou+b+h8HhEkl/q2fZjEybNBNEYExY7P5+wasCTKtocWUcuIXGplE\n2d4w4XGsU+upuuQ3+twEsDk/ewVccJ9cTba7/+McM+t130sZjsFfA8bu6vlL\n1PnD6AP2hnKghIFOJgEDDVciomXRl2ZtMlyCh3HKXAP8UuUGzS679qRPrYz0\nhLvh\r\n=sCqB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUVKwqJndYAjDN5GsXC7kikn+Pl9JKIde9VjohbNEtEwIgV7nVXdnGSmFdHCQGpq2K/9p4dLpl989FPNIzPdI9bgs="}]},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_2.0.8_1591363917803_0.5085144812740936"},"_hasShrinkwrap":false},"3.0.0":{"private":false,"name":"curve-interpolator","version":"3.0.0","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["cubic","cardnial","catmull-rom","curve","interpolate","interpolator","spline","analysis"],"scripts":{"prebuild":"rimraf dist","build":"rollup -c","prepub":"npm run build","pub":"npm publish --access=public","test":"mocha","test:watch":"mocha --reporter min --watch --watch-extensions ts","predocs":"rimraf docs","docs":"typedoc --out docs src/index.ts","postdocs":"copyfiles _config.yml docs","lint":"eslint . --ext .ts","lint:fix":"eslint . --ext .ts --fix"},"main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.js","devDependencies":{"@rollup/plugin-node-resolve":"^15.0.1","@rollup/plugin-terser":"^0.2.1","@rollup/plugin-typescript":"^10.0.1","@types/chai":"^4.2.14","@types/mocha":"^5.2.7","@typescript-eslint/eslint-plugin":"^5.48.0","@typescript-eslint/parser":"^5.48.0","chai":"^4.3.7","copyfiles":"^2.4.1","eslint":"^8.31.0","eslint-import-resolver-typescript":"^3.5.2","mocha":"^10.2.0","rimraf":"^3.0.2","rollup":"^3.9.1","ts-node":"^10.9.1","typedoc":"^0.23.23","typedoc-plugin-missing-exports":"^1.0.0","typescript":"^4.9.4"},"types":"dist/src/index.d.ts","moduleFileExtensions":["ts","tsx","js"],"gitHead":"456f2a23584d2fcf63fbca5e6dd17aea7cdcd109","homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@3.0.0","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-B3/z6apcAO12ecCMMdibZ4ZbpYSOg6V+M6+zrGqbQoJZPvLSKe10en3Td9lmn75LSOk0b+56DpXZxVTY85MDUg==","shasum":"5d75cc56cd230f4138495986b159debf665670b7","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-3.0.0.tgz","fileCount":20,"unpackedSize":83084,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAR9ow3wbYvbhfzShmIP8srIXT0ZX/8hMXc+6QyB3WE3AiAOcSdBiUyhZyPPZ15uYq0tYDp5seanGAT+78F5q/RaMA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjuAFYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpBHA//dxkol5NxBcXGPRV37DCI8yMbCKh9r8bzZ2ZN1oOeQXrTF9IO\r\nZUSoasJlf2nwwSUtYeb9sf0VnUmWgIythIG2Ty47Ij1cp5aZ49YQTfM3Ato8\r\ntYOaDK2S/2VCOPb6hI9+wLfkPt+LjwpHlP0eLmRl/FE/++GU5DBuvj9h0YqH\r\nZyqVyElY4KQ/rm8LTcyP85IoG9pDrMOm4U7Kw3udl8+aKTtHyLuL6KGFuSJv\r\n4DS9a1UfTj0qc5mjPYcMOZ1WSPFxEfUF46x3YIocEfCfLw6N+ctL63Dc3zIZ\r\nMdw/0CXWfOTM7iccJabsdaY0xC3/HDdhe8Zcvlj/WJ/fFXX95fqc9q4LHMpC\r\nlIapHEzdU9pjdNCIDedxURqd/bKNadggd9T4Fj/LEfPFyKatv/C40dNiT4+r\r\nLE7rlIoABIz5ep3rnHqeZQCjWje21NVg9hYeceEtfz14fclAmC+MJ3uqnSg2\r\nIRphSJDvwtkL2pETE7NujOA14gvVrT4IVHAZUfovy712aKfnvF5VUcQGDV+c\r\nLQfEpHX1wkMlp/nTy1a9uktpZ1MtxUlVIsKeyBMBFRsXodde6W6trb2Vo+q7\r\nXunfD+f1/hR41G8/98dVTYB5kGxytHAj9zIfF2TatLobsmEUNPnZhRqn+xzF\r\nNy4lUhU0119N8yAqGI7ahYuWU3eZCZ46oPk=\r\n=SJ6J\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"directories":{},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_3.0.0_1673003352647_0.7465395009313525"},"_hasShrinkwrap":false},"3.0.1":{"private":false,"name":"curve-interpolator","version":"3.0.1","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["cubic","cardnial","catmull-rom","curve","interpolate","interpolator","spline","analysis"],"scripts":{"prebuild":"rimraf dist","build":"rollup -c","prepub":"npm run build","pub":"npm publish --access=public","test":"mocha","test:watch":"mocha --reporter min --watch --watch-extensions ts","predocs":"rimraf docs","docs":"typedoc --out docs src/index.ts","postdocs":"copyfiles _config.yml docs","lint":"eslint . --ext .ts","lint:fix":"eslint . --ext .ts --fix"},"main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.js","devDependencies":{"@rollup/plugin-node-resolve":"^15.0.1","@rollup/plugin-terser":"^0.2.1","@rollup/plugin-typescript":"^10.0.1","@types/chai":"^4.2.14","@types/mocha":"^5.2.7","@typescript-eslint/eslint-plugin":"^5.48.0","@typescript-eslint/parser":"^5.48.0","chai":"^4.3.7","copyfiles":"^2.4.1","eslint":"^8.31.0","eslint-import-resolver-typescript":"^3.5.2","mocha":"^10.2.0","rimraf":"^3.0.2","rollup":"^3.9.1","ts-node":"^10.9.1","typedoc":"^0.23.23","typedoc-plugin-missing-exports":"^1.0.0","typescript":"^4.9.4"},"types":"dist/src/index.d.ts","moduleFileExtensions":["ts","tsx","js"],"gitHead":"cdbc41c3428ab6f1fa69a0f051206b649062a01a","homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@3.0.1","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-EGQY1f6CjdO8gtmD+vuNM2dtM2JCyghQAFm1CY/HUWe9UylOrvWF+qZ+y8XnmFaqD5i3Mjo7P7m5wAfcigPU7g==","shasum":"0af027a705aa5e4e03a033f0c501ce09960b01c7","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-3.0.1.tgz","fileCount":20,"unpackedSize":84144,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXvUYtQEn3DHSjTy+0nK55zADwnauuzlA+M8IhWNRxcgIgcHWMIbFthOC8uXnf+Pgtu38KMgTFAT4+10NDo9j9m2k="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjvUB6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqwxBAApLZoL5GvXXrGdTSbGiLRKSyZDG+mLvnjzmJWJ9NfLTckazT2\r\nkMpJVhvgFiP43Ak9fwNvXevP3TnB4s4n7rI8ZsCSd2PB8Y+kP12GwPN2pd3V\r\nqOOYfxH1sAcWCfs2PK055a/wRN4BvRVtc2zh/l39wefSLsL7yY9/+QMbBZWz\r\n2BJyMJRhx6/byam1sfedD6iiqAdS711Amw84wYTpBEWym4u5lOiYT33v1+hS\r\n9Nodho+r/oC5qUbansWeOQZ+e7fKLwKCWofilqugyZxzRk9fkcmAhyDzmGV/\r\n6VF7B2lgQL7ifYAoYe8rxAWtD6GaU707McnewujahFVArNPCKoaZ5u2MfCZK\r\nv7jvn7+gELnUfOQcJEqYPadbEc55Pd3FaPl15rRT+34IuPYB7rm4ujGyo9s3\r\nQpJ+3ARuq2h6FNa5jb5CgoTNBAMGujMky5tT/cd1nOM9ZnOLg3TRdXcb7OW+\r\n5ejSj4UQ7k7CEujLZ4EAWgrqd8C1MdRAtJrnCAcCIYtmaE3NO/wNrojUgzN+\r\nBWlqGtpD2Hd2d249+PMuAUHR2B2ZN1NbrYUWoSiT/AvxTW3/hDCpaGfXOojl\r\n+jdXukxO0WdjTHbJEkEt8duRbZgCeaaRiVv5rpLWVSwQuz+w+MhfQ5Y/OnJL\r\ncebYElNNJ2W4ibluwbm3KqGB1wCfsf+xWso=\r\n=KD7A\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"directories":{},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_3.0.1_1673347194676_0.08200723428771206"},"_hasShrinkwrap":false},"3.1.0-beta.1":{"private":false,"name":"curve-interpolator","version":"3.1.0-beta.1","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["cubic","cardnial","catmull-rom","curve","interpolate","interpolator","spline","analysis"],"scripts":{"prebuild":"rimraf dist","build":"rollup -c","prepub":"npm run build","pub":"npm publish --access=public","test":"mocha","test:watch":"mocha --reporter min --watch --watch-extensions ts","predocs":"rimraf docs","docs":"typedoc --out docs src/index.ts","postdocs":"copyfiles _config.yml docs","lint":"eslint . --ext .ts","lint:fix":"eslint . --ext .ts --fix"},"main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.js","devDependencies":{"@rollup/plugin-node-resolve":"^15.0.1","@rollup/plugin-terser":"^0.2.1","@rollup/plugin-typescript":"^10.0.1","@types/chai":"^4.2.14","@types/mocha":"^5.2.7","@typescript-eslint/eslint-plugin":"^5.48.0","@typescript-eslint/parser":"^5.48.0","chai":"^4.3.7","copyfiles":"^2.4.1","eslint":"^8.31.0","eslint-import-resolver-typescript":"^3.5.2","mocha":"^10.2.0","rimraf":"^3.0.2","rollup":"^3.9.1","ts-node":"^10.9.1","typedoc":"^0.23.23","typedoc-plugin-missing-exports":"^1.0.0","typescript":"^4.9.4"},"types":"dist/src/index.d.ts","moduleFileExtensions":["ts","tsx","js"],"readme":"![](https://github.com/kjerandp/curve-interpolator/workflows/Node%20CI/badge.svg)\n![](https://img.shields.io/npm/v/curve-interpolator)\n# Curve Interpolator\n\nA lib for interpolating values over a cubic Cardinal/Catmull-Rom spline curve of n-dimenesions.\n\n## Installation\n```bash\nnpm install --save curve-interpolator\n```\n## Basic usage\nReference the CurveInterpolator class:\n```js\n// commonjs\nconst CurveInterpolator = require('curve-interpolator').CurveInterpolator;\n\n// es6\nimport { CurveInterpolator } from 'curve-interpolator';\n\n```\n\nDefine controlpoints you want the curve to pass through and pass it to the constructor of the CurveInterpolator to create an instance:\n\n```js\nconst points = [\n  [0, 4],\n  [1, 2],\n  [3, 6.5],\n  [4, 8],\n  [5.5, 4],\n  [7, 3],\n  [8, 0],\n  ...\n];\n\nconst interp = new CurveInterpolator(points, { tension: 0.2 });\n\n// get single point\nconst position = 0.3 // [0 - 1]\nconst pt = interp.getPointAt(position)\n\n// get points evently distributed along the curve\nconst segments = 1000;\nconst pts = interp.getPoints(segments);\n\n// lookup values along x and y axises\nconst axis = 1;\nconst yintersects = interp.lookup(7, axis);\n\n/*\nmax number of solutions (0 = all (default), 1 = first, -1 = last)\nA negative max value counts solutions from end of curve\n*/\nconst axis = 0;\nconst max = -1;\nconst xintersects = interp.lookup(3.2, axis, max);\n\n// get bounding box\nconst bbox = interp.getBoundingBox();\n```\n\nOnline example on ObservableHQ:\n- https://observablehq.com/@kjerandp/curveinterpolator-v2\n- https://observablehq.com/@kjerandp/curve-interpolator-v1\n\n## Docs\nDocs are generated using typedoc in `./docs`. To create:\n```bash\nnpm run docs\n```\nOnline: https://kjerandp.github.io/curve-interpolator/\n\n## License\nMIT\n","readmeFilename":"README.md","gitHead":"b07c039a4adae690e44ecf0e0fbf8966d259f70f","homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@3.1.0-beta.1","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-+K+4eARDhlNm0n9xql6iAoBlYJF3c9/s89RaVNnzZA9WSfpIDvijr/9GoUox4WwRW+2490A0AmCPtLQHeGlz3Q==","shasum":"9f22bc9d1c6f8c89c965c5494dc30c75bbdc6931","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-3.1.0-beta.1.tgz","fileCount":33,"unpackedSize":164681,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOYMW/taDWJuL4jakjDIc3ERlMHf0EKzwQniCUWMyNOgIgLOUweqFkCLNzTDHR/azqucbl4+rKxmoSL+9BBk3aV7I="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj08GkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrbyQ//dBMw6FqsGMpmXqW4gojLP80b7rfdfbZXo03UHgn3rI8QDmkp\r\nGHcR8myDAWqGXO4fkZnmXN9gHRF3QrwyotxFkUT0bnptHRnkCwDeDXvM2egT\r\nW6yiMkErdEcwDFgJ6GCtzVdk5WIB3mCzGlmCGo3J3sHigxotTJemXv9ZkDHX\r\ni7V08zdMhtyNFvNaD95I2jhKH1a0GjgR+JaWjZK3E1X8bYvYgLWal2RKqOwS\r\ns4LSebI8VqMEXlSJwWSBJg4jZ6sbQr6rAB39KXJK1R/Q5t26OwncHydL1nbn\r\nDp2uATcs8bqQZvqA7+8N1vlpeRAumfzUuWfRUaJnJ/Ij+s5+jkkOVjpYyVgX\r\ntpPOFTmRTvpma7FcdMdGyC/fyT3wvzvC6711lho0as853Fd7Tb0rKMPQWjBZ\r\naGsRvuqv4zqK7rN4iQPTA9FxyioRTg3hwL1Ol2MLjDeo6N8rvPymQuOX2LfP\r\nt8afmxNeK7zAJLD0R24p1AyEZN8Cs7qphjsTkQNpu3p1RXs0ZCdhAHBP/TKJ\r\nMCOmcxqZJ47tk0yxnNfrb7DrqhYk2ZFNiFxei9CCRoYk+/wNfDeAZbD8ALad\r\nCxJAoh2TJziZWvdu++4arLI2Ms2zp7Ml/qdNFb3pge5xPsKnfHwNzeWTKndY\r\niAO+ohcMgEPEMs9kxHTVNvNwdEqw7pHmQM8=\r\n=vTN8\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"directories":{},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_3.1.0-beta.1_1674822052537_0.5309099189916142"},"_hasShrinkwrap":false},"3.1.0-beta.2":{"private":false,"name":"curve-interpolator","version":"3.1.0-beta.2","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["cubic","cardinial","catmull-rom","curve","interpolate","interpolator","spline","analysis"],"scripts":{"prebuild":"rimraf dist","build":"rollup -c","prepub":"npm run build","pub":"npm publish --access=public","test":"mocha","test:watch":"mocha --reporter min --watch --watch-extensions ts","predocs":"rimraf docs","docs":"typedoc --out docs src/index.ts","postdocs":"copyfiles _config.yml docs","lint":"eslint . --ext .ts","lint:fix":"eslint . --ext .ts --fix"},"main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.js","devDependencies":{"@rollup/plugin-node-resolve":"^15.0.1","@rollup/plugin-terser":"^0.2.1","@rollup/plugin-typescript":"^10.0.1","@types/chai":"^4.2.14","@types/mocha":"^5.2.7","@types/sinon":"^10.0.13","@typescript-eslint/eslint-plugin":"^5.48.0","@typescript-eslint/parser":"^5.48.0","chai":"^4.3.7","copyfiles":"^2.4.1","eslint":"^8.31.0","eslint-import-resolver-typescript":"^3.5.2","mocha":"^10.2.0","rimraf":"^3.0.2","rollup":"^3.9.1","sinon":"^15.0.1","ts-node":"^10.9.1","typedoc":"^0.23.23","typedoc-plugin-missing-exports":"^1.0.0","typescript":"^4.9.4"},"types":"dist/src/index.d.ts","moduleFileExtensions":["ts","tsx","js"],"readme":"![](https://github.com/kjerandp/curve-interpolator/workflows/Node%20CI/badge.svg)\n![](https://img.shields.io/npm/v/curve-interpolator)\n# Curve Interpolator\n\nA lib for interpolating values over a cubic Cardinal/Catmull-Rom spline curve of n-dimenesions.\n\n## Installation\n```bash\nnpm install --save curve-interpolator\n```\n## Basic usage\nReference the CurveInterpolator class:\n```js\n// commonjs\nconst CurveInterpolator = require('curve-interpolator').CurveInterpolator;\n\n// es6\nimport { CurveInterpolator } from 'curve-interpolator';\n\n```\n\nDefine controlpoints you want the curve to pass through and pass it to the constructor of the CurveInterpolator to create an instance:\n\n```js\nconst points = [\n  [0, 4],\n  [1, 2],\n  [3, 6.5],\n  [4, 8],\n  [5.5, 4],\n  [7, 3],\n  [8, 0],\n  ...\n];\n\nconst interp = new CurveInterpolator(points, { tension: 0.2 });\n\n// get single point\nconst position = 0.3 // [0 - 1]\nconst pt = interp.getPointAt(position)\n\n// get points evently distributed along the curve\nconst segments = 1000;\nconst pts = interp.getPoints(segments);\n\n// lookup values along x and y axises\nconst axis = 1;\nconst yintersects = interp.lookup(7, axis);\n\n/*\nmax number of solutions (0 = all (default), 1 = first, -1 = last)\nA negative max value counts solutions from end of curve\n*/\nconst axis = 0;\nconst max = -1;\nconst xintersects = interp.lookup(3.2, axis, max);\n\n// get bounding box\nconst bbox = interp.getBoundingBox();\n```\n\nOnline example on ObservableHQ:\n- https://observablehq.com/@kjerandp/curveinterpolator-v2\n- https://observablehq.com/@kjerandp/curve-interpolator-v1\n\n## Docs\nDocs are generated using typedoc in `./docs`. To create:\n```bash\nnpm run docs\n```\nOnline: https://kjerandp.github.io/curve-interpolator/\n\n## License\nMIT\n","readmeFilename":"README.md","gitHead":"d58d3f0e85f4f5136ed785749efc20f344a79e37","homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@3.1.0-beta.2","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-WF3zk+CiogV3v58i8Yb8pdw0OXLFGzBQic9bEWlKO74s4xU6xp4All08jRJvmQ80vplqeaqHhaIV95kIOt6DAg==","shasum":"3a36cb75ec28c9e0415a95c8e3a926e95a4ec4bd","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-3.1.0-beta.2.tgz","fileCount":33,"unpackedSize":173515,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE6YeyZZv3ttR9nwPqjpZ/1iaS9wMdHSHaD/7gTAUlGOAiEA1PGP/vqX7AriIhVnMqMeePpz42SmZyxXsI4acscWzxM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2NclACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrUfxAAiwhXoJ2mH9NfpPTs+TVABCALzKudcLrpn80mPKf72NyyzuDi\r\nGLiJn/g7xIG90zVHAJ01WN25SuhJElCvbNKJxeJVhj9z46Cn9E80ysgzeYxj\r\nZipHc1JxcF4+0uHNpaJAF6fkJj9Uw2lfjbxm+j7AeoaBC3Z8Q5UqY+WlLTNl\r\nBYmGqKr0qC/JagH4IUNhq8rGm4jZSYUbB6wATdzkxGCpiqlcEYJjI7sSmS/i\r\nAhi6RPgYAMKHPWW5eykHJGqf+kIuJM8oov78I5KdkOvw+svykuu1MJq2DbCL\r\n3WirAR9qi+rhHv6AO17NvNM7/3BXj4GGkeYTDcNVIZdUPrNazUzzddZBeByx\r\ngcNalNeUuCiGWn9oIHL7QLcJZYz3se009kT0DSm/9kVGWzdMT60meoW7mNzX\r\nhlF+7rgkYbuiGgpPpKrXObMqzyjxwWKFc1fApVVRQ/jC7b1pxFyW55Y3nNOe\r\n7N8msBPclrSLgcnwP0vuVQpX/mVDdUNXSz4K1C8xh9MD2ucrtNgoz8dt6Bc7\r\nsqpiiUJCf52IhFX3ZYcPkkH/Sj9zqOKN6ci5wh3gmu/Rl0l4nqyv4aWuIeMo\r\nD7nkNrULfSVMqfKKwNprZ6LczgWzsLOhK/O7By+JSjwZzIYfabdhUjwJQcFI\r\nZmzsEzT8A1F9DTcMVGHnHxjfa3HqbjHt3tA=\r\n=5R7j\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"directories":{},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_3.1.0-beta.2_1675155236888_0.08267926010717708"},"_hasShrinkwrap":false},"3.1.0-beta.3":{"private":false,"name":"curve-interpolator","version":"3.1.0-beta.3","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["cubic","cardinial","catmull-rom","curve","interpolate","interpolator","spline","analysis"],"scripts":{"prebuild":"rimraf dist","build":"rollup -c","prepub":"npm run build","pub":"npm publish --access=public","test":"mocha","test:watch":"mocha --reporter min --watch --watch-extensions ts","predocs":"rimraf docs","docs":"typedoc --out docs src/index.ts","postdocs":"copyfiles _config.yml docs","lint":"eslint . --ext .ts","lint:fix":"eslint . --ext .ts --fix"},"main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.js","devDependencies":{"@rollup/plugin-node-resolve":"^15.0.1","@rollup/plugin-terser":"^0.2.1","@rollup/plugin-typescript":"^10.0.1","@types/chai":"^4.2.14","@types/mocha":"^5.2.7","@types/sinon":"^10.0.13","@typescript-eslint/eslint-plugin":"^5.48.0","@typescript-eslint/parser":"^5.48.0","chai":"^4.3.7","copyfiles":"^2.4.1","eslint":"^8.31.0","eslint-import-resolver-typescript":"^3.5.2","mocha":"^10.2.0","rimraf":"^3.0.2","rollup":"^3.9.1","sinon":"^15.0.1","ts-node":"^10.9.1","typedoc":"^0.23.23","typedoc-plugin-missing-exports":"^1.0.0","typescript":"^4.9.4"},"types":"dist/src/index.d.ts","moduleFileExtensions":["ts","tsx","js"],"readme":"![](https://github.com/kjerandp/curve-interpolator/workflows/Node%20CI/badge.svg)\n![](https://img.shields.io/npm/v/curve-interpolator)\n# Curve Interpolator\n\nA lib for interpolating values over a cubic Cardinal/Catmull-Rom spline curve of n-dimenesions.\n\n## Installation\n```bash\nnpm install --save curve-interpolator\n```\n## Basic usage\nReference the CurveInterpolator class:\n```js\n// commonjs\nconst CurveInterpolator = require('curve-interpolator').CurveInterpolator;\n\n// es6\nimport { CurveInterpolator } from 'curve-interpolator';\n\n```\n\nDefine controlpoints you want the curve to pass through and pass it to the constructor of the CurveInterpolator to create an instance:\n\n```js\nconst points = [\n  [0, 4],\n  [1, 2],\n  [3, 6.5],\n  [4, 8],\n  [5.5, 4],\n  [7, 3],\n  [8, 0],\n  ...\n];\n\nconst interp = new CurveInterpolator(points, { tension: 0.2 });\n\n// get single point\nconst position = 0.3 // [0 - 1]\nconst pt = interp.getPointAt(position)\n\n// get points evently distributed along the curve\nconst segments = 1000;\nconst pts = interp.getPoints(segments);\n\n// lookup values along x and y axises\nconst axis = 1;\nconst yintersects = interp.lookup(7, axis);\n\n/*\nmax number of solutions (0 = all (default), 1 = first, -1 = last)\nA negative max value counts solutions from end of curve\n*/\nconst axis = 0;\nconst max = -1;\nconst xintersects = interp.lookup(3.2, axis, max);\n\n// get bounding box\nconst bbox = interp.getBoundingBox();\n```\n\nOnline example on ObservableHQ:\n- https://observablehq.com/@kjerandp/curveinterpolator-v2\n- https://observablehq.com/@kjerandp/curve-interpolator-v1\n\n## Docs\nDocs are generated using typedoc in `./docs`. To create:\n```bash\nnpm run docs\n```\nOnline: https://kjerandp.github.io/curve-interpolator/\n\n## License\nMIT\n","readmeFilename":"README.md","gitHead":"922db5ca9cd4f19cd9bc05086081dbdb70292338","homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@3.1.0-beta.3","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-MurHKyQB52geelJreTs4MC2yZKeh7FYetnwrhNEQzv5yOxILc9Q89Bf8exuhVbLUjod5rE4c1ab/2aJo9CoOng==","shasum":"892c6d860c428c35bc8e1045e610e07e27929a4d","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-3.1.0-beta.3.tgz","fileCount":33,"unpackedSize":178166,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIECyxwCEVt7RKkTui9q9JxP1PeG+7j6VenrAttQ7GCuYAiEA9x43xltaG2GxGmGSEVQjBE+PMEcscTmIRIJgOn5dbkA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7NxIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr8RA//SCxRpQn6kIoP9nQQqZQIIgbwkj0rD5Gte3dWeDTt2qKRHSd7\r\nQWJN2F8d+i9pGYiU9aKOmtKsMXCpsEtqK4ZPixdlftv2xS23yfWo9pJ/ZZVR\r\nZYTT1w9p8q4E7ol0JW/wDbjKS3Y3DfrDZHQ+DJqNoyBbfdA6LZJGYtfqw+NN\r\nVjr63uWgqLQ/pvaR80Xk6Z2Q4tpm9GnYbhNJzXVxSj1fKyaqsV7W6/Rfr4eN\r\nZ7WEDawBucZQl0nSF/SE68m0tTswjjd837j7lc5YkBJVI/peSrNTdxHVsDar\r\nUORZzHrhRFobjMNM/6E5tmvwL4vBtT8w7UKYKdO7obe/rkR+D8H2FSqWimy+\r\nvcZ32g2Pf9V3/uMAoLpM+ipJUsQ2Ds9qkI72OXdszimyV7G3tICUG6nwhuXJ\r\nAM7tVJy0FjPUoT05FkepYJMuBhROru0Q0rYRgwp40TBsrG+BFX0KKshPTuqF\r\n44okElOSsmag0bvzE5jaauORFbw3Ncb83Zjla/dWzf2OppK6FeMc8R6wlwIE\r\nq8uWqCXVz2RvX4MK9z0A8PEkgAeaK2Yog3Dh1qJWK2fvDnCXrIbWUJQVVF58\r\njFkTSLpoy7TLNCz/Ur787voCitAvmMmCMbsD0L7KSf06iLS8xDemdEV5OxPk\r\noQPjYLB1bE/rEVhVsKrJdm/yHLxV5ubzzyg=\r\n=FbFR\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"directories":{},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_3.1.0-beta.3_1676467272178_0.9270566650195278"},"_hasShrinkwrap":false},"3.1.0-beta.4":{"private":false,"name":"curve-interpolator","version":"3.1.0-beta.4","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["cubic","cardinial","catmull-rom","curve","interpolate","interpolator","spline","analysis"],"scripts":{"prebuild":"rimraf dist","build":"rollup -c","prepub":"npm run build","pub":"npm publish --access=public","test":"mocha","test:watch":"mocha --reporter min --watch --watch-extensions ts","predocs":"rimraf docs","docs":"typedoc --out docs src/index.ts","postdocs":"copyfiles _config.yml docs","lint":"eslint . --ext .ts","lint:fix":"eslint . --ext .ts --fix"},"main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.js","devDependencies":{"@rollup/plugin-node-resolve":"^15.0.1","@rollup/plugin-terser":"^0.2.1","@rollup/plugin-typescript":"^10.0.1","@types/chai":"^4.2.14","@types/mocha":"^5.2.7","@types/sinon":"^10.0.13","@typescript-eslint/eslint-plugin":"^5.48.0","@typescript-eslint/parser":"^5.48.0","chai":"^4.3.7","copyfiles":"^2.4.1","eslint":"^8.31.0","eslint-import-resolver-typescript":"^3.5.2","mocha":"^10.2.0","rimraf":"^3.0.2","rollup":"^3.9.1","sinon":"^15.0.1","ts-node":"^10.9.1","typedoc":"^0.23.23","typedoc-plugin-missing-exports":"^1.0.0","typescript":"^4.9.4"},"types":"dist/src/index.d.ts","moduleFileExtensions":["ts","tsx","js"],"readme":"![](https://github.com/kjerandp/curve-interpolator/workflows/Node%20CI/badge.svg)\n![](https://img.shields.io/npm/v/curve-interpolator)\n# Curve Interpolator\n\nA lib for interpolating values over a cubic Cardinal/Catmull-Rom spline curve of n-dimenesions.\n\n## Installation\n```bash\nnpm install --save curve-interpolator\n```\n## Basic usage\nReference the CurveInterpolator class:\n```js\n// commonjs\nconst CurveInterpolator = require('curve-interpolator').CurveInterpolator;\n\n// es6\nimport { CurveInterpolator } from 'curve-interpolator';\n\n```\n\nDefine controlpoints you want the curve to pass through and pass it to the constructor of the CurveInterpolator to create an instance:\n\n```js\nconst points = [\n  [0, 4],\n  [1, 2],\n  [3, 6.5],\n  [4, 8],\n  [5.5, 4],\n  [7, 3],\n  [8, 0],\n  ...\n];\n\nconst interp = new CurveInterpolator(points, { tension: 0.2 });\n\n// get single point\nconst position = 0.3 // [0 - 1]\nconst pt = interp.getPointAt(position)\n\n// get points evently distributed along the curve\nconst segments = 1000;\nconst pts = interp.getPoints(segments);\n\n// lookup values along x and y axises\nconst axis = 1;\nconst yintersects = interp.lookup(7, axis);\n\n/*\nmax number of solutions (0 = all (default), 1 = first, -1 = last)\nA negative max value counts solutions from end of curve\n*/\nconst axis = 0;\nconst max = -1;\nconst xintersects = interp.lookup(3.2, axis, max);\n\n// get bounding box\nconst bbox = interp.getBoundingBox();\n```\n\nOnline example on ObservableHQ:\n- https://observablehq.com/@kjerandp/curveinterpolator-v2\n- https://observablehq.com/@kjerandp/curve-interpolator-v1\n\n## Docs\nDocs are generated using typedoc in `./docs`. To create:\n```bash\nnpm run docs\n```\nOnline: https://kjerandp.github.io/curve-interpolator/\n\n## License\nMIT\n","readmeFilename":"README.md","gitHead":"18c2d1bd1177c2c174f598a52802e980ef92667b","homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@3.1.0-beta.4","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-cSK/nzXKzcdV7xiYKLHDGpRi560YW1tpPPdtbnzaWwGUWiXnuGtJSRxM1++FZ0GZynCTXLDX8erPLnKLcRIPKQ==","shasum":"bbe4b099238eae83a1424fb9c2cb502f1a297c19","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-3.1.0-beta.4.tgz","fileCount":33,"unpackedSize":185477,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICluQrhrvkGOISB385Ctk+il6vBJ4tNkGEd1EaH4heaWAiEA8yp0owmLoamUr6GNvRRnS2QkJP0Xr5LZFsZiSD+aEpI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7/UAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqoRg//cXt53ow54oPHvqzb/XUhqcFarUTlXXcjgaVWh/MlHPjmAFtR\r\nra5zzTYL0tjvnk2IerN9sNytsIR4SRUSuTywNfquDwvldRKRjlCuPhOnbZ+q\r\nPefOEPrI65dOQ6p49eOctO6JSTudkl6hmDMFumE7Kv8uTORPHScwUNe8JciK\r\nnPPLeYGeJFA+PkgTzU3y45VB+sVbqB2NLHAhgJbTzYPUFDxNs3mrfUpgO5DA\r\nLlPUeDltgU5yYwjjkejCsi+0Zy17Y2PwieKDFgte7LhK7AUyFR+uA7JqMrEl\r\nVanFwjFv/hN0yMR7Ep/n+l+4y9vp8AtD6s3Dou7vAr1XpiP+fDFvOokYsNgN\r\nWAIBg2Lcxzb8W/pyY6X3pYxW2D9biC1xUc95rkCgyUkSfrwJnqZfyyQR24Ky\r\nWQFuHfZ/rdeh8KsJacum+VW6GkdgFb6YLIbH64WShxa2T8hbiDGV793CzTlb\r\n9LUgprDQCuY53ZJcIGz3k+1sKuaqxolQo8f9oFTfMTyzF8SdahuMzfJxxCTs\r\nr5tu28HbzIqjGXrmaWjAK1A4eiDUhFfVw5KRps+TausY6OteTvzL80GsEAIw\r\nXuucsmDDYkh//BCEeR6fl4ltOPUNaF5n11/HcjYSn1HjazbjneO7w94gqRUZ\r\nYDTrKD4Z20wLMgv+oLcxsIWzi9EdCJhIVWM=\r\n=69mc\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"directories":{},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_3.1.0-beta.4_1676670208606_0.693295963402055"},"_hasShrinkwrap":false},"3.1.0-beta.5":{"private":false,"name":"curve-interpolator","version":"3.1.0-beta.5","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["cubic","cardinial","catmull-rom","curve","interpolate","interpolator","spline","analysis"],"scripts":{"prebuild":"rimraf dist","build":"rollup -c","prepub":"npm run build","pub":"npm publish --access=public","test":"mocha","test:watch":"mocha --reporter min --watch --watch-extensions ts","predocs":"rimraf docs","docs":"typedoc --out docs src/index.ts","postdocs":"copyfiles _config.yml docs","lint":"eslint . --ext .ts","lint:fix":"eslint . --ext .ts --fix"},"main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.js","devDependencies":{"@rollup/plugin-node-resolve":"^15.0.1","@rollup/plugin-terser":"^0.2.1","@rollup/plugin-typescript":"^10.0.1","@types/chai":"^4.2.14","@types/mocha":"^5.2.7","@types/sinon":"^10.0.13","@typescript-eslint/eslint-plugin":"^5.48.0","@typescript-eslint/parser":"^5.48.0","chai":"^4.3.7","copyfiles":"^2.4.1","eslint":"^8.31.0","eslint-import-resolver-typescript":"^3.5.2","mocha":"^10.2.0","rimraf":"^3.0.2","rollup":"^3.9.1","sinon":"^15.0.1","ts-node":"^10.9.1","typedoc":"^0.23.23","typedoc-plugin-missing-exports":"^1.0.0","typescript":"^4.9.4"},"types":"dist/src/index.d.ts","moduleFileExtensions":["ts","tsx","js"],"readme":"![](https://github.com/kjerandp/curve-interpolator/workflows/Node%20CI/badge.svg)\n![](https://img.shields.io/npm/v/curve-interpolator)\n# Curve Interpolator\n\nA lib for interpolating values over a cubic Cardinal/Catmull-Rom spline curve of n-dimenesions.\n\n## Installation\n```bash\nnpm install --save curve-interpolator\n```\n## Basic usage\nReference the CurveInterpolator class:\n```js\n// commonjs\nconst CurveInterpolator = require('curve-interpolator').CurveInterpolator;\n\n// es6\nimport { CurveInterpolator } from 'curve-interpolator';\n\n```\n\nDefine controlpoints you want the curve to pass through and pass it to the constructor of the CurveInterpolator to create an instance:\n\n```js\nconst points = [\n  [0, 4],\n  [1, 2],\n  [3, 6.5],\n  [4, 8],\n  [5.5, 4],\n  [7, 3],\n  [8, 0],\n  ...\n];\n\nconst interp = new CurveInterpolator(points, { tension: 0.2 });\n\n// get single point\nconst position = 0.3 // [0 - 1]\nconst pt = interp.getPointAt(position)\n\n// get points evently distributed along the curve\nconst segments = 1000;\nconst pts = interp.getPoints(segments);\n\n// lookup values along x and y axises\nconst axis = 1;\nconst yintersects = interp.lookup(7, axis);\n\n/*\nmax number of solutions (0 = all (default), 1 = first, -1 = last)\nA negative max value counts solutions from end of curve\n*/\nconst axis = 0;\nconst max = -1;\nconst xintersects = interp.lookup(3.2, axis, max);\n\n// get bounding box\nconst bbox = interp.getBoundingBox();\n```\n\nOnline example on ObservableHQ:\n- https://observablehq.com/@kjerandp/curveinterpolator-v2\n- https://observablehq.com/@kjerandp/curve-interpolator-v1\n\n## Docs\nDocs are generated using typedoc in `./docs`. To create:\n```bash\nnpm run docs\n```\nOnline: https://kjerandp.github.io/curve-interpolator/\n\n## License\nMIT\n","readmeFilename":"README.md","gitHead":"1cf3717ab0aa99dc6def3b3214730b7f4be6285e","homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@3.1.0-beta.5","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-fU7W5t4MaggzQoOLqO6mJHi/SZATlJGlYfTSZAeSIzZn74EQ7P1iLEc9VooD8tDMOnATO2cW8KoXoEZKrxi7Mg==","shasum":"cf07df75fb1576f2f53c6b6bd134050f91cf10dc","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-3.1.0-beta.5.tgz","fileCount":33,"unpackedSize":189287,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTEeKN/cGQ3FIcrRdvBv3fc6zkBEnjGQK3g4FEzxgW2wIgVaAm0+J1bx9/0BhtNAh6+Zxro9MJLcIzLHQ41pQm8io="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj87VRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrPpA//Ze8+xYATHzzc6BPEsHEenCU9/P/+OTuXZKga5boMvoBx6R2v\r\nXjz8TOMLEf07mmmVYL0V0FY/IOAdw6/tYRsT5z/iNPHYUV7IvxMjMsw2C3SC\r\neOxHFCYVf98OHOmv9YiyEcz2HXPsWfIhSqVdics7YWekK2iTUeIzwsvSTJDb\r\n8b0DIdY475y3NsCyuz0piae09C+cMN0+cIDe0q6xeEd6Q0gUhv95a+vz+i7r\r\nsCBe7kykCcIxPpdabktgKCo11T/i1vEknBx7wh9K1CqVb6CjIEN6pWskFn8a\r\nlkfDVhR1L28+vHWRG1qGvzgpKTMGaewWdKToybCexXM3wSUD11qt+tO4DE0a\r\nJ6KTPg1A+och0GnLL9C7Yy5szSungDAgUMXJt3bqbPmyqv+shW2R7X/VtDfg\r\n8bPlRmRAYrXSh+uSnswrPiuZT/ahCnN8KeVUbppnz0KbAUWD0lmdwf9r63lg\r\nmnXbioEGEYTqDehfLBHX9cIC9BoT5Y/tVDc/0mL5O8KqG1LTx4fke0TwxxHk\r\nXplTGWrPj08e8dMoS5z74Ifpk20CgyEyaEllB7/ijD4IFPzylq21/vOFpDIz\r\nHIg2y/enYtKZfWlYD3xoxBFMrL+qjFhs1xJUdLh3Gdwqt20xy7McMAzC5h50\r\nWWo6KZaoR/HFX5myqCRYhauydRdWhy4Ec9g=\r\n=KEs2\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"directories":{},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_3.1.0-beta.5_1676916049014_0.9359261686501277"},"_hasShrinkwrap":false},"3.1.0-beta.6":{"private":false,"name":"curve-interpolator","version":"3.1.0-beta.6","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["cubic","cardinial","catmull-rom","curve","interpolate","interpolator","spline","analysis"],"scripts":{"prebuild":"rimraf dist","build":"rollup -c","prepub":"npm run build","pub":"npm publish --access=public","test":"mocha","test:watch":"mocha --reporter min --watch --watch-extensions ts","predocs":"rimraf docs","docs":"typedoc --out docs src/index.ts","postdocs":"copyfiles _config.yml docs","lint":"eslint . --ext .ts","lint:fix":"eslint . --ext .ts --fix"},"main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.js","devDependencies":{"@rollup/plugin-node-resolve":"^15.0.1","@rollup/plugin-terser":"^0.2.1","@rollup/plugin-typescript":"^10.0.1","@types/chai":"^4.2.14","@types/mocha":"^5.2.7","@types/sinon":"^10.0.13","@typescript-eslint/eslint-plugin":"^5.48.0","@typescript-eslint/parser":"^5.48.0","chai":"^4.3.7","copyfiles":"^2.4.1","eslint":"^8.31.0","eslint-import-resolver-typescript":"^3.5.2","mocha":"^10.2.0","rimraf":"^3.0.2","rollup":"^3.9.1","sinon":"^15.0.1","ts-node":"^10.9.1","typedoc":"^0.23.23","typedoc-plugin-missing-exports":"^1.0.0","typescript":"^4.9.4"},"types":"dist/src/index.d.ts","moduleFileExtensions":["ts","tsx","js"],"readme":"![](https://github.com/kjerandp/curve-interpolator/workflows/Node%20CI/badge.svg)\n![](https://img.shields.io/npm/v/curve-interpolator)\n# Curve Interpolator\n\nA lib for interpolating values over a cubic Cardinal/Catmull-Rom spline curve of n-dimenesions.\n\n## Installation\n```bash\nnpm install --save curve-interpolator\n```\n## Basic usage\nReference the CurveInterpolator class:\n```js\n// commonjs\nconst CurveInterpolator = require('curve-interpolator').CurveInterpolator;\n\n// es6\nimport { CurveInterpolator } from 'curve-interpolator';\n\n```\n\nDefine controlpoints you want the curve to pass through and pass it to the constructor of the CurveInterpolator to create an instance:\n\n```js\nconst points = [\n  [0, 4],\n  [1, 2],\n  [3, 6.5],\n  [4, 8],\n  [5.5, 4],\n  [7, 3],\n  [8, 0],\n  ...\n];\n\nconst interp = new CurveInterpolator(points, { tension: 0.2, alpha: 0.5 });\n\n// get single point\nconst position = 0.3 // [0 - 1]\nconst pt = interp.getPointAt(position)\n\n// get points evently distributed along the curve\nconst segments = 1000;\nconst pts = interp.getPoints(segments);\n\n// lookup values along x and y axises\nconst axis = 1;\nconst yintersects = interp.getIntersects(7, axis);\n\n/*\nmax number of solutions (0 = all (default), 1 = first, -1 = last)\nA negative max value counts solutions from end of curve\n*/\nconst axis = 0;\nconst max = -1;\nconst xintersects = interp.getIntersects(3.2, axis, max);\n\n// get bounding box\nconst bbox = interp.getBoundingBox();\n```\n\nOnline example on ObservableHQ:\n- https://observablehq.com/@kjerandp/curve-interpolator-demo\n\n## Docs\nDocs are generated using typedoc in `./docs`. To create:\n```bash\nnpm run docs\n```\nOnline: https://kjerandp.github.io/curve-interpolator/\n\n## License\nMIT\n","readmeFilename":"README.md","gitHead":"32dd240967d94d25b326d8d709d5c0c9e7fb60db","homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@3.1.0-beta.6","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-CEuFzOAkz90HIGxIhh13A+H1B3m9OqBp4y/TK+WDvdPAVTlQKK9RGPL+yFWa7QkoOs+T/tEjt7LOAOfwtqPI8g==","shasum":"c88984404f603a313072f70717327553832696b8","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-3.1.0-beta.6.tgz","fileCount":33,"unpackedSize":200275,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCaTl4Juf4L7G7g5B9poRnb5ylrFucUW5pRzPCogfwq+QIhAKGKpieMftQnkJ796k7bdsvkljnKF++sFDpqC62ppUXA"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj9JrIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo/mhAAhEkMDJK3pUkyUf8Np37xjAxO32d+CLPuVUtxeMHx8MwjF4fM\r\n5hlQcSL58cP/ZmiedbsnuOkaeGHoZJJIJUivt0EBeTHH0Updsasejuz3VScn\r\nQcndoSpcYMQeYyZgES68lfm77JeruyivsYT7Xv8hbyPRyoYszEhmcsPM6D5o\r\nnBkhXAmkdOfr9Vngd66H6cWFe4M1T5n2WR2Om02tIWkjW9b5+l9X49gtM9nA\r\nZA8Cm53Qca+JAFdGNYlcLetSCkHfiNRpfruHr8uLIlXGxwMbDiJmZs0mUs16\r\nc5yzFAhFpRDw+9gm0k4+Q4tkJhjOh3WSjBngYCdfl7naJWr9LBjZdJk13DPT\r\nyg6N2wXABSgkxukbNhCG9RG4QCm986gHXYXmt6M7d0IZXXY05uLTMvT6tFZy\r\naXnfO+1WCSVk+u7MAnNqkgBOfbTQQF3/6hFHmP+EjPAT/5LXv3zZ7YLZXZHV\r\nRCuTKsWkhwpPEei4qOI5FOAVkP7qaupbNolvF1At6dtN+TVgLS8MEVhxhMhJ\r\nNyFLZ7aImEA4YsE50jAmC5RrPOGQmE6iqF401XwMdWfNYvLvMl8elQIVgU3R\r\nKP1uDS9lgGqzLt/z9gX3/W1rUcjfOTS8lASg8raGENoU9JVAArm72Q6giNS7\r\nf11KQlhadc8gkXjXUssgn2QMJx1I/WyI0u4=\r\n=ELar\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"directories":{},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_3.1.0-beta.6_1676974792197_0.008437766373535327"},"_hasShrinkwrap":false},"3.1.0":{"private":false,"name":"curve-interpolator","version":"3.1.0","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["cubic","cardinial","catmull-rom","curve","interpolate","interpolator","spline","analysis"],"scripts":{"prebuild":"rimraf dist","build":"rollup -c","prepub":"npm run build","pub":"npm publish --access=public","test":"mocha","test:watch":"mocha --reporter min --watch --watch-extensions ts","predocs":"rimraf docs","docs":"typedoc --out docs src/index.ts","postdocs":"copyfiles _config.yml docs","lint":"eslint . --ext .ts","lint:fix":"eslint . --ext .ts --fix"},"main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.js","devDependencies":{"@rollup/plugin-node-resolve":"^15.0.1","@rollup/plugin-terser":"^0.2.1","@rollup/plugin-typescript":"^10.0.1","@types/chai":"^4.2.14","@types/mocha":"^5.2.7","@types/sinon":"^10.0.13","@typescript-eslint/eslint-plugin":"^5.48.0","@typescript-eslint/parser":"^5.48.0","chai":"^4.3.7","copyfiles":"^2.4.1","eslint":"^8.31.0","eslint-import-resolver-typescript":"^3.5.2","mocha":"^10.2.0","rimraf":"^3.0.2","rollup":"^3.9.1","sinon":"^15.0.1","ts-node":"^10.9.1","typedoc":"^0.23.23","typedoc-plugin-missing-exports":"^1.0.0","typescript":"^4.9.4"},"types":"dist/src/index.d.ts","moduleFileExtensions":["ts","tsx","js"],"gitHead":"f7c49f4f5469d1eb9974fb8bc51bc32494655dd9","homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@3.1.0","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-I5G1m+LGz2q0hBy12jld1Bqw/0rEh2cRMZDAkBpGBeQm3rt49vY7SCQgnI4Yn88E+mHhMNiFUjiiLrWlUXRxsA==","shasum":"186733e8691aeebdd5f0a4e75e8a9ab74fcfc681","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-3.1.0.tgz","fileCount":33,"unpackedSize":200268,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC0oCLfVngP6EfwU9YZp7+1rnPtaHqCP7JpcwItlTg3NgIgFJFKdQyhoZEoWZR8wkKzI/KcQkvCHFLb56qc1W3055Q="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj9KV8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpsgBAAn4ehtxbwaUlJFmECmzX4xoPfDzdUxs7fib9KJPsd27OkbLAZ\r\ngt8vdsUwzr/XmL9+wPhe8/5kDSVtuwZiL2GHnP2IUR/VScmePm1CrvmFb8Gg\r\nG26IBrmLzRAwxaZa8QC6uKT0dM1GKS80tbbjuu2x07hmz3RismBho6x1YCYr\r\nkj3+qFNm44neICLmwyWB8IrInh3lI9DAg4nRF4OQ1Br4SN5jEGBDJegVMO9W\r\nYvIwq9BuxaFulknrWuk1kEXJC/Uy50wzKZhesQOsA/Z196/kJzJ23xBMOUsN\r\nhMyZ0u45S9ajtX8uIoRELX3V2WisPcRmvtWv+RrENmKV+7oyxAqXeN3Fxged\r\nzi5/Y53qtPf18Aaj+tpcXejV+ZrOO/Ldxgzpkh76zgScbxFZc/IFnJnMdwKu\r\nyrA9UWpEUxQeromfD7KhAzIiIh9khQ4invizDSIYEqBcK5amYLrzbiWyc5XW\r\n89kkdVzBK7veLTiTZ4mn3jRY4vuVaQ/sS83PDB0aFLUZf2f5kCAu8USh6RMp\r\ns6IgMNQ9nkWAEbTJtveUpJ6qiqKIMQHO56AR++10n7t/jz3OIqwXic5pmwE7\r\n/5favQlomdaZzSiv8+DHwGOCztUPsv9f9MIFU3b3Hn4vjLT6SGh5px7nxMHO\r\nloN46C3W0iAsd/6XoJCOPUNCmHSWr8nVt7k=\r\n=6Zpj\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"directories":{},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_3.1.0_1676977531796_0.9074524153709311"},"_hasShrinkwrap":false},"3.1.1":{"private":false,"name":"curve-interpolator","version":"3.1.1","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["cubic","cardinial","catmull-rom","curve","interpolate","interpolator","spline","analysis"],"scripts":{"prebuild":"rimraf dist","build":"rollup -c","prepub":"npm run build","pub":"npm publish --access=public","test":"mocha","test:watch":"mocha --reporter min --watch --watch-extensions ts","predocs":"rimraf docs","docs":"typedoc --out docs src/index.ts","postdocs":"copyfiles _config.yml docs","lint":"eslint . --ext .ts","lint:fix":"eslint . --ext .ts --fix"},"main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.js","devDependencies":{"@rollup/plugin-node-resolve":"^15.0.1","@rollup/plugin-terser":"^0.2.1","@rollup/plugin-typescript":"^10.0.1","@types/chai":"^4.2.14","@types/mocha":"^5.2.7","@types/sinon":"^10.0.13","@typescript-eslint/eslint-plugin":"^5.48.0","@typescript-eslint/parser":"^5.48.0","chai":"^4.3.7","copyfiles":"^2.4.1","eslint":"^8.31.0","eslint-import-resolver-typescript":"^3.5.2","mocha":"^10.2.0","rimraf":"^3.0.2","rollup":"^3.9.1","sinon":"^15.0.1","ts-node":"^10.9.1","typedoc":"^0.23.23","typedoc-plugin-missing-exports":"^1.0.0","typescript":"^4.9.4"},"types":"dist/src/index.d.ts","moduleFileExtensions":["ts","tsx","js"],"gitHead":"3185239f84e2ec10b1b5e2270a12aa2926370d28","homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@3.1.1","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-Pn0sjZbJ/bZT0hxtLtU7AsbNGsKROGQEF5VShIQetvCM84MsmAso8CSsOWECbY/js4EnV7IURbKGiUwELyYv0w==","shasum":"48841fd0843d2c8b26d2cbdabddec0939075c563","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-3.1.1.tgz","fileCount":33,"unpackedSize":200238,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFc6rkSw+PKmvjEJim1vkVrel20g9hUYajgO+cH+YTUwAiBhfMCUdiTgGi7MIQ9kNhOmLOzFoAbkvTHfFIQthCrG5A=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj+I/yACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrlBg/+Lbn1OUDGtLVUYHu+miZZoj7JC1Pfvlqh3FOrnBhZuEgu+Ssp\r\nhbRwFKaY5qxYlIUOrSBmmXxcavvWYP20BcAx4clmrAkVofB91YJkX5THUlfp\r\nBXylTsgYDuvQw7GQ5UwXuIGsey35j5TWNudDt0JLB/T8lyMgq3fGbxRvBsFM\r\n1RtXbvCY5VWpWWXUKRC8ghjyRglPTIGo9dxOyV2lxcw/W8ShzOdBXjupc3ug\r\nhHmUsPTwtScb0VoAXQSoJ8kmhK1woMBjrlskq4scuVvGji1X7jwTXfv+yhUQ\r\nArodFTUwq9osFoi3MR57+WB+UtS7Y3OD7RuEEt76mu7UFB7k1K5j+/hwFfFp\r\nsG9wmz66vrgn6YB+MAkiWsQOZbuJUV4MphYHBXulEIgeyyFzBtLlvwwaE8FW\r\nzyOb40U1CsnM2bZVM69QAfyBVnf1IinNJYDGYAal7/MPIgZl0yLnF4UErMg0\r\nJ7jlqa8qJ634dUVV7+ewxqInuflLN05af+MuVye+PF5N4L3uLQsXYPd/KfpH\r\nD/29vRdpWIptwgcsDb8gAhVMWwbeb1WHmxSe6DmoRz2bHE0cj2vW/CVLnyQT\r\nHqlDEFLHgrs39wY/LJCIPdYpkEhxYaWYXty+8CPjPReO1HVuNzCDEgNXJ9qn\r\nBSukywAfKKURmKnizK4Ubl2chquANjHHWVc=\r\n=I07G\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"directories":{},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_3.1.1_1677234162485_0.11228664819985235"},"_hasShrinkwrap":false},"3.2.0":{"private":false,"name":"curve-interpolator","version":"3.2.0","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["cubic","cardinial","catmull-rom","curve","interpolate","interpolator","spline","analysis"],"scripts":{"prebuild":"rimraf dist","build":"rollup -c","prepub":"npm run build","pub":"npm publish --access=public","test":"mocha","test:watch":"mocha --reporter min --watch --watch-extensions ts","predocs":"rimraf docs","docs":"typedoc --out docs src/index.ts","postdocs":"copyfiles _config.yml docs","lint":"eslint . --ext .ts","lint:fix":"eslint . --ext .ts --fix"},"main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.js","devDependencies":{"@rollup/plugin-node-resolve":"^15.0.1","@rollup/plugin-terser":"^0.2.1","@rollup/plugin-typescript":"^10.0.1","@types/chai":"^4.2.14","@types/mocha":"^5.2.7","@types/sinon":"^10.0.13","@typescript-eslint/eslint-plugin":"^5.48.0","@typescript-eslint/parser":"^5.48.0","chai":"^4.3.7","copyfiles":"^2.4.1","eslint":"^8.31.0","eslint-import-resolver-typescript":"^3.5.2","mocha":"^10.2.0","rimraf":"^3.0.2","rollup":"^3.9.1","sinon":"^15.0.1","ts-node":"^10.9.1","typedoc":"^0.23.23","typedoc-plugin-missing-exports":"^1.0.0","typescript":"^4.9.4"},"types":"dist/src/index.d.ts","moduleFileExtensions":["ts","tsx","js"],"gitHead":"ee451640b2e98f4b220054089423645e4d1b72a9","homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@3.2.0","_nodeVersion":"16.19.1","_npmVersion":"9.6.5","dist":{"integrity":"sha512-eLxHGhV4pVepXhfvhwdKGVKOlF7aF0JtWOEzbqkHJkhhqtGfsk2nzqe0lnh6x4eEy6dXzbz/hXzHSa9ND4g0VQ==","shasum":"cd7050f65b752d366ed508c126cc20df759f28bd","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-3.2.0.tgz","fileCount":33,"unpackedSize":208542,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF77l6TkSezdB8KGWq1diEdc3uOyiGNXrhNnlXhMr4dDAiEAlJYd9wsz+2VqyZ83vO2lMU7YgGLCTYGikM5lvXXGM1g="}]},"_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"directories":{},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_3.2.0_1695040349423_0.26528790588277396"},"_hasShrinkwrap":false},"3.3.0":{"private":false,"name":"curve-interpolator","version":"3.3.0","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["cubic","cardinial","catmull-rom","curve","interpolate","interpolator","spline","analysis"],"scripts":{"prebuild":"rimraf dist","build":"rollup -c","prepub":"npm run build","pub":"npm publish --access=public","test":"mocha","test:watch":"mocha --reporter min --watch --watch-extensions ts","predocs":"rimraf docs","docs":"typedoc --out docs src/index.ts","postdocs":"copyfiles _config.yml docs","lint":"eslint . --ext .ts","lint:fix":"eslint . --ext .ts --fix"},"main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.js","devDependencies":{"@rollup/plugin-node-resolve":"^15.0.1","@rollup/plugin-terser":"^0.2.1","@rollup/plugin-typescript":"^10.0.1","@types/chai":"^4.2.14","@types/mocha":"^5.2.7","@types/sinon":"^10.0.13","@typescript-eslint/eslint-plugin":"^5.48.0","@typescript-eslint/parser":"^5.48.0","chai":"^4.3.7","copyfiles":"^2.4.1","eslint":"^8.31.0","eslint-import-resolver-typescript":"^3.5.2","mocha":"^10.2.0","rimraf":"^3.0.2","rollup":"^3.9.1","sinon":"^15.0.1","ts-node":"^10.9.1","typedoc":"^0.23.23","typedoc-plugin-missing-exports":"^1.0.0","typescript":"^4.9.4"},"types":"dist/src/index.d.ts","moduleFileExtensions":["ts","tsx","js"],"gitHead":"34b3b2b66a685c8338598f112b6c20c6b7e33790","homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@3.3.0","_nodeVersion":"16.19.1","_npmVersion":"9.6.5","dist":{"integrity":"sha512-48szOzS4r5pz7IRb3hCXADYnRLO78hM9WEAjYpDFfKxwVMC4Ni9ZtTLnfEWgsQYsK6IUchTaClKCS+KgkiK9Hw==","shasum":"ec313dfcfd2b06c72bdfc68b1fa0554d3a36e34f","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-3.3.0.tgz","fileCount":30,"unpackedSize":189044,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4DN7UzJ4yrwjnO18/jxJnRwmWomR7+4MVy2kf5gWuaQIgN21GyXAUXigyP87fz7IvT55EX6uQ2BnAfHGlboB//rU="}]},"_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"directories":{},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_3.3.0_1695116882391_0.8419385602570437"},"_hasShrinkwrap":false},"3.3.1":{"private":false,"name":"curve-interpolator","version":"3.3.1","description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"author":{"name":"Kjerand Pedersen"},"license":"MIT","keywords":["cubic","cardinial","catmull-rom","curve","interpolate","interpolator","spline","analysis"],"scripts":{"prebuild":"rimraf dist","build":"rollup -c","prepub":"npm run build","pub":"npm publish --access=public","test":"mocha","test:watch":"mocha --reporter min --watch --watch-extensions ts","predocs":"rimraf docs","docs":"typedoc --out docs src/index.ts","postdocs":"copyfiles _config.yml docs","lint":"eslint . --ext .ts","lint:fix":"eslint . --ext .ts --fix"},"main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.js","devDependencies":{"@rollup/plugin-node-resolve":"^15.0.1","@rollup/plugin-terser":"^0.2.1","@rollup/plugin-typescript":"^10.0.1","@types/chai":"^4.2.14","@types/mocha":"^5.2.7","@types/sinon":"^10.0.13","@typescript-eslint/eslint-plugin":"^5.48.0","@typescript-eslint/parser":"^5.48.0","chai":"^4.3.7","copyfiles":"^2.4.1","eslint":"^8.31.0","eslint-import-resolver-typescript":"^3.5.2","mocha":"^10.2.0","rimraf":"^3.0.2","rollup":"^3.9.1","sinon":"^15.0.1","ts-node":"^10.9.1","typedoc":"^0.23.23","typedoc-plugin-missing-exports":"^1.0.0","typescript":"^4.9.4"},"types":"dist/src/index.d.ts","moduleFileExtensions":["ts","tsx","js"],"gitHead":"f7e32e0616d8eefa361ec3ce339a00054c2ce4c1","homepage":"https://github.com/kjerandp/curve-interpolator#readme","_id":"curve-interpolator@3.3.1","_nodeVersion":"16.19.1","_npmVersion":"9.6.5","dist":{"integrity":"sha512-Kz2LSLDupqPPKXbLUp0EJX1c+wK4OzHS0fOno8hd9G2ejR0ZhuvF3VKKeBs/zDRufzYRN2D7zfQxDsqcEr7+Jg==","shasum":"8828e9ddc8e466682499a1b26e3df5c6feb5b72a","tarball":"https://registry.npmjs.org/curve-interpolator/-/curve-interpolator-3.3.1.tgz","fileCount":30,"unpackedSize":189538,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICuWasEP97KHVl1yYAlCEB2BjqFiDxb0EVpIUNQI/UrEAiA6ANZ7tt2pZ9MgZh4jUN/jL3Raugv9XcE/hOjh4phRLA=="}]},"_npmUser":{"name":"kjerandp","email":"kjerandp@lyse.net"},"directories":{},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curve-interpolator_3.3.1_1700644247220_0.02723088627569248"},"_hasShrinkwrap":false}},"time":{"created":"2018-03-13T10:41:14.477Z","0.1.0":"2018-03-13T10:41:14.603Z","modified":"2023-11-22T09:10:47.629Z","0.1.1":"2018-03-13T12:37:36.067Z","0.1.2":"2018-03-14T13:00:45.391Z","0.1.3":"2018-03-14T13:14:03.369Z","0.1.4":"2018-03-14T13:52:35.755Z","0.2.0":"2018-03-23T18:37:07.476Z","0.2.1":"2018-04-27T13:32:05.987Z","0.2.2":"2018-04-30T08:44:14.594Z","0.2.3":"2018-05-31T21:53:10.651Z","1.0.0-alpha":"2019-11-21T23:47:32.202Z","1.0.0-alpha2":"2019-11-22T14:33:30.997Z","1.0.0-alpha.2":"2019-11-22T14:39:11.905Z","1.0.0-alpha.3":"2019-11-22T15:05:22.495Z","1.0.0":"2019-11-23T09:51:18.907Z","1.0.1":"2019-11-24T12:20:53.476Z","1.0.2":"2019-11-24T14:38:59.239Z","1.0.3":"2019-11-24T15:18:26.886Z","1.0.4":"2019-11-24T15:44:04.934Z","1.0.5":"2019-11-25T09:26:35.947Z","1.0.6":"2020-01-06T12:20:06.535Z","2.0.0-alpha.1":"2020-03-02T09:26:06.956Z","2.0.0-alpha.2":"2020-03-02T09:35:46.603Z","2.0.0-alpha.3":"2020-03-02T09:54:07.209Z","2.0.0-alpha.4":"2020-03-02T09:58:35.657Z","2.0.0-alpha.5":"2020-03-03T21:34:33.130Z","2.0.0-alpha.6":"2020-03-03T23:20:54.810Z","2.0.0-alpha.7":"2020-03-03T23:33:39.416Z","2.0.0-alpha.8":"2020-03-04T09:24:39.702Z","2.0.0-alpha.9":"2020-03-04T14:25:05.702Z","2.0.0-alpha.10":"2020-03-04T14:44:38.555Z","2.0.0-alpha.11":"2020-03-06T09:20:21.935Z","2.0.0-alpha.12":"2020-03-06T10:47:20.919Z","2.0.0":"2020-03-16T19:19:45.027Z","2.0.1":"2020-03-16T19:30:37.757Z","2.0.2":"2020-03-16T19:38:44.087Z","2.0.3":"2020-04-17T12:14:51.158Z","2.0.4":"2020-04-17T12:32:15.725Z","2.0.5":"2020-04-27T20:29:49.215Z","2.0.6":"2020-04-27T21:53:14.815Z","2.0.7":"2020-05-12T15:05:57.514Z","2.0.8":"2020-06-05T13:31:57.906Z","3.0.0":"2023-01-06T11:09:12.827Z","3.0.1":"2023-01-10T10:39:54.800Z","3.1.0-beta.1":"2023-01-27T12:20:52.755Z","3.1.0-beta.2":"2023-01-31T08:53:57.093Z","3.1.0-beta.3":"2023-02-15T13:21:12.453Z","3.1.0-beta.4":"2023-02-17T21:43:28.838Z","3.1.0-beta.5":"2023-02-20T18:00:49.187Z","3.1.0-beta.6":"2023-02-21T10:19:52.355Z","3.1.0":"2023-02-21T11:05:31.979Z","3.1.1":"2023-02-24T10:22:42.570Z","3.2.0":"2023-09-18T12:32:29.662Z","3.3.0":"2023-09-19T09:48:02.720Z","3.3.1":"2023-11-22T09:10:47.456Z"},"maintainers":[{"name":"kjerandp","email":"kjerandp@lyse.net"}],"description":"Interpolate values on a Cardinal/Catmull-Rom spline curve","homepage":"https://github.com/kjerandp/curve-interpolator#readme","keywords":["cubic","cardinial","catmull-rom","curve","interpolate","interpolator","spline","analysis"],"repository":{"type":"git","url":"git+https://github.com/kjerandp/curve-interpolator.git"},"author":{"name":"Kjerand Pedersen"},"bugs":{"url":"https://github.com/kjerandp/curve-interpolator/issues"},"license":"MIT","readme":"![](https://github.com/kjerandp/curve-interpolator/workflows/Node%20CI/badge.svg)\n![](https://img.shields.io/npm/v/curve-interpolator)\n# Curve Interpolator\n\nA lib for interpolating values over a cubic Cardinal/Catmull-Rom spline curve of n-dimenesions.\n\n## Installation\n```bash\nnpm install --save curve-interpolator\n```\n## Basic usage\nReference the CurveInterpolator class:\n```js\n// commonjs\nconst CurveInterpolator = require('curve-interpolator').CurveInterpolator;\n\n// es6\nimport { CurveInterpolator } from 'curve-interpolator';\n\n```\n\nDefine controlpoints you want the curve to pass through and pass it to the constructor of the CurveInterpolator to create an instance:\n\n```js\nconst points = [\n  [0, 4],\n  [1, 2],\n  [3, 6.5],\n  [4, 8],\n  [5.5, 4],\n  [7, 3],\n  [8, 0],\n  ...\n];\n\nconst interp = new CurveInterpolator(points, { tension: 0.2, alpha: 0.5 });\n\n// get single point\nconst position = 0.3 // [0 - 1]\nconst pt = interp.getPointAt(position)\n\n// get points evently distributed along the curve\nconst segments = 1000;\nconst pts = interp.getPoints(segments);\n\n// lookup values along x and y axises\nconst axis = 1;\nconst yintersects = interp.getIntersects(7, axis);\n\n/*\nmax number of solutions (0 = all (default), 1 = first, -1 = last)\nA negative max value counts solutions from end of curve\n*/\nconst axis = 0;\nconst max = -1;\nconst xintersects = interp.getIntersects(3.2, axis, max);\n\n// get bounding box\nconst bbox = interp.getBoundingBox();\n```\n\nOnline example on ObservableHQ:\n- https://observablehq.com/@kjerandp/curve-interpolator-demo\n\n## Docs\nDocs are generated using typedoc in `./docs`. To create:\n```bash\nnpm run docs\n```\nOnline: https://kjerandp.github.io/curve-interpolator/\n\n## License\nMIT\n","readmeFilename":"README.md","users":{}}