Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 424 Bytes

README.md

File metadata and controls

14 lines (12 loc) · 424 Bytes

wavejs

A javascript module that allows you to create random animated SVG waves.

Demo🌊 https://vedantyadu.github.io/wavejs-updated/

Setup

  • Oscillator creates a wave.
  • Translate the points into the shape you want.
  • Smoothly connect the points using curve.js.
import { Oscillator, TWO_PI } from "./src/wave.js"
import { bezier } from "./src/curve.js"

👉 Example implementation in index.js