modified opacity algorithm
adding explanation of line color/opacity/size