felipecsl / brownian-tree-webgl

Brownian Tree rendered with WebGL with Rust + WASM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Brownian Tree rendered with WebGL with Rust + WASM

License:MIT License


Languages

Language:Rust 92.1%Language:JavaScript 6.3%Language:HTML 1.4%Language:C 0.2%