Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/threejs_4_deno/src/Three.js>MathUtils.randFloatSpread

A simple transformation of three.js for use within a Deno workflow
Go to Latest
function MathUtils.randFloatSpread
import { MathUtils } from "https://deno.land/x/threejs_4_deno@v121/src/Three.js";
const { randFloatSpread } = MathUtils;

Random float from - range / 2 to range / 2 interval.

Parameters

range: number

Returns

number