Skip to content

Stray pixels when overwriting lines with FAST_LINE enabled #24

@MakerMatrix

Description

@MakerMatrix

I have a code that scrolls a real-time xy scatter plot. I only update the lines in the scatter plot, for speed (love your library for this - it made that POSSIBLE in the first place). i.e. I do not erase the screen and redraw them...

What I found is that when I redraw the lines in the background color, maybe 2-3% of the time it leaves a stray pixel of the old line behind. It could in fact be more frequent than that, because in many (maybe most) cases the new line segments would write over the stray pixels anyway. But that's what the casual user would notice in my charting app.

This never occurs if I comment out #define FAST_LINE in User_Setup.h

It feels a little like some kind of an off by one error but that is just a gut feeling. Have you seen this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions