|
1 | 1 | {
|
2 |
| - "boopThreshold" : 17500, // lower = more sensitive |
3 |
| - "eyeRadius" : 125, |
4 |
| - "irisRadius" : 110, |
5 |
| - "eyelidIndex" : "0x00", // From table: learn.adafruit.com/assets/61921 |
6 |
| - "pupilColor" : [ 0, 0, 0 ], |
7 |
| - "lightSensor" : 102, |
8 |
| - "pupilMin" : 0.05, |
9 |
| - "pupilMax" : 0.25, |
10 |
| - "backColor" : [ 140, 40, 20 ], |
11 |
| - "irisTexture" : "eagle/iris.bmp", |
12 |
| - "scleraTexture" : "eagle/sclera.bmp", |
13 |
| - "upperEyelid" : "eagle/upper.bmp", |
14 |
| - "lowerEyelid" : "eagle/lower.bmp", |
15 |
| - "tracking" : true, |
16 |
| - "squint" : 0.0, |
| 2 | + "boopThreshold" : 17500, // lower is more sensitive |
| 3 | + "eyeRadius" : 125, // radius, in pixels |
| 4 | + "irisRadius" : 120, // radius, in pixels |
| 5 | + "slitPupilRadius" : 0, // height, in pixels; 0 is round pupil |
| 6 | + |
| 7 | + "irisTexture" : "eagle/iris.bmp", |
| 8 | +// "scleraTexture" : "eagle/sclera.bmp", |
| 9 | + "scleraColor" : [ 64, 24, 22 ], |
| 10 | + "pupilColor" : [ 0, 0, 0 ], |
| 11 | + "backColor" : [ 140, 40, 20 ], // covers the outermost/backmost part of the eye where the sclera texture map (or color) doesn’t reach |
| 12 | + "eyelidIndex" : "0x00", // 8-bit value; from table learn.adafruit.com/assets/61921 |
| 13 | + |
| 14 | + // independent irisTexture, scleraTexture, irisColor, scleraColor, |
| 15 | + // pupilColor, backColor, irisAngle, scleraAngle, irisSpin, scleraSpin, |
| 16 | + // irisMirror, scleraMirror, and rotate can be specified |
17 | 17 | "left" : {
|
18 | 18 | },
|
19 | 19 | "right" : {
|
20 | 20 | },
|
| 21 | + |
| 22 | + "upperEyelid" : "eagle/upper.bmp", |
| 23 | + "lowerEyelid" : "eagle/lower.bmp", |
| 24 | + "tracking" : true, |
| 25 | + "squint" : 0.5, // offsets eyelid center point vertically |
| 26 | + |
| 27 | + "lightSensor" : 102, // light sensor pin; 102 is MONSTER M4SK, 21 is HalloWing M4 |
| 28 | + "pupilMin" : 0.05, // smallest pupil size as a fraction of iris size; from 0.0 to 1.0 |
| 29 | + "pupilMax" : 0.3, // largest pupil size as a fraction of iris size; from 0.0 to 1.0 |
| 30 | + |
21 | 31 | "voice" : false,
|
22 | 32 | "pitch" : 1.0,
|
23 |
| - "gain" : 1.0 |
| 33 | + "gain" : 1.0, // microphone gain (sensitivity) |
| 34 | +// "waveform" : "sine" // "square", "sine", "tri" and "saw" are supported |
| 35 | +// "modulate" : 30 // waveform modulation, in Hz |
| 36 | + |
| 37 | + "wiichuck" : { |
| 38 | + "min" : 28, |
| 39 | + "max" : 229 |
| 40 | + } |
24 | 41 | }
|
0 commit comments