2009-03-09から1日間の記事一覧

Asymptoteでアニメーションを作る

Asymptoteでアニメーションをつくってみた。 赤い四角形が360°回転する import animation; size(10cm); animation A; path a=unitsquare; for(real i=0;i<360;i+=10){ save(); draw(rotate(i)*a,red); A.add(); restore(); } A.movie(); ラベル付きの正三角…