Sketch 1 – Night’s Owl – Maryam Dehghani

untitled-1

In the sketch, I tried to make the mouse look like an owl’s eye, when the mouse is clicked the background image turns black and the owl’s face appears so we can hear its sound.
Edit Link:  https://editor.p5js.org/dehghani.maryam69/sketches/qYT-oOy7g

Here are the codes I use:
https://p5js.org/examples/sound-preload-soundfile.html 
https://p5js.org/reference/#/p5/strokeJoin
https://happycoding.io/tutorials/p5js/input