1.0.3 • Published 5 years ago

wavegen v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

to make Commonjs Wave module just run in the project dir: rollup -c

Usage:

JS:

  import WaveGen from "wavegen";

  let wave = new WaveGen({
    thickness: 8,
    lineWidth: 3,
    frequency: 6,
    opacity: 1,
    speed: 0.1,
    noise: 1,
    width: 600,
    height: 500,
    color: '#fff',
    containerId:'wavegen_container'
  });

HTML:

  <div id ="wavegen_container"></div>