Edit
Reprocessing_Utils
This module does not have a toplevel documentation block.
let color = (~r: int, ~g: int, ~b: int, ~a: int) => colorT
let colorf = (
~r: float,
~g: float,
~b: float,
~a: float
) => colorT
let round = float => float
let pow = (~base: int, ~exp: int) => int
let constrain = (~amt: 'a, ~low: 'a, ~high: 'a) => 'a
let remapf = (
~value: float,
~low1: float,
~high1: float,
~low2: float,
~high2: float
) => float
let remap = (
~value: int,
~low1: int,
~high1: int,
~low2: int,
~high2: int
) => int
let norm = (
~value: float,
~low: float,
~high: float
) => float
let randomf = (~min: float, ~max: float) => float
let random = (~min: int, ~max: int) => int
let lerpf = (
~low: float,
~high: float,
~value: float
) => float
let lerp = (~low: int, ~high: int, ~value: float) => int
let distf = (
~p1: (float, float),
~p2: (float, float)
) => float
let dist = (~p1: (int, int), ~p2: (int, int)) => float
let magf = (float, float) => float
let mag = (int, int) => float
let noise = (float, float, float) => float
let split = (string, ~sep: char) => list(string)
let intersectRectCircle = (
~rectPos: (float, float),
~rectW: float,
~rectH: float,
~circlePos: (float, float),
~circleRad: float
) => bool
let intersectRectRect = (
~rect1Pos: (float, float),
~rect1W: float,
~rect1H: float,
~rect2Pos: (float, float),
~rect2W: float,
~rect2H: float
) => bool