delete comments

This commit is contained in:
ntr
2018-09-23 23:16:21 +10:00
parent d28d3df1ec
commit 25058e185c
2 changed files with 2 additions and 28 deletions
+2 -3
View File
@@ -7,7 +7,7 @@ function fizzyText(message) {
// Notice they're all defined with "this". That makes them public.
// Otherwise, gui-dat can't see them.
this.growthSpeed = 0.4; // how fast do particles change size?
this.growthSpeed = 0.8; // how fast do particles change size?
this.minSize = 1;
this.maxSize = 4; // how big can they get?
this.noiseStrength = 10; // how turbulent is the flow?
@@ -157,8 +157,7 @@ function fizzyText(message) {
// var angle = -Math.PI/2;
// Are we within the boundaries of the image?
const onScreen = this.x > 0 && this.x < width
&& this.y > 0 && this.y < height;
const onScreen = this.x > 0 && this.x < width && this.y > 0 && this.y < height;
const isBlack = c !== 'rgb(255,255,255)' && onScreen;