Skip to content

vedantyadu/wavejs-updated

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wavejs

A javascript library that allows you to create randomized 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