Compare the same grass calculations on this computer. Rust and JavaScript generate the same transforms and colors for 13,222 tufts. The original Three.js object approach is included as a reference.
The benchmark runs in a Web Worker, separate from the page controls.
| Implementation | Transform + color kernel | Full grass generation |
|---|---|---|
| Run the comparison to measure your browser. | ||
The kernel column includes WASM memory copies. Full generation also includes placement, blade construction, normals and buffer preparation shared by all three paths. Timings exclude worker startup, GPU upload and drawing; module loading is reported separately.
Both implementations are checked against the reference output. Kernel results use 25 rotating-order batches of four runs; full generation uses nine runs per implementation. Median times are shown. Download the raw measurements to inspect variation.
This is a computation experiment, not a frame-rate claim. GPU rendering still uses Three.js/WebGL. Results vary across computers and browsers.