|
@ -152,21 +152,21 @@ function setupRecording() { |
|
|
|
|
|
|
|
|
recording = new p5.SoundFile(); |
|
|
recording = new p5.SoundFile(); |
|
|
|
|
|
|
|
|
recordButton = createImg("../static/images/RECORD-COLOR.png"); |
|
|
// recordButton = createImg("../static/images/RECORD-COLOR.png");
|
|
|
recordButton.mousePressed(record); |
|
|
// recordButton.mousePressed(record);
|
|
|
recordButton.class("button record"); |
|
|
// recordButton.class("button record");
|
|
|
|
|
|
|
|
|
stopButton = createImg("../static/images/STOP-BW.png"); |
|
|
// stopButton = createImg("../static/images/STOP-BW.png");
|
|
|
stopButton.mousePressed(stop); |
|
|
// stopButton.mousePressed(stop);
|
|
|
stopButton.class("button stop"); |
|
|
// stopButton.class("button stop");
|
|
|
|
|
|
|
|
|
leafButton = createImg("../static/images/GARDEN-BW.png"); |
|
|
// leafButton = createImg("../static/images/GARDEN-BW.png");
|
|
|
leafButton.class("button leaf"); |
|
|
// leafButton.class("button leaf");
|
|
|
leafButton.mousePressed(gardenShapes); |
|
|
// leafButton.mousePressed(gardenShapes);
|
|
|
|
|
|
|
|
|
aboutButton = createImg("../static/images/ABOUT-BW.png"); |
|
|
// aboutButton = createImg("../static/images/ABOUT-BW.png");
|
|
|
aboutButton.mousePressed(goToAbout); |
|
|
// aboutButton.mousePressed(goToAbout);
|
|
|
aboutButton.class("button about"); |
|
|
// aboutButton.class("button about");
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
class GeneratedShape { |
|
|
class GeneratedShape { |
|
|