Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: overhaul animation configuration #251

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

j-hui
Copy link
Owner

@j-hui j-hui commented Jul 7, 2024

This is still a work in progress and needs more thought.

Goals of this overhaul are:

  • Make configuration concise, explicit, and extensible
  • Get rid of ambiguity warts like { "dots" } vs "dots" and { my_pat } vs { pattern = my_pat }
  • Introduce a default BAD pattern that is shown when patterns are misconfigured
  • Make it easier to inspect, debug, and compose animations

At the moment, animations are just a mess of types. Maybe it's time to introduce a proper Anime class/interface with methods and everything.

When this lands I will release it as part of V2.

Closes #161

This is still a work in progress and needs more thought.

Goals of this overhaul are:

-       Make configuration concise, explicit, and extensible
-       Get rid of ambiguity warts like `{ "dots" }` vs `"dots"`
-       Introduce a default BAD pattern that is shown when patterns are
        misconfigured
-       Make it easier to inspect, debug, and compose animations

At the moment, animations are just a mess of types. Maybe it's time to
introduce a proper `Anime` class/interface with methods and everything.
@j-hui j-hui marked this pull request as draft July 7, 2024 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: more anime combinators
1 participant