Pixel Art and Animation in Snakie

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


Course Cover Image


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.

The eye animation you will draw

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
  • A little MicroPython: variables, loops and functions. Learn MicroPython - The basics covers all of it
  • Optional, for the final lesson: a Raspberry Pi Pico and an SSD1306 OLED display (128×64, I2C). They cost a few pounds

If Snakie itself is new to you, take Getting Started with Snakie first. If you haven’t used the Instrument Dock yet, Snakie Instruments is a good companion.


How the course works

Each lesson is short and ends with something to try and a quick quiz. Several lessons have a code box you can run right on the page, like this one:

rows = [
    "..####..",
    ".#....#.",
    "#.#..#.#",
    "#......#",
    "#.#..#.#",
    "#..##..#",
    ".#....#.",
    "..####..",
]

for row in rows:
    print(row.replace("#", "██").replace(".", "  "))

Press Run. Then change some . to # and run it again. You’ve just edited a sprite by hand. The Sprite editor makes that a lot more comfortable.

The code boxes show text. To see sprites on the simulated screen you’ll use the full Snakie app, and we’ll walk through that step by step.

Next >

You can use the arrows  ← → on your keyboard to navigate between lessons.

Course complete

Congratulations, you finished Pixel Art and Animation in Snakie!

That's all 14 lessons done. Let people know, it's a great way to inspire someone else to start.

Share card: I completed Pixel Art and Animation in Snakie on KevsRobots
Post Bluesky LinkedIn Facebook


What are you looking for?
Watch Videos Get Ideas Learn Something Read a Review Read the Blog Search
... Z Z z