Jax's true calling: Ray-Marching renderers on WebGL
BenoitP
72 points
9 comments
April 01, 2026
Related Discussions
Found 5 related stories in 51.3ms across 3,471 title embeddings via pgvector HNSW
- Voxile: A ray-traced game made in its own engine and programming language spacemarine1 · 157 pts · March 03, 2026 · 49% similar
- Show HN: Ripl – A unified 2D/3D engine for Canvas, SVG, WebGPU, and the Terminal andrewcourtice · 15 pts · March 19, 2026 · 48% similar
- The Xkcd thing, now interactive memalign · 1209 pts · March 03, 2026 · 48% similar
- Professional video editing, right in the browser with WebGPU and WASM mohebifar · 196 pts · March 21, 2026 · 44% similar
- HarfBuzz Slug Support with WebGL mcraiha · 27 pts · April 03, 2026 · 44% similar
Discussion Highlights (5 comments)
VHRanger
Pytorch is such a maddening mess of half implemented research features in a state of Heisen-deprecation, Jax becomes more appealing to me by the day.
corndoge
Moving my thumb across the image causes the ball and cube graphic to disappear to black and then scrolls the page. Firefox on iOS
dvt
> the thing JAX was truly meant for: a graphics renderer I mean, just like ray-tracing, SDF (ray-marching) is neat, but basically everything useful is expensive or hard to do (collisions, meshes, texturing etc.). I mean mathy stuff is easier (rotations, unions/intersections, function composition, etc.) but 3D is usually used in either modeling software or video games, which care more about the former than they do the latter.
vatsachak
Yeah GPU compilers will be used for way more things than AI because parallel = good
heisenzombie
Jax is super fun to use outside of ml! Recently I had fun reimplementing an old (but still usable!) code for accelerator optics. It involved transfer matrices for a 6D phase space to second order. Most of the FORTRAN77 source code was just pages and pages of hand-differentiated 6x6x6 matrices (with quite non-trivial elements) and the plumbing to painstakingly propagate those jacobians around for fitting... all replaced with a single, magic, call to jax.grad(). Felt like cheating! I'm also super interested in its application to modelling, e.g. projects like https://github.com/deepmodeling/jax-fem -- particularly for chaining different sorts of simulations and analysis together and getting gradients through the lot. Also quite magic!