Ahh on is there a equivalent script in chdk? Thank for the response
Unfortunately, no. There is no equivalent script.
I'm guessing about what was done here. While Lua might be fast enough to do the necessary processing it would likely required a camera with quite a bit of free memory and some carefully optimized C code to really make this smooth. Access to the LCD image buffer and the LCD display buffer are also needed and those are not available to a script.
And you can forget about even starting to try this with uBASIC.
It's too bad the original author did not make the source code available.