function randomizeIt()   {
            cellXslider.value = floor(random(5, theWidth/100));
            cellYslider.value = floor(random(5, theHeight/100));
            if (cellXslider.value < cellYslider.value) {
                unitSlider.value = floor(random(1, cellXslider.value * 1.5));
            } else {
                unitSlider.value = floor(random(1, cellYslider.value * 1.5));
            }
            cornerSlider.value = floor(random(0, unitSlider.value * .5));
            leanXslider.value = floor(random(-75, 75));
            leanYslider.value = floor(random(-75, 75));
            letterSpacingSlider.value = letterWidth * .2;
            lineSpacingSlider.value = letterHeight * 1.2;
            speedSlider.value = floor(random(-624, 624));
            anglePlus = floor(random(-61.4, 61.4));
            opacitySlider.value = floor(random(0, 255));
            opac = floor(random(0, 255));
            waveOffsetSlider.value = floor(random(0, 100));
            waveOffset = waveOffsetSlider.value;
            hMarginSlider.value = 0;
            vMarginSlider.value = letterHeight * 1.2;
                
            clear();    background(bgColor);    redraw();
}
//    randomize parameters after load, keeping things fairly readable
randomize parameters after load, keeping things fairly readable
randomize parameters after load keeping things fairly readable
function randomizeIt()   {
            cellXslider.value = floor(random(5, theWidth/100));
            cellYslider.value = floor(random(5, theHeight/100));
            if (cellXslider.value < cellYslider.value) {
                unitSlider.value = floor(random(1, cellXslider.value * 1.5));
            } else {
                unitSlider.value = floor(random(1, cellYslider.value * 1.5));
            }
            cornerSlider.value = floor(random(0, unitSlider.value * .5));
            leanXslider.value = floor(random(-75, 75));
            leanYslider.value = floor(random(-75, 75));
            letterSpacingSlider.value = letterWidth * .2;
            lineSpacingSlider.value = letterHeight * 1.2;
            speedSlider.value = floor(random(-624, 624));
            anglePlus = floor(random(-61.4, 61.4));
            opacitySlider.value = floor(random(0, 255));
            opac = floor(random(0, 255));
            waveOffsetSlider.value = floor(random(0, 100));
            waveOffset = waveOffsetSlider.value;
            hMarginSlider.value = 0;
            vMarginSlider.value = letterHeight * 1.2;
            clear();    background(bgColor);    redraw();
}
function randomizeIt ( ) { cellXslider . value = floor ( random ( 5 , theWidth / 100 ) ) ; cellYslider . value = floor ( random ( 5 , theHeight / 100 ) ) ; if ( cellXslider . value < cellYslider . value ) { unitSlider . value = floor ( random ( 1 , cellXslider . value * 1.5 ) ) ; } else { unitSlider . value = floor ( random ( 1 , cellYslider . value * 1.5 ) ) ; } cornerSlider . value = floor ( random ( 0 , unitSlider . value * .5 ) ) ; leanXslider . value = floor ( random ( - 75 , 75 ) ) ; leanYslider . value = floor ( random ( - 75 , 75 ) ) ; letterSpacingSlider . value = letterWidth * .2 ; lineSpacingSlider . value = letterHeight * 1.2 ; speedSlider . value = floor ( random ( - 624 , 624 ) ) ; anglePlus = floor ( random ( - 61.4 , 61.4 ) ) ; opacitySlider . value = floor ( random ( 0 , 255 ) ) ; opac = floor ( random ( 0 , 255 ) ) ; waveOffsetSlider . value = floor ( random ( 0 , 100 ) ) ; waveOffset = waveOffsetSlider . value ; hMarginSlider . value = 0 ; vMarginSlider . value = letterHeight * 1.2 ; clear ( ) ; background ( bgColor ) ; redraw ( ) ; }
randomize parameters after load, keeping things fairly readable
randomize parameters after load keeping things fairly readable