Skip to content
Adafruit animated eyes bonnet used with Processing and cam on the Raspberry Pi to render custom comic eyes
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.
Processing Code/eyes


Adafruit animated eyes bonnet used with Processing and cam on the Raspberry Pi to render custom comic eyes

A little Late for Halloween but maybe just right for german Karneval - it's a Write up about the Googely Eyes

  • Adafruit Eye bonnet
  • Follow their direction on how to install all the stuff
  • The eyebonnet trick we want to make use of is burried in fbx2.c / the compiled version of it -> it’s scrappping parts of the main screen and is rerouting that to the two displays.
  • Because I’m a lazy fuck I didn’t change their scripts yet (also this allows to switch to their pretty cool but more or less random eye movement)
    • // Todo: I think I could utilise some image detection addon board, a cam like pyCam or just add some python tensorflow lite stuff with Picam (I intend to become moar familiar with it at some point. Btw also this Pun was intended 🥳
    • If one thinks about cleaning up -> check to not install all the stuff we’re not using and the fbx2.c file
  • Alright, so since we’re lazy and we’re using simple Processing, we’re just renaming the python file that would be called normally. In my case thats the „“ in boot/Pi_Eyes (if you need to rename eyes.p depends on the type of screens you attached to the board and the selections you chose in the pi-eyes-installation routine. There’s also for example)
  • So whats happening is that raspberry normally would run on boot but since we rename it it won’t get called (I know, it’s a really ugly hack 🙂 ) $ cd /boot/Pi_Eyes/ #moving to the Pi_Eyes folder $ sudo mv #renaming the file $ sudo reboot now #rebooting to take effect
  • Instead we start a processing sketch that renders what ever we want at exactly the locations that fbx2 grabs the graphic information and copies it to the two oleds; check out the Processing sketch to witness my crimes
  • That’s all folks
You can’t perform that action at this time.