Answer the question
In order to leave comments, you need to log in
What are the ways to optimize rendering on HTML5 Canvas?
It is necessary to speed up the operation of the Canvas, on which some scheme is displayed in real time.
Problems in using "ordinary" optimization methods arise due to the fact that:
Answer the question
In order to leave comments, you need to log in
Maybe I will answer not quite the essence of the question, but I will suggest using a library specially created for such tasks: d3 . This will allow you to shift all optimization problems onto the shoulders of the library itself and concentrate on completing the original task.
There is everything you need: schema movement (no borders), zoom, events, optimized schema update when data changes, and more. Check out the demos.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question