config.eye
1 { 2 // This is a comment 3 "eyeRadius" : 125, 4 "eyelidIndex" : "0x00", // From table: learn.adafruit.com/assets/61921 5 "irisRadius" : 125, // Iris = whole eye! 6 "pupilMin" : 0, // Pupil is always 0 size 7 "pupilMax" : 0, 8 "pupilColor" : [ 255, 255, 169 ], // Shouldn't show, but just in case 9 "scleraColor" : [ 255, 0, 0 ], 10 "backColor" : [ 255, 0, 0 ], 11 "irisTexture" : "doom-spiral/spiral.bmp", 12 // The doom-red and doom-spiral eyelid bitmaps don't fully close. 13 // This is to give the IMPRESSION of a blink without actually blinking, 14 // so human eye behind is hidden better when doing Pepper's ghost trick. 15 "upperEyelid" : "doom-spiral/upper.bmp", 16 "lowerEyelid" : "doom-spiral/lower.bmp", 17 "left" : { 18 "irisSpin" : 80 // Rotate iris @ 80 RPM 19 }, 20 "right" : { 21 "irisMirror" : true, // Flip spiral image 22 "irisSpin" : 70 // Slightly different speed for weirdness 23 } 24 }