1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 |
-27→A 23→B Répéter5 Aller à x=A; y=23 Stylo écrit Aller à x=x; y=-y Stylo relevé Aller à x=25; y=B Stylo écrit Aller à x=-26; y=y Stylo relevé A+13→A B-11,7→B -20→D 17→E Répéter16 RanInt#(0;5→M 7355486Ent(cos(M))+3208978Ent(cos(M-1))+20508544Ent(cos(M-2→A A+16575649Ent(cos(M-3))+24165740Ent(cos(M-4))+26538620Ent(cos(M-5→A Ent(A÷2^(9RanInt#(0;2→A 90RanInt#(-1;1)Ent(cos(M→C S'orienter à C+180RanInt#(0;1)Ent(cos(M-5degrés Aller à x=D+3cos(θ; y=E+1,5(sin(θ SiC≠0Alors Aller à x=D+1,5cos(θ; y=E+3sin(θ Fin 0→F Répéter7 F+1→F Tourner de ,5Ent(A→A Stylo écrit SiA=Ent(AAlors Stylo relevé Fin Avancer de3(1+Abs(Ent(cos(θ-Cpixels Stylo relevé ,5Ent(A→A SiA≠Ent(AAlors Aller à x=D-3; y=E+3 Stylo écrit Aller à x=D+3; y=E-3 Stylo relevé Fin ,5Ent(A→A SiA≠Ent(AAlors Aller à x=D+3; y=E+3 Stylo écrit Aller à x=D-3; y=E-3 Stylo relevé Fin D+13→D SiD>25Alors -20→D E-11,5→E Fin Stylo relevé Avancer de-99pixels |