ASY(1)
β¨ 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
noto the option name (iykyk). - default values for most options may also be entered in the file
.asy/config.asyin 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 ππ
-GPUblockSizen β 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].-GPUlocalSizen β compute shader local size [256].-V,-Viewβ view output; command-line only.-absoluteβ use absolute WebGL dimensions [false].-a,-alignC|B|T|Z β Center, Bottom, Top, or Zero page alignment [C].-aligndirpair β directional page alignment (overridesalign) [(0,0)].-animatingβ the page just gives you the default on this one: [false]. π«-antialiasn β antialiasing width for rasterized output [2].-auto3Dβ automatically activate 3D scene [true].-autobillboardβ 3D labels always face viewer by default [true].-autoimportstr β 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.-cddirectory β set current directory; command-line only.-cmykβ convert rgb colors to cmyk,false.-c,-commandstr β command to autoexecute.-compactβ conserve memory at the expense of speed,false.-compressβ compress images in PDF output [true].-convertOptionsstr β default is[].-d,-debugβ enable debugging messages and traceback,false.-devicepixelration β ratio of physical to logical pixels [1].-digitsn β default output file precision [7].-divisorn β garbage collect usingpurge(divisor=n)[2].-dvipsOptionsstr β default[].-dvisvgmMultipleFilesβ dvisvgm supports multiple files [true].-dvisvgmOptionsstr β 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].-framerateframes/s β animation speed [30].-glOptionsstr β default[].-globalreadβ allow read from other directory,true.-globalwriteβ allow write to other directory,false.-grayβ convert all colors to grayscale,false.-gsOptionsstr β default[].-h,-helpβ show summary of options; command-line only.-historylinesn β retain n lines of history [1000].-htmlviewerOptionsstr β 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].-imagestr β environment image name [snowyField].-imageDirstr β environment image library directory [ibl].-inlineimageβ generate inline embedded image [false].-inlinetexβ generate inline TeX code [false].-inpipen β 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.auxfiles [false].-keysβ generate WebGL keys,false.-leveln β 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.-maxtilepair β maximum rendering tile size [(1024,768)].-maxviewportpair β maximum viewport size [(0,0)].-multilineβ input code over multiple lines at the prompt [false].-multipleViewβ view output from multiple batch-mode files [false].-multisamplen β multisampling width for screen images [4].-offlineβ produce offline html files [false].-O,-offsetpair β PostScript offset [(0,0)].-f,-outformatformat β convert each output file to specified format.-o,-outnamename β alternative output directory/file prefix.-outpipen β output pipe [-1].-paperheightbp β default page height [0].-paperwidthbp β default page width [0].-p,-parseonlyβ parse file [false].-pdfreloadβ automatically reload document in pdfviewer [false].-pdfreloadOptionsstr β default[].-pdfreloaddelayusec β delay before attempting initial pdf reload [750000].-pdfviewerOptionsstr β default[].-positionpair β initial 3D rendering screen position [(0,0)].-prcβ embed 3D PRC graphics in PDF output [false].-prerenderresolution β prerender V3D objects (0 implies vector output) [0].-promptstr β prompt [>].-prompt2str β continuation prompt for multiline input [..].-psviewerOptionsstr β default[].-q,-quietβ suppress welcome text and noninteractive stdout [false].-rendern β render 3D graphics using n pixels per bp (-1=auto) [-1].-resizestepstep β resize step [1.2].-reverseβ reverse 3D animations [false].-rgbβ convert cmyk colors to rgb,false.-safeβ disable system call,true.-scrolln β scroll standard output n lines at a time [0].-shiftHoldDistancen β WebGL touch screen distance limit for shift mode [20].-shiftWaitTimems β WebGL touch screen shift mode delay [200].-spinstepdeg/s β spin speed [60].-svgemulationβ emulate unimplemented SVG shading [true].-tabcompletionβ interactive prompt auto-completion [true].-texengine β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,-userstr β 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.-vibrateTimems β WebGL shift mode vibrate duration [25].-viewportmarginpair β horizontal and vertical 3D viewport margin [(0.5,0.5)].-waitβ wait for child processes to finish before exiting [false].-warnstr β enable warning; command-line only.-webgl2β use webgl2 if available [false].-whereβ show where listed variables are declared [false].-wslβ runasyunder the Windows Subsystem for Linux [false].-xasyβ interactive mode for xasy,false.-zoomPinchCaplimit β WebGL maximum zoom pinch [100].-zoomPinchFactorn β WebGL zoom pinch sensitivity [10].-zoomThresholdthreshold β the page lists the option and thenβ¦ stops. no default, no description. respectfully, she's mysterious. π-zoomfactorfactor β zoom step factor [1.05].-zoomstepstep β 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
- alpine 3.24: texmf-dist-binextra-doc 2026.0-r0 Β· LPPL-1.0 AND LPPL-1.1 AND LPPL-1.2 AND LPPL-1.3a AND LPPL-1.3c AND GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms