
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@tweakpane/plugin-camerakit
Advanced tools
Enjoyable camera flavored controls for Tweakpane.
<script type="module">
import {Pane} from './tweakpane.min.js';
import * as TweakpaneCamerakitPlugin from 'tweakpane-plugin-camerakit.min.js';
const pane = new Pane();
pane.registerPlugin(TweakpaneCamerakitPlugin);
</script>
import {Pane} from 'tweakpane';
import * as CamerakitPlugin from '@tweakpane/plugin-camerakit';
const pane = new Pane();
pane.registerPlugin(CamerakitPlugin);
// Ring input
pane.addBinding(params, 'key', {
// Ring control
view: 'cameraring',
// Appearance of the ring view: 0 | 1 | 2
series: 0,
});
// Configuring a scale
pane.addBinding(params, 'key', {
view: 'cameraring',
series: 0,
// Scale unit
unit: {
// Pixels for the unit
pixels: 50,
// Number of ticks for the unit
ticks: 10,
// Amount of a value for the unit
value: 0.2,
},
// You can use `min`, `max`, `step` same as a number input
min: 1,
step: 0.02,
});
// Wide
pane.addBinding(params, 'key', {
view: 'cameraring',
series: 0,
// Hide a text input and widen the ring view
wide: true,
});
// Wheel input
pane.addBinding(params, 'key', {
view: 'camerawheel',
// Amount of a value per pixel
amount: 100,
});
FAQs
Enjoyable camera flavored controls for Tweakpane
We found that @tweakpane/plugin-camerakit demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.