anim8
anim8 copied to clipboard
(suggestion)fps2ms
What about add fps to ms converting into library? So if i want to export animation with specific framerate, after creating grid, i can define it as:
animation = grid1("1-8", 1), anim8.fps2ms(24))
instead of cryptic:
animation = grid1("1-8", 1), 0.041666667)
or
animation = grid1("1-8", 1), 1 / 24)
So it can be more readable? While i can manually define it as:
anim8.fps2ms = function(fps)
return 1 / fps
end
I rather prefer have it available out-of-box What to you think?