diff --git a/vocoder/static/vocoder.js b/vocoder/static/vocoder.js index 8b4c2ac..b5bc57e 100644 --- a/vocoder/static/vocoder.js +++ b/vocoder/static/vocoder.js @@ -104,6 +104,21 @@ function generateNewShape() { ellipse(100, 100, 25, 25); // TODO: experimenting for now ... } +class GeneratedShape { + move() { + /** + * Move the shape in some direction. + **/ + } + + display() { + /** + * Show the shape on the canvas. + **/ + ellipse(random(600), random(600), 10, 10); // TODO: experimenting for now ... + } +} + function setup() { /** * The p5.js initial setup function.