aurora-gradient
v0.0.11
Published
A forked version of thelevicole/stripe-gradient adapted for TypeScript
Downloads
9
Maintainers
Readme
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']
});