This commit is contained in:
ntr
2018-09-20 18:03:50 +10:00
parent 30cd11d43f
commit 4daeaeb86b
4 changed files with 46 additions and 36 deletions
+3 -2
View File
@@ -10,7 +10,7 @@ function fizzyText(message) {
this.growthSpeed = 0.2; // how fast do particles change size?
this.minSize = 1;
this.maxSize = 4; // how big can they get?
this.maxSize = 6; // how big can they get?
this.noiseStrength = 10; // how turbulent is the flow?
this.speed = 0.4; // how fast do particles move?
this.displayOutline = false; // should we draw the message as a stroke?
@@ -216,7 +216,8 @@ function fizzyText(message) {
// Draw the circle.
g.beginPath();
g.arc(this.x, this.y, this.r, 0, Math.PI * 2, false);
// g.arc(this.x, this.y, this.r, 0, Math.PI * 2, false);
g.rect(this.x, this.y, this.r, this.r);
g.fill();
}