Oct
16

Weather Example 2


weather2

An update to previous “Oversimplified Weather Example” post. Building on what we looked at in class yesterday, this OpenGL sketch loads the Yahoo! Weather RSS feed for a specific ZIP code and animates in 3D. I wrote a simple class called “Agent” to create little Agent objects that display themselves as red cubes.

Bonuses: pause (using the spacebar), save a screen grab (using the back-tick “`” key), record a series of frames for compositing a movie (hit “R”), “Q” to quit. Again, this is scaffolding for you to build on, not a visual archetype.

Weather framework 2: weather2.zip

Tags: , , , , , , , , , , , , , , , ,

Leave a comment