Processing Tutorial -- Showing Animated Gifs
--D. Thiebaut (talk) 20:18, 11 October 2017 (EDT)
--D. Thiebaut (talk) 20:30, 11 October 2017 (EDT)
First: Create the Sketch
By creating the sketch first, and saving it, this will create a folder where all the files associated with the sketch will reside. This project requires many files, including images for the background of the aquarium and for the fish.
Create a simple sketch with an empty draw() and setup() function and save it under an easy name to remember, such as "aquarium" or some other name of your choice.
Finding an Aquarium Image
Search the Web for an image of an aquarium that you like. Pick one that is around 1000 pixels wide, but at least 600 pixels high.
For this Lab, we will use the following aquarium image, named aquarium.jpg.
When you have found your image, save it in the data folder in your sketch folder.