Skip to content

feat!: overhaul animation configuration#251

Draft
j-hui wants to merge 1 commit intomainfrom
anime-overhaul
Draft

feat!: overhaul animation configuration#251
j-hui wants to merge 1 commit intomainfrom
anime-overhaul

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