Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

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

Random integer from low to high interval.

Parameters

low: number
high: number

Returns

number