// Fill an array with random values; then display it. // // (Modularized version of the previous example.) // int nb=10, j, big=0; float[] b = new float[nb]; // void setup() { size(100, 100); } void draw() { background(200); reset( b, nb); // Fill with random values. // show( b, nb ); // Display all elements. // noLoop(); } void reset( float[] a, int m ) { // Fill with random values. // for (int j=0; j