// Coordinates System : SetCoords(607.296875,519.78125,40,false,1378,798); // Geometry : A=Point("A",-6.025,1.5125); B=Point("B",-2.3,1.4375); blk_turtle_exp_A=Expression("blk_turtle_exp_A","","","","var bl_dcbbegchb=function(){\nTURTLE_INIT(\"A\",A);\n// Décrire cette fonction…\nfunction pentagone(blockly_local_Sens,blockly_local_Cote) {\n for (var blockly_var_count = 1 ; blockly_var_count <= 5 ; blockly_var_count++){\n TURTLE_MV(blockly_local_Cote,false);\n TURTLE_TURN((Math.times(blockly_local_Sens,72)));\n };\n}\n\n// Décrire cette fonction…\nfunction fleur(blockly_local_B,blockly_local_sensT) {\n TURTLE_ROTATE_PT(blockly_local_B);\n for (var blockly_var_count2 = 1 ; blockly_var_count2 <= 5 ; blockly_var_count2++){\n pentagone(-blockly_local_sensT, (d((A),(B))));\n TURTLE_MV((d((A),(B))),false);\n TURTLE_TURN((Math.times(blockly_local_sensT,72)));\n };\n}\n\n\nfleur((B), 1);\nreturn TURTLE_RESULT()\n};\nbl_dcbbegchb()","-13.932421875","11.74453125"); blk_turtle_list_A=List("blk_turtle_list_A",blk_turtle_exp_A); // Styles : STL(A,"c:#0000b2;s:6;sn:true;f:30"); STL(B,"c:#0000b2;s:6;sn:true;f:30"); STL(blk_turtle_exp_A,"c:#780013;h:2;s:7;f:24;p:2;cL:200;cPT:YzojNzgwMDEzO2g6MjtzOjEwO2Y6MzA="); STL(blk_turtle_list_A,"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;color:#111111;fontSize:18;axisWidth:1;gridWidth:0.1"); SetGeneralStyle("background-color:#F8F8F8;degree:true;dragmoveable:true"); // Blockly : BLK(A,{"onlogo":{"xml":"pentagoneDécrire cette fonction…5moveForwardun60CoteturnLeft90MULTIPLYSens72fleurDécrire cette fonction…AB5NEGsensTABmoveForwardun60ABturnLeft90MULTIPLYsensT72B1","sync":"// Décrire cette fonction…\nfunction pentagone(blockly_local_Sens,blockly_local_Cote) {\n for (var blockly_var_count = 1 ; blockly_var_count <= 5 ; blockly_var_count++){\n TURTLE_MV(blockly_local_Cote,false);\n TURTLE_TURN((Math.times(blockly_local_Sens,72)));\n };\n}\n\n// Décrire cette fonction…\nfunction fleur(blockly_local_B,blockly_local_sensT) {\n TURTLE_ROTATE_PT(blockly_local_B);\n for (var blockly_var_count2 = 1 ; blockly_var_count2 <= 5 ; blockly_var_count2++){\n pentagone(-blockly_local_sensT, (d((A),(B))));\n TURTLE_MV((d((A),(B))),false);\n TURTLE_TURN((Math.times(blockly_local_sensT,72)));\n };\n}\n\n\nfleur((B), 1);","parents":["B"]},"current":"onlogo"});