Skip to content

impr: Add tanh and add a way to select sharpening function in perlin noise example #1314

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

reczkok
Copy link
Collaborator

@reczkok reczkok commented May 28, 2025

Tanh does not create sharp value changes around 0 so you get a different effect
output (1)

Copy link

github-actions bot commented May 28, 2025

pkg.pr.new

packages

pnpm i https://pkg.pr.new/software-mansion/TypeGPU/typegpu@1314
pnpm i https://pkg.pr.new/software-mansion/TypeGPU/typegpu@c7528be6201d947bd94075e7c67741c70efd584f

benchmark
view benchmark

commit
view commit

@reczkok reczkok requested a review from iwoplaza May 28, 2025 16:41
Copy link
Collaborator

@iwoplaza iwoplaza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! 💜

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.

2 participants