GeoGebra Script versión 002

[code]#Points hexagon[br]m=6[br]Execute(Sequence("A"+i+"=Rotate( (cos(pi/3*"+i+"), sin(pi/3*"+i+")), -pi/6, (0,0) )", i, 1, m))[br][br]#Hexagon[br]Poly01=Polygon(A1, A2, A3, A4, A5, A6)[br][br]#Origin[br]O=(0,0)[br][br]#Segment from center[br]S2=Segment(O, A2)[br]S4=Segment(O, A4)[br]S6=Segment(O, A6)[br][br]#Circles corners[br]r=Slider(0.1, 1, 0.1, 1, 140, false, true, false, false)[br]C1=Circle(A1, r)[br]C3=Circle(A3, r)[br][br]#Circle center[br]C0=Circle(O, r)[br][br]#Intersections[br]I1=Intersect( C1, a1 )[br]J1=Intersect( C3, a2 )[br]L1=Intersect( C0, S2 )[br][br]#Object[br]T1=Polygon( A1, I1, L1, J1, A3, O )[br]T2=Rotate(T1, 2*pi/3, O)[br]T3=Rotate(T1, -2*pi/3, O)[br][br]#Vectors[br]auxray=Ray(O, A1)[br]auxPoint=Intersect(C1, auxray, 2)[br]u1=Vector(O, auxPoint )[br][br]n=Slider(1,18,1, 1, 140, false, true, false, false)[br][br]u=Sequence(Rotate(u1, π / 3 i, O), i, 1, n)[br][br]v=Sequence( If(Mod(i, 2)==1, Rotate( 2*u1, pi/3*(i+1)/2, O ), Rotate( u1+Rotate(u1, pi/3, O), pi/3*(i/2), O ) ) , i, 1, n )[br][br]w=Sequence(If( Mod(i, 3)==1, Rotate(3*u1, pi/3*((i+2)/3), O) , If( Mod(i, 3)==2 , Rotate(2*u1+ Rotate(u1, pi/3, O ) , pi/3*((i+1)/3), O) , Rotate(u1+ 2*Rotate(u1, pi/3, O ) , pi/3*(i/3), O) ) ) , i, 1, n)[br][br]L_1=Sequence(Translate(T1, Element(u, i)), i, 1, 6)[br]L_2=Sequence(Translate(T2, Element(u, i)), i, 1, 6)[br]L_3=Sequence(Translate(T3, Element(u, i)), i, 1, 6)[br][br]L_4=Sequence(Translate(T1, Vector(Element(v, i))), i, 1, 12)[br]L_5=Sequence(Translate(T2, Vector(Element(v, i))), i, 1, 12)[br]L_6=Sequence(Translate(T3, Vector(Element(v, i))), i, 1, 12)[br][br]L_7=Sequence(Translate(T1, Vector(Element(w, i))), i, 1, 18)[br]L_8=Sequence(Translate(T2, Vector(Element(w, i))), i, 1, 18)[br]L_9=Sequence(Translate(T3, Vector(Element(w, i))), i, 1, 18)[/code]

Information: GeoGebra Script versión 002