X-Git-Url: https://melusine.eu.org/syracuse/G/git/?p=delaunay.git;a=blobdiff_plain;f=test%2Fanimation.tex;h=b3d33a749db4684c8219314be844abefd1e95239;hp=bad690b87ad1a6b3295a64b69774cc0da1c93ee3;hb=f5b04999414b0f514d2fea252417c05ac2efeeac;hpb=5d563ad5ea0e2ca2074f5262b69f24f7fc91f211 diff --git a/test/animation.tex b/test/animation.tex index bad690b..b3d33a7 100644 --- a/test/animation.tex +++ b/test/animation.tex @@ -11,28 +11,53 @@ \multido{\ii=5+1}{3}{% \newpage - \meshAddOnePoint[mode=ext,step=badtriangles, + \meshAddPointBWinc[ + mode=ext,step=badtriangles, colorNew =green!20!red, colorBack=red!10, colorCircle = blue, - ]{mesh.txt}{\ii} - \newpage - \meshAddOnePoint[mode=ext,step=cavity, + ] + {mesh.txt}{\ii}% + {% + beginfig(0); + }% + {% + draw (-1,-1)*u--(7.5,-1)*u--(7.5,5)*u--(-1,5)*u--cycle withcolor 0.99white; + clip currentpicture to (-1,-1)*u--(7.5,-1)*u--(7.5,5)*u--(-1,5)*u--cycle; + endfig; + } \newpage + \meshAddPointBWinc[ + mode=ext,step=cavity, colorNew =green!20!red, colorBack=red!10, colorCircle = blue, - ]{mesh.txt}{\ii} - \newpage - \meshAddOnePoint[mode=ext,step=newtriangles, + ] + {mesh.txt}{\ii}% + {% + beginfig(0); + }% + {% + draw (-1,-1)*u--(7.5,-1)*u--(7.5,5)*u--(-1,5)*u--cycle withcolor 0.99white; + clip currentpicture to (-1,-1)*u--(7.5,-1)*u--(7.5,5)*u--(-1,5)*u--cycle; + endfig; + } \newpage + \meshAddPointBWinc[ + mode=ext,step=newtriangles, colorNew =green!20!red, colorBack=red!10, colorCircle = blue, - ]{mesh.txt}{\ii} + ] + {mesh.txt}{\ii}% + {% + beginfig(0); + }% + {% + draw (-1,-1)*u--(7.5,-1)*u--(7.5,5)*u--(-1,5)*u--cycle withcolor 0.99white; + clip currentpicture to (-1,-1)*u--(7.5,-1)*u--(7.5,5)*u--(-1,5)*u--cycle; + endfig; + } } -\newpage - -\buildMesh[mode=ext,print=points]{mesh.txt} \end{document}