Originally Posted By: sivan
(for me "var fps = 1 / (time_frame / 16);" does not work properly)

It seems to work fine for me, but I'll try your method if I run in to issues.
Thank you two for the help!