a Rust ray tracer that runs on any GPU – even in the browser
I’ve been experimenting with Rust lately and wanted a project that would help me explore some of its lower-level and performance-oriented features. Inspired by Sebastian Lague’s videos, I decided to implement my own ray tracer from scratch. The initial goal was just to render a simple 3D scene in the browser at a reasonable frame rate. It evolved into a small renderer that can: • Run locally or on the web using wgpu and WebAssembly • Perform mesh rendering with a Bounding Volume Hierarchy (BVH) for acceleration • Simulate both direct and indirect illumination for photorealistic results • Be…
a Rust ray tracer that runs on any GPU – even in the browser launched on November 3, 2025 with 95 votes, #347 of 9,795 launches that month and more than 95% of that year's launches.
In plain words
This is a ray tracer built in Rust that runs on any GPU, including in web browsers via WebAssembly. It renders 3D scenes with photorealistic lighting by simulating direct and indirect illumination, using a Bounding Volume Hierarchy for fast mesh rendering. The tool works both as a local application and as a deployable web demo, making it suitable for developers interested in graphics programming and exploring Rust's performance-oriented features.
written from the facts on this page · September 2026
From the sources
A raytracer implementation in Rust. Contribute to tchauffi/rust-raytracer development by creating an account on GitHub.
git clone https://github.com/tchauffi/rust-raytracer.git cd rust-raytracer cargo run --bin live_raytracer --release Use your mouse to rotate the camera and press SPACE to toggle rendering modes! Whether you're learning about ray tracing, exploring Rust graphics programming, or looking for a starting point for your own renderer, this project provides working examples of multiple rendering approaches. The CPU version renders scenes using traditional CPU-based raytracing and outputs to a PPM image file. Best for learning how raytracing works under the hood. # Build and run (outputs to stdout, redirect to file) cargo run --release > output.ppm # Or build first, then run cargo build --release…from github.com
In the maker’s words, at launch
I’ve been experimenting with Rust lately and wanted a project that would help me explore some of its lower-level and performance-oriented features. Inspired by Sebastian Lague’s videos, I decided to implement my own ray tracer from scratch. The initial goal was just to render a simple 3D scene in the browser at a…
Does a similar job
all alternatives →
Monte Carlo ray tracer in Rust2020 · github.com · ▲168Monte Carlo ray tracer developed using Rust. Contribute to Dalamar42/rayt development by creating an account on GitHub.
I wrote a C++ ray tracer from scratch without AIJun 2026 · github.com · ▲155C++ Path Tracer from scratch with zero third-party libraries. - themartiano/luz
ChartGPU – WebGPU-powered charting library (1M points at 60fps)Jan 2026 · github.com · ▲670Creator here. I built ChartGPU because I kept hitting the same wall: charting libraries that claim to be "fast" but choke past 100K data points. The core insight: Canvas2D is fundamentally CPU-bound. Even WebGL chart libraries still do most computation on the CPU. So I moved everything to the GPU via WebGPU: - LTTB downsampling runs as a compute shader - Hit-testing for tooltips/hover is GPU-accelerated - Rendering uses instanced draws (one draw call per series) The result: 1M points at 60fps with smooth zoom/pan. Live demo:…
A toy ray tracer in Rust2015 · github.com · ▲77A toy ray tracer in Rust. Contribute to Twinklebear/tray_rust development by creating an account on GitHub.
I've made a Monte-Carlo raytracer for glTF scenes in WebGPU2024 · github.com · ▲131This is a GPU "software" raytracer (i.e. using manual ray-scene intersections and not RTX) written using the WebGPU API that renders glTF scenes. It supports many materials, textures, material & normal mapping, and heavily relies on multiple importance sampling to speed up convergence.
- IMI made a WebGL-based app that traces images using circles2022 · phqb.github.io · ▲93
I was fascinated by this [0] and this video [1]. After many struggles, I finally built this app that traces images using circles similar to what these videos had shown. The most challenging part (to me) is to find a way to convert images to vector lines. I had tried Potrace, but its output is not suitable for my use case: too many small elements share the same border. Potrace's goal is to represent the original image faithfully using vector lines. But I want to trace the image edges. After searching and trying some Potrace alternatives in vain, I finally found my keyword. Surprisingly (to…
More dev tools this month
the category →

Contribute to oosexgang/hackios-xnu-kernel development by creating an account on GitHub.
Dev tools · 1d ago · github.com

open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.
Dev tools · 29d ago · github.com

Contribute to reladraw/reladraw development by creating an account on GitHub.
Dev tools · 27d ago · github.com
OpenBot▲362Grok Bot alternative: free, local, open-source, multiplayer
Dev tools · 24d ago · openbot.run
Talanoa▲346Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…
Dev tools · 22d ago · talanoa.email
Source: Show HN post ↗ · launch text quoted in part
Launched alongside, November 2025
the whole month →
Guideflow▲1,338Create interactive product demos and step-by-step guides in seconds with Guideflow, the leading AI-powered demo automation tool.
AI · Nov 2025 · guideflow.com

Hardware and software projects by Ali Roberts
Life & fun · Nov 2025 · bitsnpieces.dev
Welltory▲1,028Measure your wellness. Use data to feel great every day.
Work · Nov 2025 · welltory.com

TrustMRR▲833LLM Gateway is a b2b artificial intelligence based in United States, founded in 2025. $259,539/month in verified Stripe revenue. $78,764 MRR. Ahrefs Domain Rating 52/100. growing 55% month-over-month. Track LLM Gateway's verified metrics on TrustMRR.
Growth · Nov 2025 · trustmrr.com
Boing▲782Life & fun · Nov 2025 · boing.greg.technology