1 unstable release
0.1.0 | Jan 10, 2025 |
---|
#337 in WebAssembly
121 downloads per month
4KB
Random 3D Points Generator in WebAssembly
This project generates random 3D points within a specified range ([-2.0, 2.0]
for each coordinate). It is written in Rust and compiled to WebAssembly for high performance and ease of use in web environments.
- Generates 1,000,000 random 3D points on the fly.
- Exposed as a WebAssembly module for use in JavaScript and web applications.
- Uses the
random-fast-rng
crate for fast random number generation.
Features:
- WebAssembly-backed for optimal performance.
- Seamless integration with JavaScript.
- Works across modern browsers.
How to Use:
- Install the WebAssembly module by downloading the files.
- Import the generated WebAssembly module into your JavaScript code.
- Call the
generate_points()
function to retrieve random 3D points.
Dependencies
~0.7–1.4MB
~28K SLoC