define parameters

This commit is contained in:
Asif Bacchus 2020-04-08 07:07:54 -06:00
parent 4ab3b04c9c
commit f15eec2eb9

View File

@ -5,7 +5,11 @@ function particles(){
*/
// check parameters and use defaults as necessary
let numParticles;
let sizeMultiplier;
let speed;
let avoidMouse;
let hover;
checkParams();
// read css colour variables from root element, set defaults as necessary