Desk Cat · browser remix
By chriswhp04
A browser take on the viral AI desk-cat builds — a pixel cat that lives on your desk. It notices you arrive (move your cursor close), tracks you around the pad, purrs when you pet it, and bats a paw when you get too close to its face. Clean-room MicroPython with our own pixel art; inspired by the desk-cat genre. (Webcam presence lands later — today the cursor is your presence.)
Try changing: ① the purr length (_purr_until) — make petting last longer. ② the whisker length in _draw_cat() — give it a majestic mustache. ③ the paw-swat distance threshold (dist < 20) — make it grumpier.
Parts
- OLED display (SSD1306, 0.96")
- Micro servo (SG90) × 3
- Passive buzzer
- Battery power module
Tags: pets