-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[example] Add poission disk sampling example #6852
[example] Add poission disk sampling example #6852
Conversation
✅ Deploy Preview for docsite-preview ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
for more information, see https://pre-commit.ci
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 got the same problem as you at first. Then I deleted my |
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.
LGTM, will be nicer if you can add some comments to the code :D
import taichi as ti | ||
import taichi.math as tm | ||
|
||
ti.init(arch=ti.gpu) |
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.
@neozhaoliang these should be moved into main function as well.
This PR adds the code in this repo: https://github.com/taichi-dev/poisson-sampling-homework to the example list Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This PR adds the code in this repo: https://github.com/taichi-dev/poisson-sampling-homework to the example list