{"_id":"@0b5vr/tweakpane-plugin-rotation","_rev":"4-e1973a012b8cdec4e3598cd5f0c83ac6","name":"@0b5vr/tweakpane-plugin-rotation","dist-tags":{"latest":"0.2.0"},"versions":{"0.0.1":{"name":"@0b5vr/tweakpane-plugin-rotation","version":"0.0.1","description":"3D rotation input plugin for Tweakpane","main":"dist/tweakpane-plugin-rotation.js","types":"types/index.d.ts","author":{"name":"0b5vr"},"license":"MIT","scripts":{"prepare":"run-s clean build","version":"yarn build","start":"npm run watch","assets":"run-s clean build assets:version assets:zip","assets:version":"node scripts/assets-append-version.js","assets:zip":"zip -x \"*types*\" -j -r $(cat package.json | npx json name)-$(cat package.json | npx json version).zip dist","clean":"rimraf dist/ types/ ts*/","build":"run-p build:*","build:dev":"rollup --config rollup.config.js","build:prod":"rollup --config rollup.config.js --environment BUILD:production","build:types":"tsc --declaration --declarationDir ./types --emitDeclarationOnly && downlevel-dts types ts3.4/types","watch":"run-p watch:*","watch:sass":"onchange --initial --kill \"src/sass/**/*.scss\" -- npm run build:dev","watch:ts":"onchange --initial --kill \"src/**/*.ts\" -- rollup --config rollup.config.js"},"devDependencies":{"@rollup/plugin-alias":"^3.1.2","@rollup/plugin-node-resolve":"^13.0.0","@rollup/plugin-replace":"^2.4.1","@rollup/plugin-typescript":"^8.2.0","@tweakpane/core":"^1.0.8","@typescript-eslint/eslint-plugin":"^4.15.2","@typescript-eslint/parser":"^4.15.2","autoprefixer":"^10.2.4","downlevel-dts":"^0.7.0","eslint":"^7.20.0","eslint-plugin-sort-imports-es6-autofix":"^0.6.0","node-sass":"^6.0.0","npm-run-all":"^4.1.5","onchange":"^7.1.0","postcss":"^8.2.6","rimraf":"^3.0.2","rollup":"^2.39.1","rollup-plugin-cleanup":"^3.2.1","rollup-plugin-terser":"^7.0.2","tweakpane":"^3.0.7","typescript":"^4.1.5"},"peerDependencies":{"tweakpane":"^3.0.7"},"gitHead":"4cf88bcfc70ad0dd47683b5999c6ef170037b310","_id":"@0b5vr/tweakpane-plugin-rotation@0.0.1","_nodeVersion":"16.11.1","_npmVersion":"8.0.0","dist":{"integrity":"sha512-Ga6FmuAKGmhbaiAnsKC7IXzwvyfahRg8h5XK301pPVM6EvPSYjj7CV9NICu8mVZgekBl2k8QHALTBqTJAoubTw==","shasum":"3194bae6fa9430278d399383fcca1c9c66ec8d41","tarball":"https://registry.npmjs.org/@0b5vr/tweakpane-plugin-rotation/-/tweakpane-plugin-rotation-0.0.1.tgz","fileCount":77,"unpackedSize":175150,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh+2LpCRA9TVsSAnZWagAAzJ8QAIm0VXEPbM7UCeqstZQa\nVV3fNyV3YU3DOABhQGp0/OoMZvZK7Z9MBXbWBDodhEZFFoYuZVdd8lQg8TFf\nXBwMJRNWh4vRj/ZRNYwqQd93ouysmN1SvsdFUz5prC73RlDiVIUJfJS1Rqx8\nLn0KHbFxeLraWJkn8O+zTuB/h0Tgf0dVVUi/ne8iu6EX5TtQNV5bpWFIYMj7\nhkwrUtEonOByjQyhWxEYG1aW9Lkf4AV3TT+JYDgC9QLh1HnGdB1PnMtyPito\nQU7VM0Gy8ApHq5ACsCTEuw1ciifoiOc30zKL3hmfPnOdY5drTKq2X9uoL6P8\nW2GTRVkzivKvA4la7+47/kaLgRsOcHJwLWPrSEuxQLrSx6qeNFs6xZy8Uh6W\nCtn3fnPeV8VzmjQCsHT8/KKjAe9p3JpqqMVtOLoVP0sE8yjfVJHtzq0dlfjU\nUE1tg937dhCGx2/MT8iwNPMGf7vAhK6fykdp94pzukvA3GTnCvDhvePXZbwz\ngA5QPRXrEU3hVS6I2BQooC9r49vPps+A5Q+s+8KZzDfKyWDUdaNnjaonJIsY\nVumCWrGTiz9Hbj+C3k4QTUZ9JKf17kuee9etoAbTTwE9GUZ93INXf2yw1rUK\nZVLAkPoIUBFDdlbM0vEoKWjiI0SWYHrjkGw9I77Xzxn+3vJdOw6HBaH7h9zk\nH7Ah\r\n=m0Ck\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIER5jYLclv9coGi5vrfcmkwmSm4HcsGJmBODgVR/6uPwAiEAkapfCEGTqX2TTGMQuPaMaDTJPqMvsjK3qup8Z0o8Z4M="}]},"_npmUser":{"name":"0b5vr","email":"0b5vr@0b5vr.com"},"directories":{},"maintainers":[{"name":"0b5vr","email":"0b5vr@0b5vr.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tweakpane-plugin-rotation_0.0.1_1643864809509_0.4374934374626749"},"_hasShrinkwrap":false},"0.1.0":{"name":"@0b5vr/tweakpane-plugin-rotation","version":"0.1.0","description":"3D rotation input plugin for Tweakpane","main":"dist/tweakpane-plugin-rotation.js","types":"types/index.d.ts","author":{"name":"0b5vr"},"license":"MIT","scripts":{"prepare":"run-s clean build","version":"yarn build","start":"npm run watch","assets":"run-s clean build assets:version assets:zip","assets:version":"node scripts/assets-append-version.js","assets:zip":"zip -x \"*types*\" -j -r $(cat package.json | npx json name)-$(cat package.json | npx json version).zip dist","clean":"rimraf dist/ types/ ts*/","build":"run-p build:*","build:dev":"rollup --config rollup.config.js","build:prod":"rollup --config rollup.config.js --environment BUILD:production","build:types":"tsc --declaration --declarationDir ./types --emitDeclarationOnly && downlevel-dts types ts3.4/types","watch":"run-p watch:*","watch:sass":"onchange --initial --kill \"src/sass/**/*.scss\" -- npm run build:dev","watch:ts":"onchange --initial --kill \"src/**/*.ts\" -- rollup --config rollup.config.js"},"devDependencies":{"@rollup/plugin-alias":"^3.1.2","@rollup/plugin-node-resolve":"^13.0.0","@rollup/plugin-replace":"^2.4.1","@rollup/plugin-typescript":"^8.2.0","@tweakpane/core":"^1.0.8","@typescript-eslint/eslint-plugin":"^4.15.2","@typescript-eslint/parser":"^4.15.2","autoprefixer":"^10.2.4","downlevel-dts":"^0.7.0","eslint":"^7.20.0","eslint-plugin-sort-imports-es6-autofix":"^0.6.0","node-sass":"^6.0.0","npm-run-all":"^4.1.5","onchange":"^7.1.0","postcss":"^8.2.6","rimraf":"^3.0.2","rollup":"^2.39.1","rollup-plugin-cleanup":"^3.2.1","rollup-plugin-terser":"^7.0.2","tweakpane":"^3.0.7","typescript":"^4.1.5"},"peerDependencies":{"tweakpane":"^3.0.7"},"gitHead":"45ff927e730c2632c399ba2854262b0f52401cc2","_id":"@0b5vr/tweakpane-plugin-rotation@0.1.0","_nodeVersion":"16.11.1","_npmVersion":"8.0.0","dist":{"integrity":"sha512-lrunqnqP+tbzlYQbp6TLFU7MXvdpBv6fxoPuyx1Xez8ER8+SmsiiTp6QgBuRtQASSxmW9FgH8/uh5VEysYHTNw==","shasum":"3fa315c9f7a3a4db63a67b9cdbda5e852fc5f16d","tarball":"https://registry.npmjs.org/@0b5vr/tweakpane-plugin-rotation/-/tweakpane-plugin-rotation-0.1.0.tgz","fileCount":97,"unpackedSize":209385,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/87rCRA9TVsSAnZWagAAgY0P/RwyLXYHKz02iUY5Lvxu\nZ2Xc6GLcObmBHdY1DDwUCcLBKwABRaNGwjCZVPumu964fW3ERaQ96YuQdIkn\n0mkTbcY/c+jez438O4EA+2L/BKKaKpvfY3+i9oXfH4Yq3c7vYyLLzPGKwDDI\nOX1fcZ0Tx3WgwDsCTfdHNuEeJJhetUqBs6+mCjYijaOeQNMeGCgvpgij4Jwe\n7kYkubRxOyxZRCaoVQU7qjwArZ4INVvvwSXXlneaRADk4outA0wnFi+ixSC0\n35kQ34LC2Xeyl/R0+3Wy2OTlGW3CFSCoAqtZimBS8ZmJco7jUoPmFLDAj3gf\nVoGZGgp2b0rdgl0+9d+tMfs0C4WPqqHxsD4GhBC0javpsiKrKBeHkVyeYGiJ\nvlTzX0fIyxh6OYpG7qBOxvLf2HhoxvduPe+JW9b60MDwONkWlLbg9XcDJORG\n/MMhhA6J4iLRjeMFXY7sHrj+s3ISmEiIeeiZzk7QQuuxqCwxQGoh9ic52eeW\nt8ddRCViRMx/fOOEkOCtzx/+3K7I8E942i7O4TMJqqJSiGk/k8+Prst/lEKf\nrKAjqyfKgcuPJmTHmkgvwdFAIhznrmYGSldVALMmBlZZ/Q1LLaj9pWcb1dr8\nQvMdHKf72TpweOJzInufwVN+IQG/JsmIUGE8y2eVmz+Rgp1eS+B7If9Mddab\n+zBj\r\n=/a7v\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCDM7PwJ2lp/HWbbvuESSVGHAo9GKGreOpbp6J7WgwxtQIgQl9obkqiqgz9cK7j8q8eygsuywvQdRuRmMEbomt4tNs="}]},"_npmUser":{"name":"0b5vr","email":"0b5vr@0b5vr.com"},"directories":{},"maintainers":[{"name":"0b5vr","email":"0b5vr@0b5vr.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tweakpane-plugin-rotation_0.1.0_1644154603668_0.6376479350679256"},"_hasShrinkwrap":false},"0.1.1":{"name":"@0b5vr/tweakpane-plugin-rotation","version":"0.1.1","description":"3D rotation input plugin for Tweakpane","main":"dist/tweakpane-plugin-rotation.js","types":"types/index.d.ts","author":{"name":"0b5vr"},"license":"MIT","scripts":{"prepare":"run-s clean build","version":"yarn build","start":"npm run watch","assets":"run-s clean build assets:version assets:zip","assets:version":"node scripts/assets-append-version.js","assets:zip":"zip -x \"*types*\" -j -r $(cat package.json | npx json name)-$(cat package.json | npx json version).zip dist","clean":"rimraf dist/ types/ ts*/","build":"run-p build:*","build:dev":"rollup --config rollup.config.js","build:prod":"rollup --config rollup.config.js --environment BUILD:production","build:types":"tsc --declaration --declarationDir ./types --emitDeclarationOnly && downlevel-dts types ts3.4/types","watch":"run-p watch:*","watch:sass":"onchange --initial --kill \"src/sass/**/*.scss\" -- npm run build:dev","watch:ts":"onchange --initial --kill \"src/**/*.ts\" -- rollup --config rollup.config.js"},"devDependencies":{"@rollup/plugin-alias":"^3.1.2","@rollup/plugin-node-resolve":"^13.0.0","@rollup/plugin-replace":"^2.4.1","@rollup/plugin-typescript":"^8.2.0","@tweakpane/core":"^1.0.8","@typescript-eslint/eslint-plugin":"^4.15.2","@typescript-eslint/parser":"^4.15.2","autoprefixer":"^10.2.4","downlevel-dts":"^0.7.0","eslint":"^7.20.0","eslint-plugin-sort-imports-es6-autofix":"^0.6.0","node-sass":"^6.0.0","npm-run-all":"^4.1.5","onchange":"^7.1.0","postcss":"^8.2.6","rimraf":"^3.0.2","rollup":"^2.39.1","rollup-plugin-cleanup":"^3.2.1","rollup-plugin-terser":"^7.0.2","tweakpane":"^3.0.7","typescript":"^4.1.5"},"peerDependencies":{"tweakpane":"^3.0.7"},"gitHead":"bf71a67ff950f4cef8a42b7c5958d5f97812ea99","_id":"@0b5vr/tweakpane-plugin-rotation@0.1.1","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-eF/5f/2v7iseG6/0UPHhQtf82z0DIdRZl8tfI7VgchUefYztkW8a3wiyG3Lphnf/hshnox7Cz52AN6/zsrbZlw==","shasum":"bad03d2d76626b6f4fef39029427f457cb07c898","tarball":"https://registry.npmjs.org/@0b5vr/tweakpane-plugin-rotation/-/tweakpane-plugin-rotation-0.1.1.tgz","fileCount":97,"unpackedSize":209393,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiE0uHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmps+Q//fib5JTbZ/IlGN7xe3ULaSJisAbjUzQgPCALsYeDG4oZ0k2d3\r\nNFW6koF3ZQZhtquPDMfGQ7sAVZVbHpIHjUAlK6q7LOhSjDdzByb1OM0j1m7J\r\nIj9IdrjhJnNxdhsQuGZyOkpbuI8ohcg4hZHi73jgqjRME/Frw6apQM+/SwFk\r\nlSjTWgtMaAXqa2Mw3ZOTX3GzVHF/xwP38TwHOaVoP9LoZYtGYuibb6MUoCjt\r\nLp64IwdNKeJocuMzp4VjZ3IqHBETNhoWdIi9EtZ8/s/D9oPY4yw5iEoRZTiN\r\nOSHrV8G/1YNhx4ktcDlZH6V38Autr5jXKcFgBPQbsvJeI7YHyo8z/2mDH5Ny\r\nqXBskfv65xzZidDaiwkrheXuGCqThE5oTwvyS7TUomuZ/96fMzx5u0hNJUrc\r\nVXv9qKw1LDkujvk25JRmFGWs+zoZnIItOrTXmnU39jvV8vDJfxsOG5/shz7Z\r\ncmsvWdaAfL515VbPL5uxWFqzOfIvoDABC+9qByqvzZjKPO7s65mStHcPGr/g\r\nR5QmtoHJedUBoKl+76ghrP0jIagnaHtgUJlGmId3a7jFElFesvpIkpCMZPLj\r\nDNf9glE/BbQoTYxgN3R+8qBxCbzsz9xFjyopfX7f8t5uDyOMlP55odBaNhzl\r\nV81RjYbLu/oObCkHK0uivPd0uHr7BoPFhuM=\r\n=+QQ2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCK7KT4r/Jate+9r2NkTv/l3PxwjHAZ8vL6f2zjZELTGgIhAM2sytjp8EceQkrpHCxhFYxs+z0EcxDy2pq+BAKIlvlS"}]},"_npmUser":{"name":"0b5vr","email":"0b5vr@0b5vr.com"},"directories":{},"maintainers":[{"name":"0b5vr","email":"0b5vr@0b5vr.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tweakpane-plugin-rotation_0.1.1_1645431687553_0.6552327284552211"},"_hasShrinkwrap":false},"0.2.0":{"name":"@0b5vr/tweakpane-plugin-rotation","version":"0.2.0","description":"3D rotation input plugin for Tweakpane","main":"dist/tweakpane-plugin-rotation.js","type":"module","types":"dist/types/index.d.ts","author":{"name":"0b5vr"},"license":"MIT","scripts":{"prepare":"run-s clean build","prepublishOnly":"npm test","start":"run-p watch server","test":"eslint --ext .ts \"src/**/*.ts\"","clean":"rimraf dist","build":"run-p build:*","build:dev":"rollup --config rollup.config.js","build:dts":"tsc --project src/tsconfig-dts.json","build:prod":"rollup --config rollup.config.js --environment BUILD:production","server":"http-server -c-1 -o /index.html","watch":"run-p watch:*","watch:sass":"onchange --initial --kill \"src/sass/**/*.scss\" -- npm run build:dev","watch:ts":"onchange --initial --kill \"src/**/*.ts\" -- rollup --config rollup.config.js"},"devDependencies":{"@rollup/plugin-alias":"^3.1.2","@rollup/plugin-node-resolve":"^13.0.0","@rollup/plugin-replace":"^2.4.1","@rollup/plugin-typescript":"^8.2.0","@tweakpane/core":"^2.0.1","@typescript-eslint/eslint-plugin":"^5.62.0","@typescript-eslint/parser":"^5.62.0","autoprefixer":"^10.2.4","eslint":"^8.46.0","eslint-plugin-sort-imports-es6-autofix":"^0.6.0","http-server":"^14.1.1","npm-run-all":"^4.1.5","onchange":"^7.1.0","postcss":"^8.2.6","rimraf":"^3.0.2","rollup":"^2.39.1","rollup-plugin-cleanup":"^3.2.1","rollup-plugin-terser":"^7.0.2","sass":"^1.49.9","tweakpane":"^4.0.0","typescript":"^4.9.5"},"peerDependencies":{"tweakpane":"^4.0.0"},"gitHead":"e6a57591adc7e6ba62e914b1dbe4e2cc57bc55b6","_id":"@0b5vr/tweakpane-plugin-rotation@0.2.0","_nodeVersion":"19.7.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-LK+84kNTusEepVwiKH6ib/Pd+5RxI3UC4rHxn5c14GO58QS49Hh0ft3hFXt/NDzYEST17Q9qg96BcpclhCzYYQ==","shasum":"46d22d6e2e901ff20524b58268561207351dcbd4","tarball":"https://registry.npmjs.org/@0b5vr/tweakpane-plugin-rotation/-/tweakpane-plugin-rotation-0.2.0.tgz","fileCount":51,"unpackedSize":441883,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDvJmBDK6Xea6ViVLgE6P4bXPwdgcrTlcs65ypIMPEw7AiEAkSURQkafBVK48J1rDlI6n4j21hkZ1mZbJ5kWrWBQU2I="}]},"_npmUser":{"name":"0b5vr","email":"0b5vr@0b5vr.com"},"directories":{},"maintainers":[{"name":"0b5vr","email":"0b5vr@0b5vr.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tweakpane-plugin-rotation_0.2.0_1699539369194_0.27194204186594106"},"_hasShrinkwrap":false}},"time":{"created":"2022-02-03T05:06:49.454Z","0.0.1":"2022-02-03T05:06:49.670Z","modified":"2023-11-09T14:16:09.827Z","0.1.0":"2022-02-06T13:36:43.800Z","0.1.1":"2022-02-21T08:21:27.726Z","0.2.0":"2023-11-09T14:16:09.663Z"},"maintainers":[{"name":"0b5vr","email":"0b5vr@0b5vr.com"}],"description":"3D rotation input plugin for Tweakpane","author":{"name":"0b5vr"},"license":"MIT","readme":"# `@0b5vr/tweakpane-plugin-rotation`\n\n[![npm](https://img.shields.io/npm/v/@0b5vr/tweakpane-plugin-rotation?logo=npm&style=flat-square)](https://www.npmjs.com/package/@0b5vr/tweakpane-plugin-rotation)\n\nRotation input plugin for Tweakpane\n\n![@0b5vr/tweakpane-plugin-rotation, Rotation input plugin for tweakpane. A working screenshot of the plugin on the right](https://github.com/0b5vr/tweakpane-plugin-rotation/raw/dev/readme-images/rotation.png)\n\n[Sandbox](https://0b5vr.github.io/tweakpane-plugin-rotation)\n\n```html\n<script type=\"module\">\n  import * as Tweakpane from 'https://unpkg.com/tweakpane@4.0.1/dist/tweakpane.js';\n  import * as TweakpaneRotationInputPlugin from './tweakpane-plugin-rotation.js';\n\n  const pane = new Tweakpane.Pane();\n\n  pane.registerPlugin(TweakpaneRotationInputPlugin);\n\n  const params = {\n    euler: { x: 0.0, y: 0.0, z: 0.0 },\n    quat: { x: 0.0, y: 0.0, z: 0.0, w: 1.0 },\n  };\n\n  // euler\n  const guiEuler = pane.addBinding(params, 'euler', {\n    view: 'rotation',\n    rotationMode: 'euler',\n    order: 'XYZ', // Extrinsic rotation order. optional, 'XYZ' by default\n    unit: 'deg', // or 'rad' or 'turn'. optional, 'rad' by default\n  });\n\n  // quaternion\n  const guiQuat = pane.addBinding(params, 'quat', {\n    view: 'rotation',\n    rotationMode: 'quaternion', // optional, 'quaternion' by default\n    picker: 'inline', // or 'popup'. optional, 'popup' by default\n    expanded: true, // optional, false by default\n  });\n\n  guiEuler.on('change', ({ value }) => {\n    console.log(value); // do something\n  });\n</script>\n```\n","readmeFilename":"README.md"}