plotomics
    Preparing search index...

    Function ramp

    • Build a [0,1] -> hex function from a named ramp. An unknown name stops with a message that names it, where it used to fail later as "fn is not a function".

      Parameters

      • name: "viridis" | "rdbu" | "ltc" | "ltcdiv" = "viridis"

      Returns (t: number) => string