ASY(1)

πŸ“¦ version 2026.0, in alpine 3.24

✨ ASY(1) β€” asy, the Asymptote vector graphics language ✨

okay so buckle up bestie, this is the manual page for asy, aka Asymptote β€” a script-based vector graphics language. she's giving main character energy in the technical drawing department, fr fr. πŸ’…


🌸 NAME 🌸

asy β€” Asymptote: a script-based vector graphics language πŸ¦‹


πŸŽ€ SYNOPSIS πŸŽ€

asy [options] [file ...]

πŸ’– DESCRIPTION πŸ’–

okay so here's the tea: Asymptote is a powerful descriptive vector graphics language for technical drawings, and she was inspired by MetaPost but came through with an improved C++-like syntax. iconic behavior honestly. πŸ‘‘

the way that Asymptote gives figures the same high-quality level of typesetting that LaTeX does for scientific text? that's the whole vibe. LaTeX for your words, Asymptote for your figures. matching set. periodt. ✨


πŸ‘‘ OPTIONS πŸ‘‘

real talk first, some ground rules before we get into the list, bestie:

  • if you give no arguments at all, Asymptote runs in interactive mode. 🫢
  • if - is given as the file argument, Asymptote reads from standard input.
  • the effect of most options can be negated by prepending no to the option name (iykyk).
  • default values for most options may also be entered in the file .asy/config.asy in your home directory, using the long form:
import settings;
batchView=true;
  • for a complete description, see the Info files. πŸ“š

