71 points by SuboptimalEng 16 days ago | 11 comments
Sub-pixel distance transform (2023)(acko.net) This page includes diagrams in WebGPU, which has limited browser support. For the full experience, use Chrome on Windows or Mac, or a developer build on other platforms.
183 points by ChadNauseam 22 days ago | 25 comments
Show HN: I've made a Monte-Carlo raytracer for glTF scenes in WebGPU(github.com/lisyarus) This is a GPU "software" raytracer (i.e. using manual ray-scene intersections and not RTX) written using the WebGPU API. It expects a single glTF scene as input. It supports flat-colored and textured materials with albedo, normal, and material maps. It doesn't support refraction (yet).
97 points by lukastyrychtr 49 days ago | 12 comments
What's Next for WebGPU(chrome.com) The WebGPU specification is always evolving, with major companies like Google, Mozilla, Apple, Intel, and Microsoft meeting weekly to discuss its development.
Optimizing a WebGPU Matmul Kernel for 1 TFLOP(zanussbaum.substack.com) I work at Nomic, where many of my colleagues work on building large TSNE-like visualizations work in the browser1. Showing tens of millions of data points in the browser without rendering your computer an oven is no easy challenge. I overhear many of the scaling problems solved by Deepscatter, first developed by Ben Schmidt.
Show HN: WebGPU Puzzles - Learn GPU Programming in Your Browser(answer.ai) WebGPU has arrived, opening a direct pipeline from the web browser to your local GPU. We’ve built WebGPU Puzzles to help you try it and explore the possibilities. It’s a simple, interactive way to learn GPU programming using nothing but your browser: