X-Git-Url: https://melusine.eu.org/syracuse/G/git/?a=blobdiff_plain;f=test%2Fanimation.tex;h=d47832a107fd834292d0c3525e8aa9d7a2c4c65c;hb=791c961e11f1d1114a9c8ba169d1422a8bcb4a94;hp=bad690b87ad1a6b3295a64b69774cc0da1c93ee3;hpb=f0c35b1341043ab532bd685c57fb513c44c356d3;p=delaunay.git diff --git a/test/animation.tex b/test/animation.tex index bad690b..d47832a 100644 --- a/test/animation.tex +++ b/test/animation.tex @@ -6,33 +6,108 @@ \usepackage{multido} \pagestyle{empty} - +\def\drawPath{draw (-2,-2)*u--(8,-2)*u--(8,6)*u--(-2,6)*u--cycle withcolor 0.99white;} +\def\clipPath{clip currentpicture to (-2,-2)*u--(8,-2)*u--(8,6)*u--(-2,6)*u--cycle;} \begin{document} -\multido{\ii=5+1}{3}{% +\buildMeshBWinc[ +mode=ext, +bbox = show, +colorBbox = blue!20, +print=points +] +{meshInit.txt}% +{% + beginfig(0); + \drawPath +}% +{% + \clipPath + endfig; +} + +\multido{\ii=5+1}{4}{% \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, + bbox = show, + colorBbox = blue!20 + ] + {mesh.txt}{\ii}% + {% + beginfig(0); + \drawPath + }% + {% + \clipPath + 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, + bbox = show, + colorBbox = blue!20 + ] + {mesh.txt}{\ii}% + {% + beginfig(0); + \drawPath + }% + {% + \clipPath + endfig; + } \newpage + \meshAddPointBWinc[ + mode=ext,step=newtriangles, colorNew =green!20!red, colorBack=red!10, colorCircle = blue, - ]{mesh.txt}{\ii} + bbox = show, + colorBbox = blue!20] + {mesh.txt}{\ii}% + {% + beginfig(0); + \drawPath + }% + {% + \clipPath + endfig; + } } - \newpage - -\buildMesh[mode=ext,print=points]{mesh.txt} - +\buildMeshBWinc[ +mode=ext, +bbox = show, +colorBbox = blue!20, +print=points +] +{mesh.txt}% +{% + beginfig(0); + \drawPath +}% +{% + \clipPath + endfig; +} +\newpage +\buildMeshBWinc[ +mode=ext, +print=points +] +{mesh.txt}% +{% + beginfig(0); + \drawPath +}% +{% + \clipPath + endfig; +} \end{document}