Random Module - Lucas-Code27/Canvas-plus-plus GitHub Wiki
How to Setup
First import the module
import * as random from "/canvas++/modules/random.js"
Then you call the randi function as a number
Cx1 = random.randi(380)
Functions
randi(min,max) - Returns a whole number in the range specified
randf(min,max) - Returns a decimal number in the range specified