Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you're interested in how to implement SDF and MSDF in WebGL / WebGPU, take a look at this tutorial I wrote: https://infinitecanvas.cc/guide/lesson-015#msdf.


This looks great. I have some interest in WGPU (Rust's WebGPU implementation), and your tutorial here appears to be an advance course on it--thought it doesn't advertise itself as such. I've translated JavaScript examples to Rust before, and it's ideal for learning, because I can't just copy/paste code, but the APIs are close enough that it's easy to port the code and it gives you an excuse to get used to using the WGPU docs.


wow, I love the format of the site.

Can you tell me more about it? I love making tutorials about GPU stuff and I would love to structure them like yours.

Is it an existing template? Is it part of some sort of course?


Looks like a repurposed VitePress docs template, which is a perfectly fine solution for text-heavy content. The site appears to be open-source, there are links to the repo at the bottom of each page: https://github.com/xiaoiver/infinite-canvas-tutorial


I'm using vitepress which has a lot of built-in markdown extensions. https://vitepress.dev/guide/markdown




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: