-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Update fluid with atomics example #671
base: main
Are you sure you want to change the base?
Conversation
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
|
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.
- remember to merge the main branch, because experimental is no more
- brush size value is effectively shifted by 1 (setting 0 draws 1 square)
- it is very difficult to draw anything with timestep set to low values and size to high (high performance demand) (don't know if we can do anything about this, maybe rearranging the order of operations could help somehow?)
apps/typegpu-docs/src/content/examples/simulation/fluid-with-atomics/index.ts
Outdated
Show resolved
Hide resolved
apps/typegpu-docs/src/content/examples/simulation/fluid-with-atomics/index.ts
Outdated
Show resolved
Hide resolved
apps/typegpu-docs/src/content/examples/simulation/fluid-with-atomics/index.ts
Outdated
Show resolved
Hide resolved
apps/typegpu-docs/src/content/examples/simulation/fluid-with-atomics/index.ts
Outdated
Show resolved
Hide resolved
apps/typegpu-docs/src/content/examples/simulation/fluid-with-atomics/index.ts
Outdated
Show resolved
Hide resolved
apps/typegpu-docs/src/content/examples/simulation/fluid-with-atomics/index.ts
Outdated
Show resolved
Hide resolved
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.
Great job! 🌊
closes #657