Processing Tutorial -- Showing Animated Gifs

From dftwiki3
Revision as of 19:30, 11 October 2017 by Thiebaut (talk | contribs)
Jump to: navigation, search

--D. Thiebaut (talk) 20:18, 11 October 2017 (EDT)



--D. Thiebaut (talk) 20:30, 11 October 2017 (EDT)



ProcessingAquariumWithFish.png


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. For this Lab, we will use the following aquarlum image, named aquarium.gif.

ProcessingAquarlum.jpg