Skip to content
mTvare6Public

About

No description, website, or topics provided.

Resources

Stars

17 stars

Watchers

0 watching

Forks

Latest commit

 

History

16 Commits

Folders and files

Repository files navigation

rayfuck

A ray tracer written in Brainfuck, made by compiling Ray Tracing in One Weekend's C code into Brainfuck using a simple IR. The accompanying blog can be found here.

Brainjoin lets this ray tracer run without taking days, and the binary is left here with a speedup of more than 216,000× over the base running at 40s. A copy at ./bf

There is also another compiler from Daniel Angell's blog post, which reports a 9,000× speedup over his existing base running at 80s.

Both runtime in Intel Core Ultra 9 185H.

Brainfuck render:

BF render

compared to the C render:

estimated render

About

No description, website, or topics provided.

Resources

Stars

17 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages