StandardNode: Normalize

Normalize standard node
extendsNode

let normalize = flow.createNode("math/normalize", {
  normalizationType: "array",
  state: { relative: true, constant: 5 },
});

Default State

{
  min: 0,
  max: 100,
  relative: false,
  constant: false,
  normalizationType: "array"
}

Options

{
  normalizationType: "number" | "array";
}