diff options
author | Norbert Preining <norbert@preining.info> | 2023-02-10 03:01:41 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-02-10 03:01:41 +0000 |
commit | e10a52ebe817fe7ff0235c066d83f51f39d3e023 (patch) | |
tree | 9148206ad017e5947e391d1eb4f3858feb493648 /graphics/asymptote/examples/animations | |
parent | ffdef3cddca5a0b9133dd928291b000452777ad8 (diff) |
CTAN sync 202302100301
Diffstat (limited to 'graphics/asymptote/examples/animations')
-rw-r--r-- | graphics/asymptote/examples/animations/wheel.asy | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/graphics/asymptote/examples/animations/wheel.asy b/graphics/asymptote/examples/animations/wheel.asy index 6620d59085..fba5bd148e 100644 --- a/graphics/asymptote/examples/animations/wheel.asy +++ b/graphics/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)); |