We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I am watching the Codetrain videos in order to learn how to program using Processing. In video 6.3
while discussing loops, Daniel creates a sketch that uses the functions size, stroke, background and strokeWeight. In all previous videos these functions were inside of setup but in this video they stand alone at the beginning of the code.
Is there any difference in the way these functions act when inside or outside of setup? If not, what is the purpose of the setup function?