Skip to content

A reverse engineered, and simplified javascript library to replicate the animated Stripe gradients.

Notifications You must be signed in to change notification settings

awinogrodzki/aurora-gradient

 
 

Repository files navigation

Stripe Gradient

A reverse engineered, and simplified javascript library to replicate the animated Stripe gradients.

Basic usage

HTML

<canvas id="my-canvas-id"></canvas>

JavasScript

new Gradient({
    canvas: '#my-canvas-id',
    colors: ['#a960ee', '#ff333d', '#90e0ff', '#ffcb57']
});

jQuery ready

$('#my-canvas-id').gradient({
    colors: ['#a960ee', '#ff333d', '#90e0ff', '#ffcb57']
});

About

A reverse engineered, and simplified javascript library to replicate the animated Stripe gradients.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 78.1%
  • GLSL 19.5%
  • HTML 1.9%
  • JavaScript 0.5%