Haha, yes. Neither do I. That is to say there is no good way.
You are correct, the Serial.print stuff is just standing in for the RenderFrame calls. Because of your data-centered approach, I am unable to actually run your code.
So the wokwi above is an attempt to put my idea into your framework. Reread #59 and #65, put your finger on the code in this improved version linked/demo below. It no longer needs a mystery fix, I found two errors that eluded me for I will not tell you how long. One was a typo. Anyway
is as simple as it gets - the animation function has additions, and you call it a little differently.
Just read it and have your animation function nearby and look for the differences.
I cannot recommend that you go to the trouble and retrofit all your animation functions with this idea. It cold work. More likely it will introduce a nasty bunch of unintended consequences and we will curse the day the plan to drain the swamp was hatched.
At this point, I recommend you learn a few new things and write a version 2. With all where it might end up needing to go planned ahead of time⦠yeah, I do that alla time. ![]()
a7