playfultechnology / esp32-eyes

Emotive animated eyes on an OLED display, as inspired by Anki Cozmo etc.
GNU General Public License v3.0
65 stars 9 forks source link

esp32-eyes

Emotive animated eyes on an OLED display, as inspired by Anki Cozmo etc.

Inspired by the expressive eye animations of the Anki "Cozmo" robot, this Arduino/ESP8266/ESP32 library displays a set of animated eyes on a small 128x64 OLED screen.

Unlike some libraries which display a set of pre-rendered bitmap images for each frame of animation, this library draws each frame dynamically from a programmatic set of parameters.

Heavily based on this library, although with significant adjustments:

Hardware Used

Software Component Structure

Note that emotions are not blended together - the face only ever expresses one emotion at a time. The "weight" assigned to each emotion does not specify how they are composited together, but rather it states the relative probability with which any given emotion will be selected.