Function subdivide

  • Subdivide each segment of a diagram into n segments

    Parameters

    • n: number = 100

      number of segments to subdivide each segment into

    Returns modifierFunction

    function that modifies a diagram