Top 1,000 Features Creators Events Podcasts Extensions Blog Explorer CSV Download

Asymptote

< >

Asymptote is an open source application created in 2004 by Andy Hammerlindl and John C. Bowman and Tom Prince.

#906on PLDB 20Years Old

Try now: Riju

Asymptote is a descriptive vector graphics language — developed by Andy Hammerlindl, John C. Bowman (University of Alberta), and Tom Prince — which provides a natural coordinate-based framework for technical drawing. Asymptote runs on all major platforms (Unix, Mac OS, Microsoft Windows). Read more on Wikipedia...


Example from Riju:
write("Hello, world!");
Example from Wikipedia:
import graph; import settings; outformat="pdf"; size(300,300); // Function. real[] x1 = {-1.5,0}; real[] y1 = {0,0}; real[] x2 = {0,1.5}; real[] y2 = {1,1}; draw(graph(x1,y1),red+2); draw(graph(x2,y2),red+2); draw((0,0)--(0,1),red+1.5+linetype("4 4")); fill( circle((0,1),0.035), red); filldraw( circle((0,0),0.03), white, red+1.5); // Axes. xaxis( Label("$xTEMPLATEquot;), Ticks(new real[]{-1,-0.5,0.5,1}), Arrow); yaxis( Label("$yTEMPLATEquot;), Ticks(new real[]{0.5,1}), Arrow, ymin=-0.18, ymax=1.25); // Origin. labelx("$OTEMPLATEquot;,0,SW);

Language features

Feature Supported Example Token
Comments

View source

- Build the next great programming language · About · Resources · Acknowledgements · Part of the World Wide Scroll