ChrisBuilds / terminaltexteffects

TerminalTextEffects (TTE) is a terminal visual effects engine, application, and Python library.
https://chrisbuilds.github.io/terminaltexteffects/
MIT License
2.93k stars 53 forks source link

Expected relation between text size and time to run animation? #22

Open adavies42 opened 6 months ago

adavies42 commented 6 months ago

I've been testing the "waves" effect, and noticed it seems to slow down significantly as the text gets bigger. On a 26x67 text similar to the one you use in the showroom, time tte waves takes 12 seconds; when I copy its contents to make a 52x139 text, it takes 46.5 seconds, or about 4x longer. 26x139 and 52x67 versions both took the original 12 seconds though.

Is this expected?

ChrisBuilds commented 6 months ago

Based on some preliminary profiling, there may be something going on with this particular effect that is resulting in especially poor performance as the dimensions increase. I'll dig into it when I get the opportunity as it will likely improve performance across the library. Thanks.

utf128 commented 6 months ago

This is the case for all the effects, I think?