Class 01
Class 01 : Self-Portrait
Objective
Learn p5 javascript by using 2D primitive shapes.
Test, try, rinse, and repeat.
What I learn
I found out how to use Arc with angle by using angleMode(DEGREES);.
I learned how to use quad and this one had to try a lot of positions.
Learn to make mistakes in order to develop.
Start to code
I tried to test every 2D function after viewing the tutorials and taking notes. I began by making a face, eyes, eyelashes, and a nose. Understanding basic angles, such as the start point of 0 degrees and the end point of 180 degrees, is necessary in order to use the arc command.
The process
I made mistakes when I didn't finish the command and wrote it clumsily. I consequently looked at the p5 reference and tried to comprehend it. It wasn't a significant error, and I learned much from it. Please see the image below, which changed from my portrait to a cow or buffalo.
Some errors occurred.
Another cow visual.
Final work
Finally, I learned how to use HEX colors instead of RGB colors, and I could choose the color more easily when clicking and picking colors.
fill("#619B90");//background
How computation applies to your interests. This could be a subject you've studied, a job you've worked, a personal hobby, or a cause you care about. What projects do you imagine making this term?
Take notes