Skip to content
This repository was archived by the owner on Feb 16, 2025. It is now read-only.
This repository was archived by the owner on Feb 16, 2025. It is now read-only.

feat: Compile-time "Animation" creation #161

@sofianedjerbi

Description

@sofianedjerbi

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    up-for-grabsThe maintener is unlikely to work on this anytime soon. If you want it, build it!

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions