This repository was archived by the owner on Feb 16, 2025. It is now read-only.
feat: Compile-time "Animation" creation #161
Labels
up-for-grabs
The maintener is unlikely to work on this anytime soon. If you want it, build it!
Current Behavior
Currently, the Animation structures are constructed at runtime, which works well for dynamic and interactive applications.
Desired Feature
I propose adding the capability to build Animation structures at compile time. This feature would allow developers to define animations that are static and unchanging throughout the application's life, ensuring these animations are constructed and optimized during compilation, reducing runtime overhead and potentially improving the application's overall performance. (The main reason is for design purposes)
Possible Implementation
I believe this feature could be implemented by providing a macro or a set of const functions that allow for the construction of Animation structures with fixed parameters. This way, developers can opt-in to compile time construction where it makes sense for their application.
The text was updated successfully, but these errors were encountered: