header

tkz-euclide

Les fichiers nécessaires pour compiler les exemples sont ici.

Cardioïde (from an idea of O. Reboux)

Cardioide
Cardioïde : [PDF] [TEX]
\documentclass[a4paper]{scrbook}
\usepackage[utf8]{inputenc} 
\usepackage[upright]{fourier} 
\usepackage[usenames,dvipsnames,svgnames]{xcolor}
\usepackage{tkz-euclide,fullpage}
\usetkzobj{all}
\usepackage[frenchb]{babel}
\definecolor{fondpaille}{cmyk}{0,0,0.1,0}
\tkzSetUpColors[background=fondpaille,text=Maroon]  

\begin{document} 

\begin{tikzpicture}
  \tkzInit[xmin=-6,ymin=-6,
           xmax= 6,ymax= 5.5]  
  \tkzClip 
  \tkzDefPoint(0,0){O} 
  \tkzDefPoint(2,0){A}
  \foreach \ang in {5,10,...,360}{%
     \tkzDefPoint(\ang:2){M}
     \tkzDrawCircle[](M,A) 
   }  
\end{tikzpicture} 
\end{document}

Gold Rectangle

Golden Rectangle
Gold Rectangle [PDF] [TEX]
\documentclass[a4paper]{scrbook}
\usepackage[utf8]{inputenc} 
\usepackage[upright]{fourier} 
\usepackage[usenames,dvipsnames,svgnames]{xcolor}
\usepackage{tkz-euclide,fullpage}
\usetkzobj{all}
\usepackage[frenchb]{babel}
\definecolor{fondpaille}{cmyk}{0,0,0.1,0}
\tkzSetUpColors[background=fondpaille,text=Maroon] 

\begin{document}
\begin{tikzpicture}[scale=1]
  \tkzInit[xmax=14,ymax=10]
  \tkzClip[space=1]
  \tkzDefPoint(0,0){A}
  \tkzDefPoint(8,0){B}
  \tkzDefMidPoint(A,B)   \tkzGetPoint{I}
  \tkzDefSquare(A,B)     \tkzGetPoints{C}{D} 
  \tkzDrawPolygon(A,B,C,D)
  \tkzInterLC(A,B)(I,C)   \tkzGetSecondPoint{E}
  \tkzDrawArc[style=dashed,color=gray](I,E)(D)
  \tkzDefPointWith[colinear= at C](E,B) \tkzGetPoint{F}  
  \tkzDrawPoints(A,B,C,D,E,F,I) 
  \tkzLabelPoints(A,B,C,I,D,E,F) 
  \tkzDrawSegments[style=dashed,color=gray](E,F C,F B,E)
\end{tikzpicture}  
\end{document}

Gold Triangle

Gold Triangle
Gold Triangle [PDF] [TEX]
\documentclass[a4paper]{scrartcl}
\usepackage[utf8]
{inputenc} 
\usepackage[upright]{fourier} 
\usepackage[usenames,dvipsnames,svgnames]{xcolor}
\usepackage{tkz-euclide,fullpage}
\usetkzobj{all}
\usepackage[frenchb]{babel}
\definecolor{fondpaille}{cmyk}{0,0,0.1,0}
\pagecolor{fondpaille}
\color{Maroon} 

\begin{document}
   
   \begin{tikzpicture}
    \tkzPoint(0,0){A} 
    \tkzPoint(5,0){C}
    \tkzPoint[pos=above](0,5){B} 
    \tkzDrawLine[](A,C)
    \tkzDrawArc(A,C)(B)
    \tkzDefMidPoint(A,C)\tkzGetPoint{I}
    \tkzDrawSegment[color=gray,style=dashed](I,B)
    \tkzDuplicateLen(I,B)(I,A)\tkzGetPoint{D} 
    \tkzDrawArc[color=gray,style=dashed](I,B)(D)
    \tkzDuplicateLen(A,D)(A,B)\tkzGetPoint{E}
    \tkzDuplicateLen(A,D)(B,A)\tkzGetPoint{G} 
    \tkzDrawArc[color=gray,style=dashed](A,D)(B)
    \tkzInterCC(A,C)(B,G)\tkzGetPoints{K}{F}
    \tkzDrawArc[color=gray,style=dashed](B,G)(F)
    \tkzDrawPoint(F)
    \tkzCompass(B,F)
    \tkzDrawPolygon[color=red](A,B,F) 
\end{tikzpicture}
\end{document}

Pentagone in a square

Pentagone Square
Pentagone in a square [PDF] [TEX]
 \documentclass[a4paper]{scrartcl}
 \usepackage[utf8]{inputenc} 
 \usepackage[upright]{fourier} 
 \usepackage[usenames,dvipsnames,svgnames]{xcolor}
 \usepackage{tkz-euclide,fullpage}
 \usetkzobj{all}
 \usepackage[frenchb]{babel}
 \definecolor{fondpaille}{cmyk}{0,0,0.1,0}
 \pagecolor{fondpaille}
 \color{Maroon} 

 \begin{document}
    
    \begin{tikzpicture}[scale=.8]
  \tkzInit[xmin=-6,xmax=12,ymin=-6,ymax=6] 
  \tkzClip
  \tkzDefPoint(-5,-5){A} 
  \tkzDefPoint(0,0){O}  
  \tkzDefPoint(+5,-5){B} 
  \tkzDefPoint(0,-5){F}    
  \tkzDefPoint(+5,0){F'}
  \tkzDefPoint(0,+5){E} 
  \tkzDefPoint(-5,0){K}
  \tkzDefSquare(A,B)         \tkzGetPoints{C}{D}

  \tkzInterLC(D,C)(E,B)      \tkzGetPoints{T'}{T}

  \tkzDefMidPoint(D,T)     \tkzGetPoint{I}
  \tkzInterCC[with nodes](O,D,I)(E,D,I)   \tkzGetPoints{H'}{H}
  \tkzInterLC(O,H)(O,E)     \tkzGetPoints{M'}{M}
  \tkzInterCC(O,E)(E,M)     \tkzGetPoints{Q}{M}
  \tkzInterCC[with nodes](O,O,E)(Q,E,M)    \tkzGetPoints{P}{E}
  \tkzInterCC[with nodes](O,O,E)(P,E,M)    \tkzGetPoints{N}{Q} 

  \tkzCompass(O,H)
  \tkzCompass(E,H)
  \tkzDrawArc[color=gray,style=dashed](E,B)(T)  
  \tkzDrawPolygon(A,B,C,D)
  \tkzDrawCircle(O,E)  
  \tkzDrawSegments[color=gray](O,H E,H E,F F',K)
  \tkzDrawPoints(T,M,Q,P,N)
  \tkzDrawPolygon[color=red](M,E,Q,P,N)   
\end{tikzpicture}    
\end{document}

Pentagone in a circle

Pentagone Circle
Pentagone in a circle [PDF] [TEX]
 \documentclass[a4paper]{scrartcl}
 \usepackage[utf8]{inputenc} 
 \usepackage[upright]{fourier} 
 \usepackage[usenames,dvipsnames,svgnames]{xcolor}
 \usepackage{tkz-euclide,fullpage}
 \usetkzobj{all}
 \usepackage[frenchb]{babel}
 \definecolor{fondpaille}{cmyk}{0,0,0.1,0}
 \pagecolor{fondpaille}
 \color{Maroon} 

 \begin{document}
    
    \begin{tikzpicture}
      \tkzInit[xmin=-6,xmax=6,ymin=-6,ymax=6] 
      \tkzClip
      \tkzDefPoint(0,0){O} 
      \tkzDefPoint(5,0){A}
      \tkzDefPoint(0,5){B}
      \tkzDefPoint(-5,0){C} 
      \tkzDefPoint(0,-5){D}

      \tkzDefMidPoint(A,O)     \tkzGetPoint{I}

      \tkzInterLC(I,B)(I,A)    \tkzGetPoints{F}{E}
      \tkzDrawArc[angles,color=gray,style=dashed](B,E)(180,360)
      \tkzDrawArc[angles,color=gray,style=dashed](B,F)(220,340)
      \tkzInterCC(O,C)(B,E)    \tkzGetPoints{D3}{D2}
      \tkzInterCC(O,C)(B,F)    \tkzGetPoints{D4}{D1}

      \tkzDrawLine[color=gray,add=.5 and .5](B,I)
      \tkzDrawCircle(O,A)
      \tkzDrawCircle[diameter](O,A)  
      \tkzDrawSegments[color=gray](B,D C,A) 
      \tkzDrawPolygon[color=red](D,D1,D2,D3,D4)
      \tkzDrawPoints(E,F,I,D1,D2,D4,D3)
      \tkzLabelPoints(A,B,C,D,O,I,E,F,D1,D2,D4,D3)  
    \end{tikzpicture}\end{document}