random-3d-points 0.1.0

Generates random 3D points within a specified range, compiled to WebAssembly.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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:
1. Install the WebAssembly module by downloading the files.
2. Import the generated WebAssembly module into your JavaScript code.
3. Call the `generate_points()` function to retrieve random 3D points.