Support of Eight Scan panels (8 rows in a frame) #819
board707
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Working with matrices sometimes I come across panels that in the @mrcodetastic's accepted terminology (by analogy with quarter scan panels) should be called eight scans.


No need to confuse them with panels with a scan of 1/8, I mean the case when eight lines are simultaneously illuminated in each frame - for example 64x32 1/4 or like the panel 32x16 1/2 below:
see the label:
Basicly, working with such panels using the
VirtualMatrixPanel
class is similar to quarter scan panels, only in this case we use virtual coordinates stretched along the x-axis by 4 times and compressed by the same amount along the y-axis:And we will need more sophisticated pixel mapping, because we have to describe the distribution of pixels across 4 rows. The mapping of my panel can be schematically described as follows (first and third row in a frame goes from right to left, 2nd and 4th - in opposite, the pixel base is 8 pixels);
After some thought, I described it in the
getCoords()
method as follows:These settings allowed me to get the correct display of pixels on the panel.
I hope this will be useful to someone.
Beta Was this translation helpful? Give feedback.
All reactions