KTUGFaq
KTUG FAQ
Mind your own business, Spock. I'm sick of your halfbreed interference.
inspired by MetaPost, with a much cleaner, powerful C++-like programming syntax and floating-point numerics;
[ÆíÁý]
Sample ¶
%% pdflatex -> asy -> pdflatex %% \documentclass[12pt]{article} \usepackage{kotex} \usepackage{asymptote} \begin{document} (º°·Î ¾È) °£´ÜÇÑ 3D ¿¹Á¦. \begin{center} \begin{asy}[height=8cm,attach=false] // sinc.asy import graph3; import contour; currentprojection=orthographic(1,-2,1); currentlight=(1,-1,0.5); size(12cm,0); real sinc(pair z) { real r=2pi*abs(z); return r != 0 ? sin(r)/r : 1; } draw(lift(sinc,contour(sinc,(-2,-2),(2,2),new real[] {0})),red); draw(surface(sinc,(-2,-2),(2,2),Spline),lightgray+opacity(0.5)); xaxis3("$x$",Bounds,InTicks); yaxis3("$y$",Bounds,InTicks(beginlabel=false)); zaxis3("$z$",Bounds,InTicks); \end{asy} \end{center} \end{document}