profile picture

2 pages tagged with "webassembly"

CHIP-8 emulator in WebAssembly using Rust

January 26, 2020 - 1017 words - 6 mins
Lately I have been working on an emulator for the CHIP-8 that can compile to WebAssembly using Rust. The source code is available on GitHub. And you can play a game of pong here. I've always wanted to write an emulator for an older hardware like the Nintendo Entertainment System or Game Boy Advance… read more

Ray Tracing with Rust and WebAssembly

January 17, 2020 - 369 words - 2 mins
I have been working through the book The Ray Tracer Challenge: A Test-Driven Guide to Your First 3D Renderer by Jamis Buck. It is a fantastic book, there is almost no code (other than a little bit of pseudocode), instead there is an explanation of how to build a Whitted ray tracer and a large numbe… read more