Display screen glitches - too fast to handle?

Hi all!

Almost finished my first patch and tweaking the display screen, the patch is loosely inspired by the Yamaha Tenori-On bounce mode. Bouncing balls drop from a random height and sound when they hit the floor. The patch is based on a diatonic major scale with counters running in palindrome mode.

Display works great at lower tempos, but as soon as I get about halfway on the dial it starts glitching out. I am wondering if I am asking too much of the display (the counters are moving very fast) or if there is something I can do within the patch to stop the glitching? (If I remove all animation patch works perfectly with no audio glitches)

Any thoughts much appreciated!

Here is video: Boucing Balls Display Test - YouTube

From the C & G graphics demo. “The internal update rate is around 20 frames per second, so you shouldn’t send commands (or groups of commands e.g. to draw a frame) faster than 50 ms, it will only eat CPU.”

So try to call graphics updates less somehow. No idea how to do that from watching the video. Looks great though!

how are you buffering the frames?