Code
Files for Lab 1
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.
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.
- Attachments
-
- Lab1.zip
- (2.98 MiB) Downloaded 431 times
Files for lab 2
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.
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.
- Attachments
-
- Lab2.zip
- (35.45 KiB) Downloaded 430 times
Files for using IDs
Those are the files that show alternatives for using the IDs in queries.
- Attachments
-
- DEmoIDs.zip
- (17.83 KiB) Downloaded 406 times
Code for lab 3 - Treemaps
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.
http://benfry.com/writing/treemap/library.zip and the processing sketches attached.
- Attachments
-
- Codetreemaps.zip
- (3.59 KiB) Downloaded 419 times
Code for Lab 4
Two Sketches showing basics of animation and 3D using Peasycam and OpenGL
- Attachments
-
- Lab4.zip
- (4.89 MiB) Downloaded 433 times