How can I render this faster #3307
Unanswered
JordanKlaers
asked this question in
Q&A - General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am reading a sensor to get a position which I then use to draw a dot that corresponds to the rotation reading.
I am drawing into a sprite that is no bigger than the dot being draw, then I am using the pushRotated method to push that into another sprite (which is current entierly transparent, but I do want to eventually add more content) and I then push the background sprite into view.
I have two tasks running on each core of my esp32-s3 yet the drawing speed is extreemly slow. When I spin the motor producing a new angle and the dot moves, it appears choppy like it has a low fps.
I would love some suggestions on alternative ways I could approach this to speed things up.
The main part of the code:
Beta Was this translation helpful? Give feedback.
All reactions