

pattern variation: size, color and position. here’s my code.
MMP 210: Multimedia Programming I
BMCC Spring 2022
This is an Illustrator drawing I made and imported as a png, and made a pattern out of that changing the colors randomly.
here is the code: https://editor.p5js.org/GalBB/sketches/fjZ1e-ijn
This is the Pattern Variation Assignment of my Self-Portrait. Here is my link.
These are my pattern variations, the colors and positions and size of each self portrait graphic are randomly generated.
Variation 1:
I made a symmetrical cake-like design with the ellipses being cake borders and the rounded rectangles being sprinkles (I know it’s impossible for sprinkles to be uniformly arranged like this irl but whatever lol)
Variation 2:
Now the sprinkles move in a random Y position every time the page is refreshed. Yep.
Variant 3:
I left the random Y axis positioning and added random colors for the sprinkles after every refresh. I changed the borders from “chocolate” to “Raspberry” since the random sprinkle’s color palette made me think of berry flavored candies. That and I think it fits the random color pallet better.