Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
CKurdu last edited by CKurdu
I am trying to implement this animation into my application.
I need window.requestAnimationFrame equivalent. I found that requestAnimationFrame in Canvas item.
It behaves different because it creates "RangeError: Maximum call stack size exceeded."
I think it immediately creates a paint request.
I also tried markDirty and paintRequest methods on paint event but they do not create continues requests.
How can I do it without create a timer?
CKurdu last edited by
I think I solved the problem by myself.
Full example is here.