change default sizeMultiplier to 5

This commit is contained in:
Asif Bacchus 2020-04-10 04:49:21 -06:00
parent 7f8bdb188d
commit 4b4682c277

View File

@ -191,14 +191,14 @@ function particles(){
}; };
if (typeof sizeMultiplier == 'undefined'){ if (typeof sizeMultiplier == 'undefined'){
sizeMultiplier = 3; sizeMultiplier = 5;
} }
else if (Number.isFinite(sizeMultiplier)){ else if (Number.isFinite(sizeMultiplier)){
sizeMultiplier; sizeMultiplier;
} }
else{ else{
sizeMultiplier = 3; sizeMultiplier = 5;
console.log("'sizeMultiplier' must be a finite number. Using default of '3'."); console.log("'sizeMultiplier' must be a finite number. Using default of '5'.");
}; };
if (typeof connections == 'undefined'){ if (typeof connections == 'undefined'){