# Hatchet renders ray-traced scenes by splitting tiles across Cloudflare Workers

Original title: Distributed Ray Tracer

> Hacker News story 50472505 · language: en · submitted 2026-11-12
> Web version: https://zeli.app/story/50472505
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 47 · by [juliusgeo](<https://news.ycombinator.com/user?id=juliusgeo>) · 💬 14
[original](<https://ray.hatchet.run>) · [HN discussion](<https://news.ycombinator.com/item?id=50472505>)

## Summary

A demo called Distributed Ray Tracer uses Signed Distance Fields, with the entire scene written as code by a language model. Hatchet orchestrates parallel tiles rendered on Cloudflare Workers running Rust, and durable streams pass messages to each frontend. Built to showcase Hatchet's new serverless endpoints and durable streams, the renderer uses a Rhai and Fidget DSL you can edit yourself, and is based on a modified version of rpt.

## Key quote

> This approach is uniquely suited to refining with LLMs because it represents the entire ray-traced scene as code.

## HN discussion (14 comments)

### [keithwinstein](<https://news.ycombinator.com/item?id=50475437>)

> Cool! You might like our paper/demo on ray-tracing 1 TB-geometry scenes using thousands of AWS Lambda workers spun up just for the job: https://r2e2.dev/
>
> This was led by my former PhD student Sadjad Fouladi who did a lot of creative work involving swarms of short-lived serverless functions for video encoding and distributed LLM inference (https://www.usenix.org/conference/nsdi17/technical-sessions/...) and software compilation (https://github.com/stanfordsnr/gg).

### [abelanger](<https://news.ycombinator.com/item?id=50475232>)

> Some more resources on signed distance fields (SDFs), which I didn't know about until this demo:
>
> \- https://iquilezles.org/articles/distfunctions/
>
> \- The 2D version: https://iquilezles.org/articles/distfunctions2d/ (discussed here: https://news.ycombinator.com/item?id=46380054)
>
> \- How Zed uses (used?) SDFs to render their editor: https://zed.dev/blog/videogame (discussed at the time: https://news.ycombinator.com/item?id=35078464)

### [carterunworthy](<https://news.ycombinator.com/item?id=50474621>)

> I love Hatchet! A serverless render farm is such a silly idea, results coming in felt really cool though, I'd love to see this scaled up to frames of an animation.

---

## Cite

- Page: https://zeli.app/story/50472505
- Date: 2026-11-12
- Source: ray.hatchet.run (https://ray.hatchet.run)
- Hacker News: https://news.ycombinator.com/item?id=50472505

## Other languages

- zh: https://zeli.app/zh/story/50472505 · markdown: https://zeli.app/zh/story/50472505.md
- ja: https://zeli.app/ja/story/50472505 · markdown: https://zeli.app/ja/story/50472505.md
- ko: https://zeli.app/ko/story/50472505 · markdown: https://zeli.app/ko/story/50472505.md
- de: https://zeli.app/de/story/50472505 · markdown: https://zeli.app/de/story/50472505.md
- es: https://zeli.app/es/story/50472505 · markdown: https://zeli.app/es/story/50472505.md
- ru: https://zeli.app/ru/story/50472505 · markdown: https://zeli.app/ru/story/50472505.md
