{"id":2772,"date":"2020-05-28T15:53:37","date_gmt":"2020-05-28T13:53:37","guid":{"rendered":"http:\/\/entropie.org\/maths-sciences\/?p=2772"},"modified":"2021-03-02T12:17:21","modified_gmt":"2021-03-02T11:17:21","slug":"logiciel-eukleides","status":"publish","type":"post","link":"https:\/\/entropie.org\/maths-sciences\/index.php\/2020\/05\/28\/logiciel-eukleides\/","title":{"rendered":"Logiciel Eukleides"},"content":{"rendered":"<p>Je viens de d\u00e9couvrir un logiciel tr\u00e8s int\u00e9ressant pour tracer des figures de g\u00e9om\u00e9trie au format EPS (images vectorielles) par programmation. Il s&rsquo;agit d&rsquo;<a href=\"http:\/\/eukleides.org\" rel=\"noopener noreferrer\" target=\"_blank\">Eukleides<\/a>. Attention \u00e0 bien enregistrer le code source avec un encodage ISO 8859-1. Pour une installation sous Debian 10, voir <a href=\"https:\/\/entropie.org\/3615\/index.php\/2020\/05\/29\/eukleides-et-geany-sous-debian-10\/\" rel=\"noopener noreferrer\" target=\"_blank\">ici<\/a>.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/entropie.org\/maths-sciences\/wp-content\/uploads\/2020\/05\/g12-300x148.png\" alt=\"\" width=\"300\" height=\"148\" class=\"alignnone size-medium wp-image-2776\" srcset=\"https:\/\/entropie.org\/maths-sciences\/wp-content\/uploads\/2020\/05\/g12-300x148.png 300w, https:\/\/entropie.org\/maths-sciences\/wp-content\/uploads\/2020\/05\/g12.png 320w\" sizes=\"(max-width: 300px) 85vw, 300px\" \/><\/p>\n<p><strong>Code source pour l&rsquo;image ci-dessus :<\/strong><\/p>\n<p>box -1, -1, 7, 3<br \/>\nA B C isosceles<br \/>\nH = projection(C, line(A, B))<\/p>\n<p>draw<br \/>\n (A.B.C)<br \/>\n  C.H dashed<br \/>\n  H<br \/>\nend<\/p>\n<p>label<br \/>\n  A -135\u00b0<br \/>\n  B -45\u00b0<br \/>\n  C 90\u00b0<br \/>\n  H -90\u00b0<br \/>\n  B, H, C right<br \/>\n  B, A, C double<br \/>\n  C, B, A double<br \/>\n  A.H simple<br \/>\n  B.H simple<br \/>\n  A.C double<br \/>\n  C.B double<br \/>\nend<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/entropie.org\/maths-sciences\/wp-content\/uploads\/2020\/05\/g12-thales.png\" alt=\"\" width=\"300\" height=\"205\" class=\"alignnone size-full wp-image-2782\" \/><\/p>\n<p><strong>Code source pour l&rsquo;image ci-dessus :<\/strong><\/p>\n<p>% Thal\u00e8s<br \/>\n% Triangle ABC<br \/>\n% E appartient \u00e0 [AB] ; F appartient \u00e0 [AC] ; (EF) \/\/ (BC)<\/p>\n<p>box -2,-2,9,7      % coordonn\u00e9es des coins de la fen\u00eatre (en cm)<\/p>\n<p>AB = 6             % en cm<br \/>\nAC = 4.8           % en cm<br \/>\nBC = 7             % en cm<br \/>\ninclinaison = 5    % inclinaison de [BC] en \u00b0<br \/>\nrapport = 4\/6      % AE\/AB<\/p>\n<p>B C A triangle BC, AC, AB, inclinaison\u00b0<br \/>\nE = point(A.B, rapport)<br \/>\nF = point(A.C, rapport)<\/p>\n<p>draw<br \/>\n(A.B.C)<br \/>\n(A.E.F)<br \/>\nend<\/p>\n<p>label<br \/>\nA 90\u00b0<br \/>\nB -135\u00b0<br \/>\nC -45\u00b0<br \/>\nE 135\u00b0<br \/>\nF 45\u00b0<br \/>\nend<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Je viens de d\u00e9couvrir un logiciel tr\u00e8s int\u00e9ressant pour tracer des figures de g\u00e9om\u00e9trie au format EPS (images vectorielles) par programmation. Il s&rsquo;agit d&rsquo;Eukleides. Attention \u00e0 bien enregistrer le code source avec un encodage ISO 8859-1. Pour une installation sous Debian 10, voir ici. Code source pour l&rsquo;image ci-dessus : box -1, -1, 7, 3 &hellip; <a href=\"https:\/\/entropie.org\/maths-sciences\/index.php\/2020\/05\/28\/logiciel-eukleides\/\" class=\"more-link\">Continuer la lecture<span class=\"screen-reader-text\"> de &laquo;&nbsp;Logiciel Eukleides&nbsp;&raquo;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[27],"tags":[],"_links":{"self":[{"href":"https:\/\/entropie.org\/maths-sciences\/index.php\/wp-json\/wp\/v2\/posts\/2772"}],"collection":[{"href":"https:\/\/entropie.org\/maths-sciences\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/entropie.org\/maths-sciences\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/entropie.org\/maths-sciences\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/entropie.org\/maths-sciences\/index.php\/wp-json\/wp\/v2\/comments?post=2772"}],"version-history":[{"count":15,"href":"https:\/\/entropie.org\/maths-sciences\/index.php\/wp-json\/wp\/v2\/posts\/2772\/revisions"}],"predecessor-version":[{"id":3249,"href":"https:\/\/entropie.org\/maths-sciences\/index.php\/wp-json\/wp\/v2\/posts\/2772\/revisions\/3249"}],"wp:attachment":[{"href":"https:\/\/entropie.org\/maths-sciences\/index.php\/wp-json\/wp\/v2\/media?parent=2772"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/entropie.org\/maths-sciences\/index.php\/wp-json\/wp\/v2\/categories?post=2772"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/entropie.org\/maths-sciences\/index.php\/wp-json\/wp\/v2\/tags?post=2772"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}