define parameters
This commit is contained in:
parent
4ab3b04c9c
commit
f15eec2eb9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user