Pow node? #95
treefrogman
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Hehe pretty fun little note generator you got there. For the pow node, you'd want just a base and exponent input, base/exp? One thing is that we can't ever produce NaN values (because they propagate everywhere), so we'd need to figure out all the values that produce corner cases and always return zero or something like that. Like I'm assuming we don't want to support a base less than zero, or an exponent less than zero. Might also be able to just use the JS Math.pow and return 0 whenever it produces NaN. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Granted, this was a lot of fun to figure out: https://noisecraft.app/607
However, it could be pretty handy to be able to do that more compactly—even if/when we do get a quantizer node.
Beta Was this translation helpful? Give feedback.
All reactions