The Ray Tracer Challenge - 025 - REPL

preview_player
Показать описание
A Webassembly and Webworker based live rendering REPL of the Raytracer Challenge in Rust.

Join me, while I implement chapter by chapter from the book "The Ray Tracer Challenge" by Jamis Buck in Rust a language completely new to me.

Come with me on the journey of learning the Rust programming language, while implementing a Ray Tracer in a Test driven fashion, to have fun and (hopefully) create some astonishing rendered graphics.

Let's study the inner workings of a Ray Tracer, and take a look under the hood of the Rust language, while taking on this challenge on a weekly basis.

All the code produced within this series is provided on github, for you to
follow along.

Contents

0:00:00 - Intro
0:01:26 - Welcome
0:05:48 - Features
0:10:04 - A look under the hood
0:10:57 - Cargo Configuration
0:16:23 - Exported Webassembly Interface
0:22:01 - Errors from Rust to JavaScript
0:26:38 - The "render" function
0:31:41 - Compiing and starting the Dev Server
0:32:59 - Webassembly Package
0:34:32 - How the WASM Module is built
0:36:21 - What wasm-pack creates for us
0:42:03 - The Webworker running the show
0:48:22 - Calling the render function within Rust
0:54:29 - Managing Parallel Webworkers: RenderPool
1:03:08 - Crude Render Times
1:05:59 - It is Open Source, of course!
1:10:15 - Outro

#raytracer #webworker #webassembly
Рекомендации по теме
Комментарии
Автор

I love the whole Avalon look of your terminal.

jhaand
Автор

This is very cool! I'm going to check out your Ray Tracer series.

UliTroyo