Current collected state Current
Observed since 20 Oct, 22:04 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
@0b5vr/tweakpane-plugin-rotation
3D rotation input plugin for Tweakpane
@0b5vr/tweakpane-plugin-rotationRotation input plugin for Tweakpane

<script type="module">
import * as Tweakpane from 'https://unpkg.com/tweakpane@4.0.1/dist/tweakpane.js';
import * as TweakpaneRotationInputPlugin from './tweakpane-plugin-rotation.js';
const pane = new Tweakpane.Pane();
pane.registerPlugin(TweakpaneRotationInputPlugin);
const params = {
euler: { x: 0.0, y: 0.0, z: 0.0 },
quat: { x: 0.0, y: 0.0, z: 0.0, w: 1.0 },
};
// euler
const guiEuler = pane.addBinding(params, 'euler', {
view: 'rotation',
rotationMode: 'euler',
order: 'XYZ', // Extrinsic rotation order. optional, 'XYZ' by default
unit: 'deg', // or 'rad' or 'turn'. optional, 'rad' by default
});
// quaternion
const guiQuat = pane.addBinding(params, 'quat', {
view: 'rotation',
rotationMode: 'quaternion', // optional, 'quaternion' by default
picker: 'inline', // or 'popup'. optional, 'popup' by default
expanded: true, // optional, false by default
});
guiEuler.on('change', ({ value }) => {
console.log(value); // do something
});
</script>
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
@rollup/plugin-aliasEnvironment{
"local_name": "@rollup/plugin-alias",
"alias": false,
"peer_metadata": null
} | ^3.1.2 | development |
@rollup/plugin-node-resolveEnvironment{
"local_name": "@rollup/plugin-node-resolve",
"alias": false,
"peer_metadata": null
} | ^13.0.0 | development |
@rollup/plugin-replaceEnvironment{
"local_name": "@rollup/plugin-replace",
"alias": false,
"peer_metadata": null
} | ^2.4.1 | development |
@rollup/plugin-typescriptEnvironment{
"local_name": "@rollup/plugin-typescript",
"alias": false,
"peer_metadata": null
} | ^8.2.0 | development |
@tweakpane/coreEnvironment{
"local_name": "@tweakpane/core",
"alias": false,
"peer_metadata": null
} | ^1.0.8 | development |
@typescript-eslint/eslint-pluginEnvironment{
"local_name": "@typescript-eslint/eslint-plugin",
"alias": false,
"peer_metadata": null
} | ^4.15.2 | development |
@typescript-eslint/parserEnvironment{
"local_name": "@typescript-eslint/parser",
"alias": false,
"peer_metadata": null
} | ^4.15.2 | development |
autoprefixerEnvironment{
"local_name": "autoprefixer",
"alias": false,
"peer_metadata": null
} | ^10.2.4 | development |
downlevel-dtsEnvironment{
"local_name": "downlevel-dts",
"alias": false,
"peer_metadata": null
} | ^0.7.0 | development |
eslintEnvironment{
"local_name": "eslint",
"alias": false,
"peer_metadata": null
} | ^7.20.0 | development |
eslint-plugin-sort-imports-es6-autofixEnvironment{
"local_name": "eslint-plugin-sort-imports-es6-autofix",
"alias": false,
"peer_metadata": null
} | ^0.6.0 | development |
node-sassEnvironment{
"local_name": "node-sass",
"alias": false,
"peer_metadata": null
} | ^6.0.0 | development |
npm-run-allEnvironment{
"local_name": "npm-run-all",
"alias": false,
"peer_metadata": null
} | ^4.1.5 | development |
onchangeEnvironment{
"local_name": "onchange",
"alias": false,
"peer_metadata": null
} | ^7.1.0 | development |
postcssEnvironment{
"local_name": "postcss",
"alias": false,
"peer_metadata": null
} | ^8.2.6 | development |
rimrafEnvironment{
"local_name": "rimraf",
"alias": false,
"peer_metadata": null
} | ^3.0.2 | development |
rollupEnvironment{
"local_name": "rollup",
"alias": false,
"peer_metadata": null
} | ^2.39.1 | development |
rollup-plugin-cleanupEnvironment{
"local_name": "rollup-plugin-cleanup",
"alias": false,
"peer_metadata": null
} | ^3.2.1 | development |
rollup-plugin-terserEnvironment{
"local_name": "rollup-plugin-terser",
"alias": false,
"peer_metadata": null
} | ^7.0.2 | development |
tweakpaneEnvironment{
"local_name": "tweakpane",
"alias": false,
"peer_metadata": null
} | ^3.0.7 | development |
typescriptEnvironment{
"local_name": "typescript",
"alias": false,
"peer_metadata": null
} | ^4.1.5 | development |
tweakpaneEnvironment{
"local_name": "tweakpane",
"alias": false,
"peer_metadata": null
} | ^3.0.7 | peer |
Source distribution
{
"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="
}
]
}Observed since 20 Oct, 22:04 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:6a3ecfdf2c00d3b489674e96ed3ed3c87a035fe0f87f4e1bd595e14be18d7d7a