-
Notifications
You must be signed in to change notification settings - Fork 7
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
Reverse checkbox on smoke ring #33
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder about always putting speed
and reverse
at the end so it doesn't break up the sliders too much and is easy to find?
const matchingPreset = presets.find((preset) => { | ||
// Remove anything present in the preset that is not a param | ||
const { seed, ...rest } = preset.params; | ||
// We might need to remove properties present in the preset that are not changeable params in the future |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I added this bit because it was causing it to crash when seed
was provided by not expected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed it because I thought all presets now had seed
in Leva, but I now see that it's not always the case (dots grid doesn't have it, for example). I'll put it back 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I'd actually like to not have seed
in Leva unless it's a non-animated shader. It just seems to confuse folks.
…ed in highlight hook
I think Ksenia updated the smoke ring in #34 so I'll close this, thanks for making the example. |
reverse-checkbox.mov