It looks like you're new here. If you want to get involved, click one of these buttons!
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?