How to control the speed of line drawing

Line animation V1 | Babylon.js Playground (babylonjs.com)
I use time to control the speed of drawing, but there is a Caton phenomenon, which is not what I want. Is there any other way to control the speed of drawing lines?

You should probably rely on engine.deltaTime and draw every frame if you do not want to feel any lag

1 Like