Skip to content

Expose Content so we can manipulate it directlyΒ #4

@riskable

Description

@riskable

I want to be able to iterate over all the Pixels in my matrix, modifying them slightly as I go but I can't! Instead I have to keep a separate copy of the exact same data that will exist inside the SmartLedMatrix and manipulate that first then re-write it to the matrix. This seems inefficient but... Maybe this is intentional?

If it is intentional then carry on but it sure would be nice if I could do something like for pixel in matrix.iter_mut() { /* Manipulate the pixel */ } πŸ‘

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions