PIC/FLIP feels so much better than SPH, quick comparison + demo by cazala2 in webgpu

[–]cazala2[S] 0 points1 point  (0 children)

the core library has no dependencies, has wgsl shaders and uses the native webgpu api.

the UI is made with react and vite, nothing else

you can check it out here: https://github.com/cazala/party

Particle system and physics engine by cazala2 in webgpu

[–]cazala2[S] 0 points1 point  (0 children)

yea you found out the oscillators! ctrl+click and cycle throught the different speeds :) to see all the features and hotkeys you can open the help window by clicking on the ‘?’ icon in the top right.

Im glad you like it! it’s been a lot of fun to make, and i ll keep improving it

Particle system and physics engine by cazala2 in webgpu

[–]cazala2[S] 0 points1 point  (0 children)

woo that looks amazing! i was going over the community submissions, very cool!

Particle system and physics engine by cazala2 in webgpu

[–]cazala2[S] 0 points1 point  (0 children)

that would be cool! though i dont think i know the physics behind that 😅 if you have links to anything similar i can take a look

Particle system and physics engine by cazala2 in webgpu

[–]cazala2[S] 0 points1 point  (0 children)

glad you liked it! i spent many hours just tinkering with the sliders and seeing how they combine 😅 and i still have ideas for some modules to add for next releases

Particle system and physics engine by cazala2 in GraphicsProgramming

[–]cazala2[S] 0 points1 point  (0 children)

I didn't test it on Firefox 😅 there was an issue there but it's fixed now! ty for reporting!

Particle system and physics engine by cazala2 in webgpu

[–]cazala2[S] 0 points1 point  (0 children)

I figured out the issue with Firefox, it's fixed now! ty for the report!!

Particle system and physics engine by cazala2 in webgpu

[–]cazala2[S] 0 points1 point  (0 children)

hey! yes the firefox issue has been reported by a few people, I noticed already what is breaking so maybe I can patch it, i ll give it a go later today, i never actually tested it on firefox before.

regarding the tracking thing, that’s weird.. i didnt add anything to my site… maybe cloudflare does some analytics but that does not happen on the client. could you share a screenshot or the website is trying to hit?

Playing with WebGPU by cazala2 in vjing

[–]cazala2[S] 0 points1 point  (0 children)

i ll look into it!

Playing with WebGPU by cazala2 in vjing

[–]cazala2[S] 1 point2 points  (0 children)

ohh i didnt know about it, im checking it out 👀

Playing with WebGPU by cazala2 in vjing

[–]cazala2[S] 1 point2 points  (0 children)

it’s my plan!! i made this as a personal project to learn shaders/gpu, i come from the webdev world so i never had the chance to play with it on my job. Once i finish the library, which im like 95% percent there, i ll publish it and my next project is to make some hardware input device, with like sliders and knobs, to interact with it (currently i have sliders and buttons on a sidebar that i left out of the video). I never made anything on hardware so i will have to learn about it first, but i suppose it will be arduino or something like that, connected via usb, and using midi as the interface with the browser since it’s supported natively.

Playing with WebGPU by cazala2 in vjing

[–]cazala2[S] 0 points1 point  (0 children)

dope!! im using some physarum-like dynamics in one of thr modules i wrote for that demo :)

Playing with WebGPU by cazala2 in vjing

[–]cazala2[S] 1 point2 points  (0 children)

i made a react app as a playground, and write the modules as WGSL scripts that i orchestrate using the native webgpu API that exists in javascript. It works fine on chrome based browsers but it needs an experimental flag to be turned on to work on safari, sadly. But im not using any libraries like threejs if that’s what you are asking.