// barchart of a lot of integers between 1 and maxn-1 // rown tells the number of rows // HSB color scheme is used to emphasize count // numbers will be between 1 and maxn-1 // mod from Jer Thorp intro course on data visualizaiton (online) // int[] nums = new int[300]; int maxn = 100; int[] counts = new int[maxn]; int rown = 6; void setup () { size(12*(maxn+1), (int)(maxn*rown*1.2)); background(0); colorMode(HSB); smooth(); noLoop(); // at once the entire picture is produced } void draw() { for (int j=0; j