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

Optimize gradients and transforms #34

Merged
merged 5 commits into from
Feb 4, 2023
Merged

Conversation

abnormalbrain
Copy link
Owner

Adds state tracking to particle gradients, which allows gradients with more than two points to reduce iterations substantially.

For the basic demo, this reduced time computing particle color by about 33%.

image

The inlining of lerp made transform computations quite about 22% faster in the same test.

image

@abnormalbrain abnormalbrain changed the title Optimize gradients Optimize gradients and transforms Feb 4, 2023
@abnormalbrain abnormalbrain merged commit 0168a25 into main Feb 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants