#random #generates-random #generate #3d-points #rust

random-3d-points

Generates random 3D points within a specified range, compiled to WebAssembly

1 unstable release

0.1.0 Jan 10, 2025

#348 in WebAssembly

Download history 66/week @ 2025-01-04 59/week @ 2025-01-11 2/week @ 2025-01-18 1/week @ 2025-02-01

128 downloads per month

MIT license

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:

  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.

Dependencies

~0.7–1.3MB
~27K SLoC

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy