// Coordinates System : SetCoords(197.66593794354105,216.57011473839572,8.99229403373425,false,1434,731); // Geometry : A=Point("A",2.1500000000000026,2.662499999999991); B=Point("B",2.082314036508064,-5.195509727002966); L1=PerpendicularBisector("L1",A,B); C=PointOn("C",L1,166.05307922030428); blk_turtle_exp_C=Expression("blk_turtle_exp_C","","","","var bl_bafedbbaj=function(){\nTURTLE_INIT(\"C\",C);\n/**\n * Décrire cette fonction…\n */\nfunction triangle(blockly_local_num_couleur) {\n TURTLE_UP(false);\n TURTLE_MV((d((B),(C))),false);\n TURTLE_TURN((Math.minus(180,(Math.Angle180((A),(B),(C))))));\n TURTLE_MV((d((A),(B))),false);\n TURTLE_TURN((Math.minus(180,(Math.Angle180((C),(A),(B))))));\n TURTLE_MV((d((A),(C))),false);\n TURTLE_TURN((Math.minus(180,(Math.Angle180((B),(C),(A))))));\n TURTLE_COLOUR(blockly_local_num_couleur);\n TURTLE_FILL(50);\n TURTLE_UP(true);\n}\n\n/**\n * Décrire cette fonction…\n */\nfunction parallelo() {\n triangle(13);\n TURTLE_MV((d((B),(C))),false);\n TURTLE_TURN((Math.Angle180((B),(C),(A))));\n TURTLE_MV((d((C),(A))),false);\n TURTLE_TURN((Math.minus(180,(Math.Angle180((B),(C),(A))))));\n triangle(36);\n TURTLE_MV((d((B),(C))),false);\n TURTLE_TURN((Math.Angle180((B),(C),(A))));\n TURTLE_MV((d((C),(A))),false);\n TURTLE_TURN((Math.minus(180,(Math.Angle180((B),(C),(A))))));\n}\n\n\nTURTLE_ROTATE_PT((B));\nfor (var blockly_var_count2 = 1 ; blockly_var_count2 <= 4 ; blockly_var_count2++){\n for (var blockly_var_count = 1 ; blockly_var_count <= 4 ; blockly_var_count++){\n parallelo();\n TURTLE_MV((d((B),(C))),false);\n };\n TURTLE_MV(-(Math.times(4,(d((C),(B))))),false);\n TURTLE_TURN((Math.Angle180((B),(C),(A))));\n TURTLE_MV((d((C),(A))),false);\n TURTLE_TURN(-(Math.Angle180((B),(C),(A))));\n};\nreturn TURTLE_RESULT()\n};\nbl_bafedbbaj()","-16.421386732860146","18.523650818524644"); blk_turtle_list_C=List("blk_turtle_list_C",blk_turtle_exp_C); // Styles : STL(A,"c:#0000b2;s:6;sn:true;f:30"); STL(B,"c:#0000b2;s:6;sn:true;f:30"); STL(L1,"c:#780013;h:1;s:1;f:30;p:0"); STL(C,"c:#0000b2;s:6;sn:true;f:30;np:4.0841584188682685"); STL(blk_turtle_exp_C,"c:#780013;h:2;s:7;f:24;p:2;cL:200;cPT:YzojNzgwMDEzO2g6MjtzOjEwO2Y6MzA="); STL(blk_turtle_list_C,"c:#0000b2;s:0;f:30;p:0;nmi:true;sg:1"); SetCoordsStyle("isAxis:false;isGrid:true;isOx:true;isOy:true;isLockOx:false;isLockOy:false;centerZoom:false;onlyPositive:false;color:#111111;fontSize:18;axisWidth:1;gridWidth:0.1"); SetGeneralStyle("background-color:#F8F8F8;degree:true;dragmoveable:true"); // Blockly : BLK(C,{"onlogo":{"xml":"triangleDécrire cette fonction…penDownmoveForwardun60BCturnLeft90MINUS180a180ABCmoveForwardun60ABturnLeft90MINUS180a180CABmoveForwardun60ACturnLeft90MINUS180a180BCA68num_couleur50penUpparalleloDécrire cette fonction…13moveForwardun60BCturnLeft90a180BCAmoveForwardun60CAturnLeft90MINUS180a180BCA36moveForwardun60BCturnLeft90a180BCAmoveForwardun60CAturnLeft90MINUS180a180BCABB44moveForwardun60BCmoveBackwardun60MULTIPLY4CBturnLeft90a180BCAmoveForwardun60CAturnRight90a180BCA","sync":"/**\n * Décrire cette fonction…\n */\nfunction triangle(blockly_local_num_couleur) {\n TURTLE_UP(false);\n TURTLE_MV((d((B),(C))),false);\n TURTLE_TURN((Math.minus(180,(Math.Angle180((A),(B),(C))))));\n TURTLE_MV((d((A),(B))),false);\n TURTLE_TURN((Math.minus(180,(Math.Angle180((C),(A),(B))))));\n TURTLE_MV((d((A),(C))),false);\n TURTLE_TURN((Math.minus(180,(Math.Angle180((B),(C),(A))))));\n TURTLE_COLOUR(blockly_local_num_couleur);\n TURTLE_FILL(50);\n TURTLE_UP(true);\n}\n\n/**\n * Décrire cette fonction…\n */\nfunction parallelo() {\n triangle(13);\n TURTLE_MV((d((B),(C))),false);\n TURTLE_TURN((Math.Angle180((B),(C),(A))));\n TURTLE_MV((d((C),(A))),false);\n TURTLE_TURN((Math.minus(180,(Math.Angle180((B),(C),(A))))));\n triangle(36);\n TURTLE_MV((d((B),(C))),false);\n TURTLE_TURN((Math.Angle180((B),(C),(A))));\n TURTLE_MV((d((C),(A))),false);\n TURTLE_TURN((Math.minus(180,(Math.Angle180((B),(C),(A))))));\n}\n\n\nTURTLE_ROTATE_PT((B));\nfor (var blockly_var_count2 = 1 ; blockly_var_count2 <= 4 ; blockly_var_count2++){\n for (var blockly_var_count = 1 ; blockly_var_count <= 4 ; blockly_var_count++){\n parallelo();\n TURTLE_MV((d((B),(C))),false);\n };\n TURTLE_MV(-(Math.times(4,(d((C),(B))))),false);\n TURTLE_TURN((Math.Angle180((B),(C),(A))));\n TURTLE_MV((d((C),(A))),false);\n TURTLE_TURN(-(Math.Angle180((B),(C),(A))));\n};","parents":["B","A"]},"current":"onlogo"});