Hacker News new | ask | show | jobs
by crazyloglad 2800 days ago
at the very least, they'll have to work -hard- to get it as easy to hack as https://github.com/letoram/durden/blob/master/durden/tools/f... :-)
1 comments

Is this using LuaJIT or just plain Lua?

Because I get the impression this (not-C, not-Rust, not-stereotypically-fast) code is what's running at 60(?)fps, doing the actual deformation animation.

Nice.

Both are supported, but it's not particularly heavy - it's only running at a monotonic clock of 25Hz (decoupled from display updates and deliberately chosen to not be evenly divisible with 60Hz to pinpoint animation issues).

Alas, the improvement that should really be made is to encode both n and n+1 in the same update and interpolate in the vertex shader, not hard here but I was lazy..