Pixie_Chroma icon indicating copy to clipboard operation
Pixie_Chroma copied to clipboard

Reduce XY Table to only using fixed, single template map, instead of fresh calculating one the size of the matrix every begin()

Open connornishijima opened this issue 2 years ago • 0 comments

Keep a template map for a single display's worth of XY lookup table in PROGMEM, and do extra calculations during xy() calls to loop over it and discover the 1D indices of 2D coordinates in displays of any size, versus the current method of keeping an entire int16_t[matrix_width * matrix_height] map in RAM.

connornishijima avatar Aug 07 '22 03:08 connornishijima