Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/remapper/src/deps.ts>three.MathUtils.random16

A framework for Beat Saber map scripting.
Go to Latest
function three.MathUtils.random16
Deprecated
Deprecated

Use Math#random | Math.random()

import { three } from "https://deno.land/x/remapper@2.1.0/src/deps.ts";
const { random16 } = three.MathUtils;

Random float from 0 to 1 with 16 bits of randomness. Standard Math.random() creates repetitive patterns when applied over larger space.

Returns

number