Cubic bezier control for Tweakpane.
<script src="tweakpane.min.js"></script>
<scirpt src="tweakpane-plugin-cubic-bezier.min.js"></script>
<script>
const pane = new Tweakpane.Pane();
pane.registerPlugin(TweakpaneCubicBezierPlugin);
</script>
import {Pane} from 'tweakpane';
import * as CubicBezierPlugin from '@tweakpane/plugin-cubic-bezier';
const pane = new Pane();
pane.registerPlugin(CubicBezierPlugin);
pane.addBlade({
view: 'cubicbezier',
expanded: true,
picker: 'inline',
value: [0.5, 0, 0.5, 1],
});