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

improve new draw logic #372

Merged
merged 11 commits into from Jan 14, 2023
Merged

improve new draw logic #372

merged 11 commits into from Jan 14, 2023

Conversation

felixroos
Copy link
Collaborator

The new draw logic now supports past present and future, allowing to pass a time range like [-2,2].
Each frame now queries only the incoming future time slice, which improves performance quite a lot.
When the pattern is updated, only the future is reevaluated, while the past remains as already played.

MiniRepl can now draw the first frame on load + has some handy options for documentation, see docs.mdx for more info.
The mini notation chapter is now fully visualized.
The Pattern core representation still has to be refactored to support context / metadata, so far the context uses a mutation as a workaround.

@felixroos felixroos merged commit 3626799 into main Jan 14, 2023
@felixroos felixroos deleted the local-draw branch January 14, 2023 10:07
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.

None yet

1 participant