Various code with Asymptote – fig0370

Category: Asymptote,MiscellaneousPh. Ivaldi @ 2 h 11 min

You may view all the posts of the category « Miscellaneous » (Compiled with Asymptote version 1.87svn-r4652) // Carte à points 2. import carteApoints; settings.outformat= »pdf »; add(scale(0.5)*carteApoints(8).fit()); //fig0370.pdf shipout(bbox(2mm)); $(document).ready(function(){$(« a#fig91a6c4ca1a716731f9cac15248d49f2d »).fancybox();});

Mots-clefs :


Various code with Asymptote – fig0360

Category: Asymptote,MiscellaneousPh. Ivaldi @ 1 h 11 min

You may view all the posts of the category « Miscellaneous » (Compiled with Asymptote version 1.87svn-r4652) // Carte à points 1. import carteApoints; settings.outformat= »pdf »; add(scale(0.5)*carteApoints(1).fit()); //fig0360.pdf shipout(bbox(2mm)); $(document).ready(function(){$(« a#fig8e7fd6a09bcf15d64a480cf63f5a0e3f »).fancybox();});

Mots-clefs :


Various code with Asymptote – fig0350

Category: Asymptote,MiscellaneousPh. Ivaldi @ 12 h 11 min

You may view all the posts of the category « Miscellaneous » (Compiled with Asymptote version 1.87svn-r4652) /* Copié depuis La police Pictchou */ // Il faut copiler ce document pour obtenir les fichiers main1.eps, main2.eps,…, main5.eps eval(quote{ size(1cm); defaultfilename=’main1′; currentpen += 0.5bp; currentpen += squarecap; currentpen += miterjoin; currentpen += linetype( » « ,false); fill((773,1468)..controls (1032.33,1436) and (1162,1334.67)..(1162,1164) [...]

Mots-clefs :


Various code with Asymptote – fig0300

Category: Asymptote,MiscellaneousPh. Ivaldi @ 11 h 11 min

You may view all the posts of the category « Miscellaneous » (Compiled with Asymptote version 1.87svn-r4652) // On définit ce qu’est l’objet ‘rectangle’ // On peut comparer ça à la définition d’une voiture: // elle a des propriètés: la couleur, le nombre de portes… // elle a aussi des actions (ou méthodes en info): ouvrir la [...]

Mots-clefs :


Various code with Asymptote – fig0200

Category: Asymptote,MiscellaneousPh. Ivaldi @ 10 h 11 min

You may view all the posts of the category « Miscellaneous » (Compiled with Asymptote version 1.87svn-r4652) size(10cm); path g=box((-1,-1),(1,1)); pen [] col= new pen[]{gray,yellow}; path pairToSquare(pair pt){ return pt — I*pt — -pt — -I*pt –cycle; } int nb=10; for (int i=0; i<nb; ++i) { filldraw(g,col[i%2]); g=pairToSquare(relpoint(g,1/16)); } $(document).ready(function(){$(« a#fig7247892ac4fdb792c52bb79e2dd7e1be »).fancybox();});

Mots-clefs : , , ,


Various code with Asymptote – fig0100

Category: Asymptote,MiscellaneousPh. Ivaldi @ 9 h 11 min

You may view all the posts of the category « Miscellaneous » (Compiled with Asymptote version 1.87svn-r4652) size(10cm); path g=box((-1,-1),(1,1)); pen [] col= new pen[]{gray,yellow}; real k=sqrt(10)/4; transform T=scale(k)*rotate(degrees(acos(17/(16*k*sqrt(2))))); int nb=10; for (int i=0; i<nb; ++i) filldraw(T^i*g,col[i%2]); $(document).ready(function(){$(« a#fig6738060e19b882142b56ad38c50e9300″).fancybox();});

Mots-clefs : , ,


Animation with Asymptote – fig0200

Category: Animation,AsymptotePh. Ivaldi @ 3 h 20 min

You may view all the posts of the category « Animation » (Compiled with Asymptote version 1.86svn-r4626) This animation is available in the Syracuse web site. /* One may want to play with an interactive Java applet */ settings.render=0; import three; import animation; animation A; size(15cm); currentprojection=orthographic(1,1,1.5); currentlight=(1,0,1); triple PXY=-X-Y; triple P00=PXY+0.5*Z, P03=-X+Y, P33=X+Y, P30=X-Y; triple[][] P0={ [...]

Mots-clefs : , , , ,


Animation with Asymptote – fig0190

Category: Animation,AsymptotePh. Ivaldi @ 2 h 20 min

You may view all the posts of the category « Animation » (Compiled with Asymptote version 1.86svn-r4626) Movie flash (swf)This animation is available in the Syracuse web site. size(12cm,0); import hull_pi; import animation; animation A; settings.outformat= »pdf »; pair[] cloud; int nbpt=200; // Generate random points. for (int i=0; i < nbpt; ++i) cloud.push((10*unitrand(),10*unitrand())); for (int i=1; i < [...]

Mots-clefs : ,


Animation with Asymptote – fig0180

Category: Animation,AsymptotePh. Ivaldi @ 1 h 20 min

You may view all the posts of the category « Animation » (Compiled with Asymptote version 1.86svn-r4626) Movie flash (swf)This animation is available in the Syracuse web site. // pdf version of this animation: fig0180.pdf import labelpath; import animate; animation A; texpreamble(« \usepackage[dvips,pdfpagemode=FullScreen]{hyperref} »); settings.outformat= »pdf »; settings.tex= »pdflatex »; defaultpen(fontsize(12pt)); size(16cm,0); usepackage(« mathrsfs, amsfonts,amsmath,amssymb »); picture pic, pic1, pic2, pic3; real u=1, Y=2*pi+0.5; pair [...]

Mots-clefs : , ,


Animation with Asymptote – fig0170

Category: Animation,AsymptotePh. Ivaldi @ 12 h 20 min

You may view all the posts of the category « Animation » (Compiled with Asymptote version 1.86svn-r4626) Movie flash (swf)This animation is available in the Syracuse web site. import graph; import animate; size(15cm); settings.outformat= »pdf »; pair[] interp(pair[] a1, pair[] a2, real k) { if(a1.length != a2.length) abort(« interp: arrays have differents length. »); pair[] g; int l=a1.length; g=sequence(new pair(int j){ [...]

Mots-clefs : , , ,