1.0.1 • Published 5 years ago
@digvan/background v1.0.1
background
A tool to render different backgrounds, background code are from website like codepen.io
What is this?
When you found an amazing css effect on website like codepen.io, but it's in seperate files(html, javascript, css), you cannot use it in your project immediately,and here I offer a solution:
How to use
// install it in your project
npm install @digvan/background
// in you project,'canvas-id' is canvas element id, 'dynamicParticle' is from a effect list below
import background from "@digvan/background"
background('canvas-id').render('dynamicParticle')
Effect list
- dynamicParticle : Dynamic Particle by Jasper LaChance(Jasper LaChance) on codepen.io