Skip to content

feat: Migrate Pillow simulator (sim_backend). #3

@nedseb

Description

@nedseb

Description

Move the Pillow-based display simulator from micropython-steami-tutorials.

Source

micropython-steami-tutorials/sim/sim_backend.py (195 lines)

Tasks

  • Copy sim/sim_backend.py
  • Adapt imports to reference steami_screen from micropython-steami-lib
  • Verify SimBackend works standalone: python -c "from sim.sim_backend import SimBackend; ..."
  • Add basic test

SimBackend API

  • Implements the same interface as SSD1327Display/GC9A01Display (fill, pixel, text, line, etc.)
  • Adds save(path, circular=True) for PNG output
  • Font scaling to match MicroPython 8x8 pixel font weight
  • Circular mask for round screen simulation

Parent

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions