Show HN: WebGPU Particles Simulation
github.com
github.com
> Three.js interactive webgl particle wave simulator: https://threejs.org/examples/webgl_points_waves.html
> [Curl, Vorticity,]
From https://news.ycombinator.com/item?id=31049970 re: Deep Learning / CFS: Computational Fluid Dynamics:
> google/jax-cfd https://github.com/google/jax-cfd#other-awesome-projects lists "Other differentiable CFD codes compatible with deep learning"
Geiss (1998; now on GitHub) and Smoke (2002) https://www.geisswerks.com/
Smoke does 2D Navier-Stokes optionally as a wallpaper or a screensaver. There are current mobile apps that work as wallpapers.
ProjectM is an open source MilkDrop implementation, which supports input [audio] waveforms for music data visualization; IIRC it's already ported to WebGL but not yet WebGPU.
IDK how slow Navier-Stokes or Gross-Pitaevski would be in WASM with WebGL and or WebGPU
iOS 17.1.2, iPhone 13 pro. no option to try cpu instead, just the error message.
For a very long time Apple's platforms were the only ones with a proper OpenCL support, until they gave up and went their own merry way, without Khronos politics.
I'm curious about this, since I never had a problem with OpenCL on Intel, AMD, Nvidia and am pretty sure I did with Apple in the beginning. Shipping two commercial OpenCL apps since 2010 (and they still work excellently on all of them).
Yeah, it was mostly printf debugging, I imagine.
The drivers apparently not always that good, specially in regards to OpenCL 2.x.
Then there was zero support on Android, with Google pushing Renderscript instead.
WebGL pixels works in the same browser, e.g.: https://plotapi.com/docs/visualizations/terminus/#default-vi...