/brownian-tree-webgl

Brownian Tree rendered with WebGL with Rust + WASM

Primary LanguageRustMIT LicenseMIT

WebGL brownian tree visualization

This is a work-in-progress, toy project aimed at creating a 3D visualization of a brownian tree using Rust WebAsm and WebGL.

Prerequisites

Building

npm install
cargo build

Running

npm run serve

Then open http://localhost:8080 on your brower. You should see a rendering like the one below:

screenshot-brownian-tree

Input

The brownian tree input data is consumed in CSV format from a file under src/input.csv. The CSV file is generated using https://github.com/fogleman/dlaf.

License

MIT