Processing Forum
Jazari -- Squelch from Jazari on Vimeo.
{ "mouseX" :[[0,0],[1,30],[2,15],[3,50],[4,0]]},
{ "mouseY" :[[0,60],[1,25],[2,45],[3,0],[4,60]]},
if (random.nextFloat() > 0.5){
pg.stroke(ptc. color , ptc. alpha );
pg.strokeWeight( mouseX );
pg.line(tranX,tranY,tranX+ptc. size ,tranY+ptc. size );
} else {
pg.stroke(ptc. color2 , ptc. alpha2 );
pg.strokeWeight( mouseY );
pg.line(tranX, tranY+ptc. size , tranX+ptc. size , tranY);
}