Smaller Uncanny Eyes on Cricket Playground Express with Gizmo

Play with it! Please tell us which board you're using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Polarcupz
 
Posts: 9
Joined: Tue Nov 22, 2022 10:03 pm

Smaller Uncanny Eyes on Cricket Playground Express with Gizmo

Post by Polarcupz »

I am looking to tinker with the uncanny eye default design. So far I have made changes to the colors of the iris and sclera successfully but I have not been able to figure out how to get a smaller iris to map properly. I have seen the awesome work @pburgess has been doing but most of those topics are locked. What should I have for this section of the .h file for the uncanny project to have a 60x60 iris?

This is the default. I figure the first portion would change to 60, 60 but I don't see a related image map for the human like eye that matches the hexadecimal codes.
#define IRIS_WIDTH 80
#define IRIS_HEIGHT 80

const uint16_t polar[80][80] = {
0X007F, 0X007F, 0X007F, 0X007F, 0X007F, 0X007F, 0X007F, 0X007F,
0X007F, 0X007F, 0X007F, 0X007F, 0X007F, 0X007F, 0X007F, 0X007F,
0X007F, 0X007F, 0X007F, 0X007F, 0X007F, 0X007F, 0X007F, 0X007F,
0X007F, 0X007F, 0X007F, 0X007F, 0X007F, 0X007F, 0X007F, 0X007F,
0X007F, 0X007F, 0X3A00, 0X3B00, 0X3C01, 0X3D01, 0X3E01, 0X3F01, etc

Locked
Please be positive and constructive with your questions and comments.

Return to “Circuit Playground Classic, Circuit Playground Express, Circuit Playground Bluefruit”