The Ray Tracer Challenge - 025 - REPL

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ก.ค. 2024
  • A Webassembly and Webworker based live rendering REPL of the Raytracer Challenge in Rust.
    Link: raytracer.xyz
    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.
    Github: github.com/jakobwesthoff/the_...
    The Ray Tracer Challenge (affiliate): amzn.to/3xVssbR
    Rust: www.rust-lang.org/
    Contents
    0:00:00 - Intro
    0:01:26 - Welcome
    0:02:29 - raytracer.xyz
    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
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 4

  • @GlobalYoung7
    @GlobalYoung7 2 ปีที่แล้ว

    Thank you 😊

  • @UliTroyo
    @UliTroyo 2 ปีที่แล้ว +1

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

  • @jhaand
    @jhaand 2 ปีที่แล้ว +1

    I love the whole Avalon look of your terminal.

    • @MrJakob
      @MrJakob  2 ปีที่แล้ว +1

      Thanks I am thinking of creating a video of my quickbyte series showing my terminal setup. Actually it’s nothing really fancy. Just a intensely reconfigured powerline10k with some (quite old) scripts of my own ;). If you are interested checkout the “dotfiles” repository in my GitHub.