press '1' - '2' - '3' or '4' to change the lines type - 'R' randomize the lines type / press 'B' to switch the border collision behaviour / press 'D' to reset defaut parameters.
press 'S' to swap background picture, press 'UP' to reset and blank collision grid / press 'ENTER' reset all the screen / press 'DOWN' to change the blendMode.
press 'T' or 'G' increase or decrease MAX_STROKE_LENGTH / press 'Y' or 'H' increase or decrease MIN_STROKE_LENGTH / press 'U' or 'J' increase or decrease RANDOM_STROKE_RATIO.
press 'I' or 'K' increase or decrease MIN_ALPHA / press 'O' or 'L' increase or decrease MAX_ALPHA.
press 'C' or 'V' increase or decrease CHAOSPAINTVALUE / press 'LEFT' or 'RIGHT' increase or decrease CHAOSPICTPAINTVALUE.
You can see various result of this applet here.
Source code: FractLining / CollisionPixel / Line
Built with Processing