void function ( ) { Pen loc0 = new Pen ( 250 , 200 , myCanvas ) ; for ( int loc1 = 0 ; loc1 < 10 ; loc1 ++ ) { int loc2 = random . nextInt ( 256 ) ; int loc3 = random . nextInt ( 256 ) ; int loc4 = random . nextInt ( 256 ) ; loc0 . setColor ( new Color ( loc2 , loc3 , loc4 ) ) ; loc0 . randomSquiggle ( ) ; } }
draw some random squiggles on the screen , in random colors . concode_field_sep Random random concode_elem_sep Canvas myCanvas concode_field_sep void square concode_elem_sep void drawSquare concode_elem_sep void clear concode_elem_sep void drawSpiral concode_elem_sep void drawTriangle concode_elem_sep void drawPentagon concode_elem_sep void drawPolygon concode_elem_sep void drawWheel