plate-engine - v0.1.0
    Preparing search index...

    Function scaleNearest

    • Enlarge each cell to a factor × factor block (nearest neighbour), keeping dither patterns crisp.

      Type Parameters

      Parameters

      • src: Grid<T>
      • factor: number

      Returns Grid<T>