Webray, Editor + Raytracer for web #5221
BLaZeKiLL
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wanted to learn Rust for a long time, but I needed help to develop an exciting project. One day, I came across WebGPU, a new API for GPU programming for the web. The WebGPU implementation for Mozilla is done in Rust, so I present WebRay, an open-source GPU-powered ray tracer and a svelte-based editor.
Check it out here - https://blazekill.github.io/webray/
The source code is available here - https://github.com/BLaZeKiLL/webray
The renderer is compiled to web assembly and is available as an npm package and a native cli tool. The core render kernel is implemented as a WGSL compute shader.
The web ray editor is fully configurable and is built using Svelte and Tailwind. It supports saving and loading of scenes as well as thoroughly editing scenes. A scene is just a JSON file.
Feel free to DM me any renders you do <3.
Beta Was this translation helpful? Give feedback.
All reactions