Final project

I wanna make the transparency changed by the size of the plastic

I first use a remap but it didn’t work very well.

So I used a if statement.

  for ( int i=0; i < u.length-nPlastic; i++) {
    if( pSize[i]<4){
      trans[i] = random(100,155);

Leave a Reply

Your email address will not be published. Required fields are marked *