@tweakpane/plugin-cubic-bezier

0.1.1 • Public • Published

tweakpane-plugin-cubic-bezier

Cubic bezier control for Tweakpane.

Installation

Browser

<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>

Package

import {Pane} from 'tweakpane';
import * as CubicBezierPlugin from '@tweakpane/plugin-cubic-bezier';

const pane = new Pane();
pane.registerPlugin(CubicBezierPlugin);

Usage

pane.addBlade({
  view: 'cubicbezier',
  expanded: true,
  picker: 'inline',
  value: [0.5, 0, 0.5, 1],
});

Readme

Keywords

none

Package Sidebar

Install

npm i @tweakpane/plugin-cubic-bezier

Weekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

117 kB

Total Files

5

Last publish

Collaborators

  • cocopon