Page 1 of 1

Code

Posted: Fri Jan 14, 2011 10:36 am
by Javier
Code Files for the lab sessions will be posted here.

Files for Lab 1

Posted: Fri Jan 14, 2011 10:57 am
by Javier
These are the 3 processing examples used on Lab 1:
xmlStripper.pde : reads all the xml files on the data directory and parse them to a text file, all the check in files for oct 29 2010 are included on the data folder.
DewVsnoDewVis1.pde: Reads the text file generated by the xmlstripper and plots 3 types of graphs -> bargraph, a spine plot graph and a grayscale tile map.
CheckTime.pde: It reads from the text file and plots a scatter graph showing the time an item has been check out against Dewey category. The number of items is mapped to dot size.

Files for lab 2

Posted: Fri Jan 14, 2011 11:32 am
by Javier
Dayfromdatabase_pde.pde: Reads a hard -coded day from the mysql databases to to fill the Dewey and NonDewey information, then it plots the same 3 graphs from previous lab.
FreqQueryTotxt.pde: Makes a query of number of transactions with some specific string on the title. A query is made on each month from 2007 to 2010. The results of the query are save to a text file.
Plotbarfreqfromtext.pde: Uses the text files generated from previous sketch to plot a bar graph. Test files for the search terms: che Guevara, Michael Jackson, garfield and 2012 are included.
mysql commands.txt: some examples of mysql queries.

Files for using IDs

Posted: Tue Jan 25, 2011 11:27 am
by Javier
Those are the files that show alternatives for using the IDs in queries.

Code for lab 3 - Treemaps

Posted: Thu Feb 03, 2011 9:25 am
by Javier
For the Treemaps lab, we are going to use the Ben Fry's library available on:
http://benfry.com/writing/treemap/library.zip and the processing sketches attached.

Code for Lab 4

Posted: Tue Feb 22, 2011 11:13 am
by Javier
Two Sketches showing basics of animation and 3D using Peasycam and OpenGL