feat: googly desk pet — face engine, mood, touch reactions, EEPROM persistence

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Mortdecai
2026-07-11 23:21:21 -04:00
commit 416bca9168
6 changed files with 475 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
# googly
A standalone desk pet for Seth's desk at Google. Arduino Mega 2560 + 3.5" UNO-form
8-bit ILI9486 touch shield. Plug into any USB power brick and it lives: a big
expressive face (Cozmo/EVE style) that blinks, looks around, sleeps, and reacts
to touch.
- Tap = poke (surprise → happy; rapid pokes → dizzy spiral eyes)
- Long press = pet (closed eyes, blush; hearts if it likes you enough)
- 30 min ignored = sleep (z z z), any touch wakes it
- Rare idle events: sneeze, yawn, watches a fly cross the screen
- One mood value 0100: interaction raises it, uptime decays it. Persisted in
EEPROM (write-throttled). It sulks but never dies — zero-guilt Tamagotchi.
No network, no host, no SD needed. Face is drawn procedurally with GFX
primitives; animation only redraws eye/mouth regions (full-screen redraw is too
slow on the 8-bit bus).