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