Rust integration

For these demonstrations, you should open up the console and view the print log.

Simple calculation

This button does a simple calculation, using a multiplication function implemented in Rust, built to a web assembly binary, and then wrapped in a Javascript function.

Wave equation

This button simulates the 1D wave equation.

Wave equation, 2D

This button simulates the 2D wave equation with a visualization. The left side runs on a pure Typescript (compiled to Javascript) implementation, while the right side runs on a Rust (compiled to WebAssembly) implementation. You can immediately see the difference in speed, and the difference in memory usage (measured through your browser's memory profiler) is even larger.

Heat equation, 2D

Same thing, but for the heat equation.



Heat equation, spherical

Again the same, but on the surface of a sphere.



>>>>>> heat-eq >
back to main page