Click for code to Moving Self Portrait

MMP 210: Multimedia Programming I
BMCC Spring 2024
Self Portrait of Buttercup from the Powerpuff Girls. The Self Portrait was made in P5 using Variables and being able to make the lollipop have movement in the Self Portrait :>
Here is link to my code: https://editor.p5js.org/Htet/sketches/70nVZ4ZmN
Self portrait made with the use of P5′ with added variables for movement.
For this self-portrait I went for a more artistic approach of a moon in the dark/night interchanging with a bright sun. I used the variables X and Y to move the sun around with the cursor to change from day to night.