Skip to content

Commit

Permalink
Update metal.js
Browse files Browse the repository at this point in the history
update speed
  • Loading branch information
caroachou authored Aug 20, 2024
1 parent 87ac603 commit 5b4dd01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metal.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ class Metal {
this.pos = createVector(x, y);
this.maxspeed = 1;
this.maxforce = 0.03;
this.vel = createVector(random(-1.5, 1.5), random(-1.5, 1.5));
this.vel = createVector(random(-1.5, 0.8), random(-1.5, 0.8));
this.initialVel = this.vel.copy();
this.hydrogelWidth = hydrogelWidth;
this.hydrogelHeight = hydrogelHeight;
Expand Down

0 comments on commit 5b4dd01

Please sign in to comment.