-
Notifications
You must be signed in to change notification settings - Fork 302
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
Boids Sprites: rotation and velocity behavior visualized with color #227
Conversation
checking: are you aware of #226 and that this repository will be transferred to a new org? |
I wasn't aware. Looks like good news. I've made several improvements that might be of interest. |
Feel free to make PRs. There isn't a real difference between whether we do it now or after the transfer. |
Sounds good. I certainly will have some more coming shortly. I'm curious - |
More examples can be good if they teach new concepts. For example there are various issues in this repo asking for
We'll need to figure out how structuring the information will be most useful in the community.
|
Ok, yes that is a great start of a list of new examples to aim for. Also in response to the points you mentions in how the samples are structured.
Agreed, particularity examples utilizing compute shaders and deferred rendering techniques.
That could certainly be helpful. The way that Svelte handles it's tutorial, has always seemed like a good format for including explanations alongside code samples.
Yes it appears current issues with the code editor might revolve around incorrectly nested dom elements, which are causing miss layering during vertical scrolling. Also it might be helpful to enable the ability to edit the main file of each example,
Working with iframes so far has seemed to work out great. Injecting in additional meta and script tags, is one solution I came up with, for keeping extra code out of the examples in order to keep them short and succinct to the example demonstrated. |
Thanks for putting together these great samples!
Here is a small addition to help improve visualizing boids (subjective).
Solely aesthetic - and this change could be viewed subjectively if it’s an improvement or not.
To me, this greatly helps in visualizing the dense bird movements, making the cluster and movements appear more 3D.
Thought I would share, after implementing this here: https://www.wgsl.dev/editor?example=particles&canvas=webgpu
No worries if you don’t think it’s necessary to include here.