{"_id":"@empirica/random-dot-kinematogram","_rev":"5-7599c58395458393bea18c0d3d0fb2ad","name":"@empirica/random-dot-kinematogram","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@empirica/random-dot-kinematogram","version":"1.0.0","description":"Animated directed dots stimulus for the Empirica experiment platform.","main":"index.js","scripts":{"build":"babel src --out-file index.js","test":"echo \"Error: no test specified\" && exit 1","publish":"npm publish --access public"},"repository":{"type":"git","url":"git+https://github.com/empiricaly/random-dot-kinematogram.git"},"keywords":["empirica","empiricaly","stimulus","dots","p5","react"],"author":{"name":"Nicolas Paton","email":"nicolas.paton@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/empiricaly/random-dot-kinematogram/issues"},"homepage":"https://github.com/empiricaly/random-dot-kinematogram#readme","devDependencies":{"@babel/cli":"^7.7.5","@babel/core":"^7.7.5","@babel/preset-env":"^7.7.6","@babel/preset-react":"^7.7.4"},"dependencies":{"p5":"^0.10.2","prop-types":"^15.7.2","react-p5-wrapper":"^2.0.0"},"peerDependencies":{"react":"^16.5.2","react-dom":"^16.5.2"},"_id":"@empirica/random-dot-kinematogram@1.0.0","_nodeVersion":"12.10.0","_npmVersion":"6.10.3","dist":{"integrity":"sha512-39+IANEr42rrd8RMst//81KPGj+/uitp7X2mBNzfaa3K7RBMUlYm4OWaVcixfccXYFhG2rHEIBtD/etrKLfRZA==","shasum":"25061e9094b58f52cc2262af962f9c35073a77d6","tarball":"https://registry.npmjs.org/@empirica/random-dot-kinematogram/-/random-dot-kinematogram-1.0.0.tgz","fileCount":5,"unpackedSize":13323,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd9P6WCRA9TVsSAnZWagAAYjsP/0gFmL9f6JAaPeBdWVrO\nEDzNm4kCn5RgPuHXQ2268M5zcsnysBuoJ1eWbcyEAQ53PCc0GtMWKd3SqmAf\nfZLBiJtu/NTLRISHgAWee8ys20Sv9cWGRoDnq8Tl/yS+N4lGHpTcBLU6CGA5\n7zUZvnrsgf+um/z9YCU7FoOEQUJZtX/Vrd2KdYz9tfLZ0e53TXYn2IGzf59+\nmGmOtERw0uYGWOhAe5Y3+K5pAwJamCv2mDSP4im/aKEytgJkHPfZqAM02GTu\npgdqYCY0bDMTXMbZ4EPk9DZw8b8EwqHlPbJmYNLRs9gVfx/xDrw0syH7mRc2\nDHOAwJbLLyGmZM2KFLkgDnjShS1Kjzr1v+4BGUrw5oZw+8c8q+r5Hnb1RRUI\nY2+9LDMhcStoEAoh2YYIettjP7YfJEJ/TgLgO/pCm8RaHUn3lwKaEVfERCjl\nLTEt8dqE/TeceCwj2Y1dr/NonvpgcggKbmgv0G8RhdaoP2Yw8BWZlNyGm/w4\nfYyoDdnBjJ+gSQ2g+A0g05AR7FXXXkR80pd3rRGKduvrM9z7yTfygm3UimUk\n0nHG+fuxmY3y49/ae8OdsN1dgfW9lLkNKhj0NNqHDFq+v4Z9rwq2FYgJX8YJ\n1BDiWJQkszCqrnN/qJ6fd7VoD4uhNuOen86KfcxjO/j87anvWw9mHV/BkkQ1\nEFto\r\n=OKxm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJloeQRnfts1PAzRFuIOLKAv/h6hwMJbMvKJVsO59NXAIgbKC9Tz84M08/r5zYvSmoX8WDId0t0UA655xqI3RxWCQ="}]},"maintainers":[{"name":"hardisp","email":"jiksdi12@gmail.com"},{"name":"amaatouq","email":"amaatouq@gmail.com"},{"name":"npaton","email":"nicolas.paton@gmail.com"}],"_npmUser":{"name":"npaton","email":"nicolas.paton@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/random-dot-kinematogram_1.0.0_1576337045875_0.5118672277125016"},"_hasShrinkwrap":false},"1.0.1":{"name":"@empirica/random-dot-kinematogram","version":"1.0.1","description":"React component of a Random Dot Kinematogram for the Empirica experiment platform.","main":"index.js","scripts":{"build":"babel src --out-file index.js","test":"echo \"Error: no test specified\" && exit 1","publish":"npm publish --access public"},"repository":{"type":"git","url":"git+https://github.com/empiricaly/random-dot-kinematogram.git"},"keywords":["empirica","empiricaly","stimulus","dots","p5","react"],"author":{"name":"Nicolas Paton","email":"nicolas.paton@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/empiricaly/random-dot-kinematogram/issues"},"homepage":"https://github.com/empiricaly/random-dot-kinematogram#readme","devDependencies":{"@babel/cli":"^7.7.5","@babel/core":"^7.7.5","@babel/preset-env":"^7.7.6","@babel/preset-react":"^7.7.4"},"dependencies":{"p5":"^0.10.2","prop-types":"^15.7.2","react-p5-wrapper":"^2.0.0"},"peerDependencies":{"react":"^16.5.2","react-dom":"^16.5.2"},"gitHead":"c0fa301549728ba8caa853195920ddbaa08de564","_id":"@empirica/random-dot-kinematogram@1.0.1","_nodeVersion":"12.10.0","_npmVersion":"6.10.3","dist":{"integrity":"sha512-3gvh/K58SduQdBLe5Q59buq4spLvDcpogDe0d+1J/2LeVa/LBkhXl+JrgxTlzQRpNrUXbB8hBOXlMxZ74kDdSw==","shasum":"47f4ff9effb8f569085e222ccebfd36f2512e302","tarball":"https://registry.npmjs.org/@empirica/random-dot-kinematogram/-/random-dot-kinematogram-1.0.1.tgz","fileCount":6,"unpackedSize":14414,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd9SDyCRA9TVsSAnZWagAAVZsP/3wJg/aH0Ud8Y6TEjKN9\npoJC7/7arric8284KLcypC72eDbA4NIJWR2sZDmJKTeagiusE1LVgfvbfJ7n\nJDtheZU7qWd9fI3vKTvTskk8BWcmTq83WKFTMiPDZWHMN0AUmYBSxCeaPWQU\nctsKXpxZt7e/Sm0G+0NDQXBBgMApuktWmyYE0A6L43s9ta+IG4lshXbHwBA+\nfhEJJgmHT55YBoy/1g5f0WakJbFIV+Ql80V99ywfXV/JIEtvGnilFoflsO48\n31L1CKowpIyy+PETwx3pBLsTSdctbJqRwCwh5sxoOFP0Vck43wxoZqWezwCl\nZ0VJbHRqHuyNLNdS1Nusj0isbPK+t4F5Qu092GrZs8p/2uuyyOkw59DQH9o7\n2KgOvZECYugRA6BSRs6o0RL9+qcgUnGv+qPU8UjVDUNhRCan7OQIogltpOGO\nhgx5CJpLue4GElDJC+aT659aa4T11HTGhrpaVF61bQgxwB1TCLIKtnJ37hP5\njmJ/z+C5yqM+R8zZXJcqw9Jm1TdZ1mGCJbmJOTzsX9QIhKuttP4y8HDNQzmL\nb75oNY6h3A/HIJSe6aZGZSz+ygCGNfVjsPsP1iloFxcwaS5zGDzfMoRSa7T/\nY0D7WpKTS7+0iQJFYdIysx7cAKk35SQyn2pVb48+zGaLH8xTBF9LfzZaTzLg\nHtFf\r\n=PFcy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJtb2sGu79pD+bYvk9HqfnBOoGidTV3XXsRtOdLjAgOQIgY6OpfvwIsPc7W4/fdVcqgVbmm5+bTp5b0hkGkFiEHgA="}]},"maintainers":[{"name":"amaatouq","email":"amaatouq@gmail.com"},{"name":"hardisp","email":"jiksdi12@gmail.com"},{"name":"npaton","email":"nicolas.paton@gmail.com"}],"_npmUser":{"name":"npaton","email":"nicolas.paton@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/random-dot-kinematogram_1.0.1_1576345841978_0.4330894802787275"},"_hasShrinkwrap":false}},"time":{"created":"2019-12-14T15:24:05.656Z","1.0.0":"2019-12-14T15:24:06.159Z","modified":"2022-04-05T07:35:58.109Z","1.0.1":"2019-12-14T17:50:42.083Z"},"maintainers":[{"email":"nicolas.paton@gmail.com","name":"npaton"},{"email":"amaatouq@gmail.com","name":"amaatouq"},{"email":"jiksdi12@gmail.com","name":"hardisp"},{"email":"hubertus.putu1@gmail.com","name":"hubertus.putu1"}],"description":"React component of a Random Dot Kinematogram for the Empirica experiment platform.","homepage":"https://github.com/empiricaly/random-dot-kinematogram#readme","keywords":["empirica","empiricaly","stimulus","dots","p5","react"],"repository":{"type":"git","url":"git+https://github.com/empiricaly/random-dot-kinematogram.git"},"author":{"name":"Nicolas Paton","email":"nicolas.paton@gmail.com"},"bugs":{"url":"https://github.com/empiricaly/random-dot-kinematogram/issues"},"license":"MIT","readme":"# Random Dot Kinematogram\n\nThis package contains a React component for a [Random Dot\nKinematogram](http://www.georgemather.com/MotionDemos/RDKQT.html) (RDK) build\nwith the [P5 library](https://p5js.org/).\n\nIn RDKs, a certain percentage of dots are designated as “signal” to move in one\ncoherent direction, and the remaining percentage of dots are designated as\n“noise” to move in random directions.\n\n## Usage\n\nSimply add the `<RDK>` component to your React tree.\n\n```js\nimport RDK from \"@empirica/random-dot-kinematogram\";\n\n//...\n\n<RDK coherence={0.5} direction=\"right\" />;\n```\n\nRDK expects 2 props:\n\n- direction: \"right\" or \"left\" for the direction the signal\n- coherence: a value between 0 (incoherent) and 1 (coherent) for the noise\n\n## Credits\n\nThis package is based on the work of @josephbb. Thank you @josephbb for\nallowing us to share your work with the community.\n","readmeFilename":"Readme.md"}