ASY(1)
π ASY(1) π
okay bestie, pull up a chair, we're talking about asy β that's Asymptote, the script-based vector graphics language, and honestly? she's iconic. this is the manual page (section 1, General Commands Manual) and i'm gonna walk you through every single bit of it, no skips, no "you'll figure it out." π«Ά
β¨ NAME β¨
asy β Asymptote: a script-based vector graphics language πΈ
π SYNOPSIS π
asy [options] [file ...]
π¦ DESCRIPTION π¦
Asymptote is a powerful descriptive vector graphics language for technical drawings, inspired by MetaPost but with an improved C++-like syntax. literally the glow-up of the century. π
Asymptote provides for figures the same high-quality level of typesetting that LaTeX does for scientific text. no cap β the figures get the same treatment LaTeX gives your science text. ate. π
β¨ OPTIONS β¨
okay so. if you give it no arguments, Asymptote runs in interactive mode (she just wants to chat π¬).
If - is given as the file argument, Asymptote reads from standard input.
A summary of options is included below. The effect of most options can be negated by prepending no to the option name. Default values for most options may also be entered in the file .asy/config.asy in the user's home directory using the long form:
import settings;
batchView=true;
For a complete description, see the Info files. π
bestie the flag list is LONG and i'm not skipping a single one. hydration check, then we go. π§
-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β [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 whitefalse.-cd directoryβ Set current directory; command-line only.-cmykβ Convert rgb colors to cmykfalse.-c,-command strβ Command to autoexecute.-compactβ Conserve memory at the expense of speedfalse.-compressβ Compress images in PDF output [true].-convertOptions strβ []-curlAfterReadβ Allow libcurl after reading local files viainput()false.-d,-debugβ Enable debugging messages and tracebackfalse.-device nβ Set Vulkan device [-1].-devicepixelratio nβ Ratio of physical to logical pixels [0].-digits nβ Default output file precision [7].-divisor nβ Garbage collect usingpurge(divisor=n)[2].-dvipsOptions strβ []-dvisvgmMultipleFilesβ dvisvgm supports multiple files [true].-dvisvgmOptions strβ [--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].-fxaaβ Enable FXAA. Multisampling is turned off if FXAA is enabled [false].-glOptions strβ []-globalreadβ Allow read from other directorytrue.-globalwriteβ Allow write to other directoryfalse.-grayβ Convert all colors to grayscalefalse.-gsOptions strβ []-h,-helpβ Show summary of options; command-line only.-historylines nβ Retain n lines of history [1000].-htmlviewerOptions strβ-hyperrefOptions strβ [setpagesize=false,unicode,pdfborder=0 0 0]-iblβ Enable environment map image-based lighting [false].-iconifyβ [false]-image strβ Environment image name [snowyField].-imageDir strβ Environment image library directory [ibl].-imageURL strβ Environment image library URL [https://vectorgraphics.gitlab.io/asymptote/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β [false]-k,-keepβ Keep intermediate files [false].-keepauxβ Keep intermediate LaTeX.auxfiles [false].-keysβ Generate WebGL keysfalse.-level nβ Postscript level [3].-licensesβ Show license and third-party attribution; command-line only.-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.-maxFramesInFlight nβ Maximum frames queued to the GPU [3].-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].-offscreenβ Use offscreen rendering [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β []-pdfreloaddelay usecβ Delay before attempting initial pdf reload [750000].-pdfviewerOptions strβ []-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β []-q,-quietβ Suppress welcome text and noninteractive stdout [false].-render nβ Render 3D graphics using n pixels per bp [2].-resizestep stepβ Resize step [1.2].-reverseβ reverse 3D animations [false].-rgbβ Convert cmyk colors to rgbfalse.-safeβ Disable system calltrue.-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].-srgbβ Render 3D images in sRGB space [false].-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)].-vsyncβ Vertically synchronize with monitor [false].-vulkanβ Use Vulkan renderer if available [true].-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 xasyfalse.-zoomPinchCap limitβ WebGL maximum zoom pinch [100].-zoomPinchFactor nβ WebGL zoom pinch sensitivity [10].-zoomThreshold thresholdβ-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. so if you're lost, just ask her β she'll tell you. π§
π AUTHOR π
Asymptote was written by Andy Hammerlindl, John Bowman, and Tom Prince. legends, truly. π
This manual page was written by Hubert Chan for the Debian project (but may be used by others). slay, Hubert. π
and that's the whole page bestie β this manual is dated 1 Dec 2004 and it's the ASY(1) page from the General Commands Manual, version and all. go make something gorgeous. mwah. πβ¨
π¦ where this page comes from
- fedora 44: asymptote 3.13-2.fc44 Β· LGPL-3.0-or-later AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND GPL-2.0-or-later AND GPL-3.0-or-later WITH Bison-exception-2.2 AND Apache-2.0 AND BSL-1.0 AND MIT AND BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms