Processing implements animation using two basic methods: ________________ sets up the initial frame and ________________ renders each successive frame at a given frame rate.
Processing’s _____________________ method can be used to constrain a value to not exceed a maximum and minimum value.
Processing’s _____________________ method can be used to save the current output panel as an image file.
To implement an animated ball moving around on the output
screen, a program must store the x-y coordinates of the ball so that it
can initialize those values at the beginning of the animation and then
maintain them from one animation frame to the next. Where would you
declare these variables, at the beginning of the program, in the setup()
method or in the draw()
method?