ChrisBuilds / terminaltexteffects

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

Is is possible to generate the animation in a canva that is larger than the text #14

Closed mremond closed 1 month ago

mremond commented 1 month ago

I would like to generate square animation like the one you are demoing.

I was wondering how you would define a canva size on which the animation would be centered ?

Thanks !

ChrisBuilds commented 1 month ago

At this time, the canvas is automatically upper-limited to the bounding box which surrounds your text. It can be set smaller using the --canvas-height and --canvas-width args. That being said, the ability to set the canvas to arbitrary sizes makes sense. I'll add that feature. I'll also look into justifying the text within the canvas. Thanks for the idea.

ChrisBuilds commented 1 month ago

Added in 0.11.0.

https://chrisbuilds.github.io/terminaltexteffects/changeblog/changeblog_0.11.0/