Investigate if it would be feasible to pre-render all patterns on load, and only updated them during edit. If it takes too much memory, perhaps it would be possible to hold a cache of pre-rendered, that is updated during playback in a background thread?
This would also allow showing the previous and next patterns in the sequence as they come into view, perhaps faded out with a canvas overlay.
Description
Investigate if it would be feasible to pre-render all patterns on load, and only updated them during edit. If it takes too much memory, perhaps it would be possible to hold a cache of pre-rendered, that is updated during playback in a background thread?
This would also allow showing the previous and next patterns in the sequence as they come into view, perhaps faded out with a canvas overlay.