1 \documentclass{article
}
2 %% compiler avec lualatex
3 \usepackage[margin=
2.5cm
]{geometry
}
12 \multido{\ii=
5+
1}{3}{%
15 mode=ext,step=badtriangles,
16 colorNew =green!
20!red,
25 draw (-
1,-
1)*u--(
7.5,-
1)*u--(
7.5,
5)*u--(-
1,
5)*u--cycle withcolor
0.99white;
26 clip currentpicture to (-
1,-
1)*u--(
7.5,-
1)*u--(
7.5,
5)*u--(-
1,
5)*u--cycle;
31 colorNew =green!
20!red,
40 draw (-
1,-
1)*u--(
7.5,-
1)*u--(
7.5,
5)*u--(-
1,
5)*u--cycle withcolor
0.99white;
41 clip currentpicture to (-
1,-
1)*u--(
7.5,-
1)*u--(
7.5,
5)*u--(-
1,
5)*u--cycle;
45 mode=ext,step=newtriangles,
46 colorNew =green!
20!red,
55 draw (-
1,-
1)*u--(
7.5,-
1)*u--(
7.5,
5)*u--(-
1,
5)*u--cycle withcolor
0.99white;
56 clip currentpicture to (-
1,-
1)*u--(
7.5,-
1)*u--(
7.5,
5)*u--(-
1,
5)*u--cycle;