Week 3

Screen_Recording_2021-09-30_at_1_12_10_AM_SparkVideo.gif

I tried to figure out how to change the speed of different components. The stars look silly if they twinkle too quickly, but the rate that would make the stars look best would be too slow for the other animated components. Frame rate is universal, so I can’t make it different for the stars. I’m not sure how else to slow down the stars while keeping everything else at a suitable speed. To keep the stars from being too distracting at the fast speed, I reduced the range of opacities in the random opacity generator, so the difference in color would not be so dramatic.

I struggled using width and height as variables when I made the door. I have such a hard time conceptualizing it, that I think the time I’d be saving adjusting all the variables if I wanted to scale my project bigger is not worth it. https://editor.p5js.org/lilzoroco/sketches/uQCd7d1ylTidy code is such a gamechanger.

I struggled using width and height as variables when I made the door. I have such a hard time conceptualizing it, that I think the time I’d be saving adjusting all the variables if I wanted to scale my project bigger is not worth it.

Here's the final code.

Tidy code is such a gamechanger.

Previous
Previous

Week 2

Next
Next

Week 4