Actually good idea showing the curve drawn in Slow Motion.
I know of a Lazarus Hilbert Curve program (attached below) that someone made with a slider and I think a Timer to alter the speed at which it is drawn.
Maybe download that and see how it was done.
I am not an expert in all things Lazarus, but I do like make Geometrical Curvy Things (especially fractals).