Skip to content

Instantly share code, notes, and snippets.

@jamesporter
Created December 26, 2025 16:16
Show Gist options
  • Select an option

  • Save jamesporter/6d98fc9d32daebf41eec81443cbe2a5d to your computer and use it in GitHub Desktop.

Select an option

Save jamesporter/6d98fc9d32daebf41eec81443cbe2a5d to your computer and use it in GitHub Desktop.
Little hello-colours for Inky Frame
import inky_frame
import random
from picographics import PicoGraphics, DISPLAY_INKY_FRAME as DISPLAY
graphics = PicoGraphics(DISPLAY)
graphics.set_pen(inky_frame.WHITE)
graphics.clear()
for x in range(30):
for y in range(22):
graphics.set_pen(random.randint(0,6))
graphics.rectangle(x * 20, y * 20, 20, 20)
graphics.update()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment