Qarticles
A lightweight and high performance JavaScript library for creating particles
Live Demos
Install
- base
your html
- npm
npm i Qarticles --save
your app.js
Usage
var canvas = document.getElementById('cov')
var qarticles = new Qarticles(canvas)
Options
var canvas = document var { return `rgba(, ,, 0.4)`} var { return `rgba(, ,, 0.1)`} var { return Math * speed * Math * 10 > 5 ? -1 : 1} var options = lineLink: count: 2 show: true color: dotColorFuc: covColorFuc lineColorFuc: lineColorFuc dot: physical: true speed: speed vxFuc: covSpeedFuc vyFuc: covSpeedFuc count: 80 size: random: true max: 20 min: 0 var qarticles = canvas options
License
This project is licensed under the terms of the MIT license.