Draw sprites and animations in Snakie and bring a blinking robot face to life on an OLED screen with MicroPython
By Kevin McAleer, 3 Minutes
Page last updated November 21, 2026
Overview
A robot with a face feels alive. Two eyes that blink, glance sideways and droop when the lights go out will get more smiles than any amount of clever motor code.
In this course you’ll draw that face yourself, one pixel at a time, in Snakie’s Sprite editor. Then you’ll write the MicroPython that puts it on a small OLED screen and brings it to life. You don’t need the screen to start. Snakie has a simulated one built in.
That’s the animation you’ll make in the first half of the course: five frames, 16 pixels square.
New to Snakie? Watch Kev’s introduction above first, then come back.
Course Content
How tiny screens work, and what a sprite is
A tour of the Sprite editor
Drawing an eye with the draw, erase and fill tools
Adding frames to make it blink and look around
Saving your work and exporting it as code, a GIF or a picture
How a picture becomes a handful of bytes
Drawing on a screen with MicroPython’s framebuf
Showing your sprite, then animating it
Scaling the eyes up and making them react to a light sensor
Loading sprite files straight from the board
Moving it all to a real SSD1306 OLED
Key Results
After this course you will be able to:
Draw 1-bit sprites and frame animations in Snakie
Export a sprite as a MicroPython module and use it in a program
Explain how rows of pixels are packed into bytes
Use framebuf to draw shapes, text and sprites
Build an animation loop that feels alive
Run the same face on a real OLED display
What you’ll need
Snakie, in your browser at app.snakie.org or the desktop app. Everything up to the last two lessons runs on the simulated device
Comments