Repository navigation
Allow waves to change direction seamlessly (From TheDan64) - #43
Merged
Merged
Conversation
Neopallium
commented
Jan 3, 2026
Comment on lines
+71
to
+74
| // Snapshot current blended state as "old" direction | ||
| self.dir_a = self.current_blended(); | ||
| self.dir_b = normalized; | ||
| self.blend = 0.0; |
Owner
Author
There was a problem hiding this comment.
Might want to change how "snapshotting" the old blend works here.
Maybe something like:
- If
blend <= ~0.5, don't changedir_a. - If
blend >= ~0.5, setdir_a = dir_b.
Also if the old blend is close to halfway, maybe start the new blend at about the same. It might make the visual jump smaller.
Neopallium
force-pushed
the
TheDan64-wave-dir
branch
from
January 17, 2026 19:20
d61a6d2 to
08c74ca
Compare
Owner
Author
|
@TheDan64 Merged and released as version 0.18. |
Contributor
|
@Neopallium Thank you!! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updated PR #42