Gort, Cylon Scanning Eye

4 lines, 8 lines and 12 lines

From classic movie and TV sci-fi, the robot eye is recreated using 2, 3 or 4 LED’s, depending on how separated the LED’s are. Like the revolving police light, it is best that individual LED’s not be discernible but their light spreads out and overlaps the neighboring LED such as through a diffused visor. Illuminating indirectly toward a back sheet behind the visor also diffuses light evenly.

//Gort, Cylon scanning eye using 2 channels
// 2/3 second in each direction

@660ms  chn1 = fade from 0% to 100% for 660ms  //scan left
        chn2 = fade from 100% to 0% for 660ms
@1320ms chn1 = fade from 100% to 0% for 660ms  //scan right
        chn2 = fade from 0% to 100% for 660ms
//Gort, Cylon scanning eye using 3 channels
// 2/3 second in each direction, 1/3 sec each LED

@330ms  chn1 = fade from 100% to 1% for 440ms //1 brightest
        chn2 = fade from 1% to 100% for 330ms
@660ms  chn2 = fade from 100% to 1% for 330ms //2 brightest
        chn3 = fade from 1% to 100% for 330ms
@990ms  chn3 = fade from 100% to 1% for 330ms //3 brightest
        chn2 = fade from 1% to 100% for 330ms //direction reverses
@1320ms chn2 = fade from 100% to 1% for 330ms //2 brightest
        chn1 = fade from 1% to 100% for 330ms
        //falls through and replays from beginning
//Gort, Cylon scanning eye using 4 channels
// 2/3 second in each direction, 220ms each LED

@220ms  chn1 = fade from 100% to 1% for 440ms //1 brightest
        chn2 = fade from 1% to 100% for 330ms
@440ms  chn2 = fade from 100% to 1% for 330ms //2 brightest
        chn3 = fade from 1% to 100% for 330ms
@660ms  chn3 = fade from 100% to 1% for 330ms //3 brightest
        chn4 = fade from 1% to 100% for 330ms
@880ms  chn4 = fade from 100% to 1% for 330ms //4 brightest
        chn3 = fade from 1% to 100% for 330ms //now reversing direction
@1100ms chn3 = fade from 100% to 1% for 330ms //3 brightest
        chn2 = fade from 1% to 100% for 330ms
@1320ms chn2 = fade from 100% to 1% for 330ms //2 brightest
        chn1 = fade from 1% to 100% for 330ms
        //falls through and replays from beginning