Asymptote

Table of Contents

Descriptive vector graphics language based on coordinates.

1. Primitives

void draw(picture pic=currentpicture, Label L="", path g,
          align align=NoAlign, pen p=currentpen,
          arrowbar arrow=None, arrowbar bar=None, margin margin=NoMargin,
          Label legend="", marker marker=nomarker);
  • draw((0,0)--(1,0)--(1,1)--cycle)
  • draw((1,0){up}..{left}(0,1),Arrow)
  • path unitcircle=E..N..W..S..cycle

2. Operations

  • shift(X, Y) * OBJ
  • rotate(ANG) * OBJ
  • scale(X, Y) * OBJ

3. Modules

3.1. geometry

It provides similar constructions to tkz-euclide, but with a more intuitive grammar.

4. References

Author: Jeemin Kim

Created: 2026-07-16 Thu 21:33