Skip to content

Commit 9f09903

Browse files
M4_Eyes: add 2 "doom" eye designs
1 parent 4949bdf commit 9f09903

9 files changed

Lines changed: 44 additions & 0 deletions

File tree

M4_Eyes/eyes/doom-red/config.eye

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
// This is a comment
3+
"eyeRadius" : 125,
4+
"eyelidIndex" : "0x00", // From table: learn.adafruit.com/assets/61921
5+
// The doom-red and doom-spiral eyelid bitmaps don't fully close.
6+
// This is to give the IMPRESSION of a blink without actually blinking,
7+
// so human eye behind is hidden better when doing Pepper's ghost trick.
8+
"upperEyelid" : "doom-red/upper.bmp",
9+
"lowerEyelid" : "doom-red/lower.bmp",
10+
"scleraTexture" : "doom-red/sclera.bmp",
11+
"scleraAngle" : 0,
12+
"irisRadius" : 50,
13+
"irisTexture" : "doom-red/iris.bmp",
14+
"irisAngle" : 0,
15+
"pupilColor" : [ 0, 0, 0 ],
16+
"pupilMin" : 0.15,
17+
"pupilMax" : 0.4,
18+
"squint" : 0.1,
19+
"backColor" : [ 166, 160, 160 ]
20+
}

M4_Eyes/eyes/doom-red/iris.bmp

60.1 KB
Binary file not shown.

M4_Eyes/eyes/doom-red/lower.bmp

7.56 KB
Binary file not shown.

M4_Eyes/eyes/doom-red/sclera.bmp

60.1 KB
Binary file not shown.

M4_Eyes/eyes/doom-red/upper.bmp

7.56 KB
Binary file not shown.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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+
}

M4_Eyes/eyes/doom-spiral/lower.bmp

7.56 KB
Binary file not shown.
192 KB
Binary file not shown.

M4_Eyes/eyes/doom-spiral/upper.bmp

7.56 KB
Binary file not shown.

0 commit comments

Comments
 (0)