rad=Math.PI / 180
sinloops=(360 / 512) * 20
sinloop=i * sinloops
sintest=(Math.sin(sinloop * rad) * .25) + .75
20 cycles 0.5 to 1 across 512(ie pixels nightvision)~