Skip to content

Commit

Permalink
Fix comment in p5.Oscillator reference example, https://p5js.org/refe…
Browse files Browse the repository at this point in the history
  • Loading branch information
dcbriccetti committed Oct 2, 2017
1 parent da1d778 commit 7927e0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/oscillator.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ define(function (require) {
* function mouseClicked() {
* if (mouseX > 0 && mouseX < width && mouseY < height && mouseY > 0) {
* if (!playing) {
* // ramp amplitude to 0.5 over 0.1 seconds
* // ramp amplitude to 0.5 over 0.05 seconds
* osc.amp(0.5, 0.05);
* playing = true;
* backgroundColor = color(0,255,255);
Expand Down

0 comments on commit 7927e0f

Please sign in to comment.