aaaand now, the full list, no skips, no cuts, we're covering every single one πŸ’€πŸ‘‡

  • -GPUblockSize n β€” compute shader block size [8].
  • -GPUcompress β€” compress GPU transparent fragment counts [false].
  • -GPUindexing β€” compute indexing partial sums on GPU [true].
  • -GPUinterlock β€” use fragment shader interlock [true].
  • -GPUlocalSize n β€” compute shader local size [256].
  • -V, -View β€” view output; command-line only.
  • -absolute β€” use absolute WebGL dimensions [false].
  • -a, -align C|B|T|Z β€” Center, Bottom, Top, or Zero page alignment [C].
  • -aligndir pair β€” directional page alignment (overrides align) [(0,0)].
  • -animating β€” the page just gives you the default on this one: [false]. 🫠
  • -antialias n β€” antialiasing width for rasterized output [2].
  • -auto3D β€” automatically activate 3D scene [true].
  • -autobillboard β€” 3D labels always face viewer by default [true].
  • -autoimport str β€” module to automatically import.
  • -autoplain β€” enable automatic importing of plain [true].
  • -autoplay β€” autoplay 3D WebGL animations [true].
  • -autorotate β€” enable automatic PDF page rotation [false].
  • -axes3 β€” show 3D axes in PDF output [true].
  • -batchMask β€” mask fpu exceptions in batch mode [false].
  • -batchView β€” view output in batch mode [false].
  • -bw β€” convert all colors to black and white, false.
  • -cd directory β€” set current directory; command-line only.
  • -cmyk β€” convert rgb colors to cmyk, false.
  • -c, -command str β€” command to autoexecute.
  • -compact β€” conserve memory at the expense of speed, false.
  • -compress β€” compress images in PDF output [true].
  • -convertOptions str β€” default is [].
  • -d, -debug β€” enable debugging messages and traceback, false.
  • -devicepixelratio n β€” ratio of physical to logical pixels [1].
  • -digits n β€” default output file precision [7].
  • -divisor n β€” garbage collect using purge(divisor=n) [2].
  • -dvipsOptions str β€” default [].
  • -dvisvgmMultipleFiles β€” dvisvgm supports multiple files [true].
  • -dvisvgmOptions str β€” default [--optimize].
  • -embed β€” embed rendered preview image [true].
  • -e, -environment β€” show summary of environment settings; command-line only.
  • -exitonEOF β€” exit interactive mode on EOF [true].
  • -fitscreen β€” fit rendered image to screen [true].
  • -framerate frames/s β€” animation speed [30].
  • -glOptions str β€” default [].
  • -globalread β€” allow read from other directory, true.
  • -globalwrite β€” allow write to other directory, false.
  • -gray β€” convert all colors to grayscale, false.
  • -gsOptions str β€” default [].
  • -h, -help β€” show summary of options; command-line only.
  • -historylines n β€” retain n lines of history [1000].
  • -htmlviewerOptions str β€” no default listed on this one.
  • -hyperrefOptions β€” [setpagesize=false,unicode,pdfborder=0 0 0].
  • -ibl β€” enable environment map image-based lighting [false].
  • -iconify β€” iconify rendering window [false].
  • -image str β€” environment image name [snowyField].
  • -imageDir str β€” environment image library directory [ibl].
  • -inlineimage β€” generate inline embedded image [false].
  • -inlinetex β€” generate inline TeX code [false].
  • -inpipe n β€” input pipe [-1].
  • -interactiveMask β€” mask fpu exceptions in interactive mode [true].
  • -interactiveView β€” view output in interactive mode [true].
  • -interactiveWrite β€” write expressions entered at the prompt to stdout [true].
  • -interrupt β€” default [false], that's all the page says 🫑
  • -k, -keep β€” keep intermediate files [false].
  • -keepaux β€” keep intermediate LaTeX .aux files [false].
  • -keys β€” generate WebGL keys, false.
  • -level n β€” Postscript level [3].
  • -l, -listvariables β€” list available global functions and variables [false].
  • -localhistory β€” use a local interactive history file [false].
  • -loop β€” loop 3D animations [false].
  • -lossy β€” use single precision for V3D reals [false].
  • -lsp β€” interactive mode for the Language Server Protocol [false].
  • -m, -mask β€” mask fpu exceptions; command-line only.
  • -maxtile pair β€” maximum rendering tile size [(1024,768)].
  • -maxviewport pair β€” maximum viewport size [(0,0)].
  • -multiline β€” input code over multiple lines at the prompt [false].
  • -multipleView β€” view output from multiple batch-mode files [false].
  • -multisample n β€” multisampling width for screen images [4].
  • -offline β€” produce offline html files [false].
  • -O, -offset pair β€” PostScript offset [(0,0)].
  • -f, -outformat format β€” convert each output file to specified format.
  • -o, -outname name β€” alternative output directory/file prefix.
  • -outpipe n β€” output pipe [-1].
  • -paperheight bp β€” default page height [0].
  • -paperwidth bp β€” default page width [0].
  • -p, -parseonly β€” parse file [false].
  • -pdfreload β€” automatically reload document in pdfviewer [false].
  • -pdfreloadOptions str β€” default [].
  • -pdfreloaddelay usec β€” delay before attempting initial pdf reload [750000].
  • -pdfviewerOptions str β€” default [].
  • -position pair β€” initial 3D rendering screen position [(0,0)].
  • -prc β€” embed 3D PRC graphics in PDF output [false].
  • -prerender resolution β€” prerender V3D objects (0 implies vector output) [0].
  • -prompt str β€” prompt [> ].
  • -prompt2 str β€” continuation prompt for multiline input [..].
  • -psviewerOptions str β€” default [].
  • -q, -quiet β€” suppress welcome text and noninteractive stdout [false].
  • -render n β€” render 3D graphics using n pixels per bp (-1=auto) [-1].
  • -resizestep step β€” resize step [1.2].
  • -reverse β€” reverse 3D animations [false].
  • -rgb β€” convert cmyk colors to rgb, false.
  • -safe β€” disable system call, true.
  • -scroll n β€” scroll standard output n lines at a time [0].
  • -shiftHoldDistance n β€” WebGL touch screen distance limit for shift mode [20].
  • -shiftWaitTime ms β€” WebGL touch screen shift mode delay [200].
  • -spinstep deg/s β€” spin speed [60].
  • -svgemulation β€” emulate unimplemented SVG shading [true].
  • -tabcompletion β€” interactive prompt auto-completion [true].
  • -tex engine β€” latex|pdflatex|xelatex|lualatex|tex|pdftex|luatex|context|none [latex].
  • -thick β€” render thick 3D lines [true].
  • -thin β€” render thin 3D lines [true].
  • -threads β€” use POSIX threads for 3D rendering [true].
  • -toolbar β€” show 3D toolbar in PDF output [true].
  • -s, -translate β€” show translated virtual machine code [false].
  • -twice β€” run LaTeX twice (to resolve references) [false].
  • -twosided β€” use two-sided 3D lighting model for rendering [true].
  • -u, -user str β€” general purpose user string.
  • -v3d β€” embed 3D V3D graphics in PDF output [false].
  • -v, -verbose β€” increase verbosity level (can specify multiple times), 0.
  • -version β€” show version; command-line only.
  • -vibrateTime ms β€” WebGL shift mode vibrate duration [25].
  • -viewportmargin pair β€” horizontal and vertical 3D viewport margin [(0.5,0.5)].
  • -wait β€” wait for child processes to finish before exiting [false].
  • -warn str β€” enable warning; command-line only.
  • -webgl2 β€” use webgl2 if available [false].
  • -where β€” show where listed variables are declared [false].
  • -wsl β€” run asy under the Windows Subsystem for Linux [false].
  • -xasy β€” interactive mode for xasy, false.
  • -zoomPinchCap limit β€” WebGL maximum zoom pinch [100].
  • -zoomPinchFactor n β€” WebGL zoom pinch sensitivity [10].
  • -zoomThreshold threshold β€” the page lists the option and then… stops. no default, no description. respectfully, she's mysterious. πŸ™ˆ
  • -zoomfactor factor β€” zoom step factor [1.05].
  • -zoomstep step β€” mouse motion zoom step [0.1].

πŸ¦‹ SEE ALSO πŸ¦‹

Asymptote is documented fully in the asymptote Info page. the manual can also be accessed in interactive mode with the help command. πŸ’–


🌈 AUTHOR 🌈

Asymptote was written by Andy Hammerlindl, John Bowman, and Tom Prince. 🫢

this manual page was written by Hubert Chan for the Debian project (but may be used by others).


and that's the whole page, no cap! πŸŽ€ source + version + date for this one: General Commands Manual, 1 Dec 2004, filed under ASY(1). go make something gorgeous, bestie β€” the vector graphics are literally waiting for you. πŸ‘‘πŸ’…βœ¨

πŸ“¦ where this page comes from