Fun Programming with Processing 031 Function parameters and return values
387 2021-07-13 Download
This episode is a bit more serious and less visual, but it will be important to know how to create your own functions.
We create a simple function that does not take any parameters, and another that takes two numeric parameters and adds them together. We also create a function that returns a value.
Knowing this we will be able to simplify the program we created in the previous episode with four rotating rectangles.
Courtesy of Abe Pazos Solatie(Fun Programming)
Abe Pazos Solatie, artist and creative coder producing static, moving and interactive images with a focus on the subtle and the organic.