Function ellipse

    • A closed ellipse centred at center with semi-axes a, b and optional rotation (radians). All four args accept Val<>, so the ellipse re-renders when any input changes.

      Type Parameters

      Parameters

      • center: Val<V>
      • a: Val<number>
      • b: Val<number>
      • rotation: Val<number> = 0
      • Optionalopts: O

      Returns Curve<O>