summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/asymptote/examples/animations
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-02-18 18:40:50 +0000
committerKarl Berry <karl@freefriends.org>2023-02-18 18:40:50 +0000
commit14e4f63a357437636c6cb5c2130c3865c0079ef3 (patch)
treedf263fab51006eea4be1bc1c481a07304401326f /Master/texmf-dist/doc/asymptote/examples/animations
parent7f326f6942dc81b97699f20698fe017b15ef74fa (diff)
asymptote 2.85 support files, windows binaries
git-svn-id: svn://tug.org/texlive/trunk@65878 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/asymptote/examples/animations')
-rw-r--r--Master/texmf-dist/doc/asymptote/examples/animations/wheel.asy9
1 files changed, 5 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/asymptote/examples/animations/wheel.asy b/Master/texmf-dist/doc/asymptote/examples/animations/wheel.asy
index 6620d590850..fba5bd148e8 100644
--- a/Master/texmf-dist/doc/asymptote/examples/animations/wheel.asy
+++ b/Master/texmf-dist/doc/asymptote/examples/animations/wheel.asy
@@ -6,9 +6,10 @@ import graph;
import animation;
-size(0,200);
+size(0,500);
-defaultpen(3);
+import fontsize;
+defaultpen(fontsize(48pt)+3);
dotfactor=4;
pair wheelpoint(real t)
@@ -26,7 +27,7 @@ guide wheel(guide g=nullpath, real a, real b, int n)
return g;
}
-real t1=0;
+real t1=0;
real t2=t1+2*pi;
animation a;
@@ -45,7 +46,7 @@ int n=10;
real dt=(t2-t1)/n;
for(int i=0; i <= n; ++i) {
save();
-
+
real t=t1+dt*i;
draw(circle((t,0),1),red);
dot(wheelpoint(t));