This week we were tasked to use only one instance of each shape function to create a randomly generated ice cream cone. To achieve this, I created a set of variables to reuse throughout my sketch and 2 for loop statements to create a different sphere and cone each time I clicked on my sketch. Here’s some of my favorite outcomes:
Link to sketch:
https://editor.p5js.org/jnsabillon/sketches/szJmoJMs7
Work by Jackie Sabillón.