tkz-euclide

Last Example : An oval

Screenshot (click image to enlarge)
Example8
[PDF] [TEX]
\documentclass[]{scrartcl}
\usepackage[utf8]{inputenc} 
\usepackage[T1]{fontenc}
\usepackage[upright]{fourier} 
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{tkz-euclide} 
\usetkzobj{all} 
\definecolor{fondpaille}{cmyk}{0,0,0.1,0}
\pagecolor{fondpaille}
\color{Maroon}
\tkzSetUpColors[background=fondpaille,text=Maroon]    
\thispagestyle{empty}

\begin{document} 
  
\begin{tikzpicture}
  \tkzInit[xmin=-5,xmax=5,ymin=-5,ymax=5]
  \tkzDefPoint(-4,0){I}
  \tkzDefPoint(4,0){J}
  \tkzDefPoint(0,0){O}
  \tkzDrawCircle[R,line width=.2pt,color=lightgray](O,4 cm)
  \tkzDrawCircle[R,line width=.2pt,color=lightgray](I,4 cm)
  \tkzDrawCircle[R,line width=.2pt,color=lightgray](J,4 cm)   
  \tkzInterCC(J,O)(O,J) \tkzGetPoints{L}{H}
  \tkzInterCC(I,O)(O,I) \tkzGetPoints{K}{G} 
  \tkzDrawLines[add=1.5 and 1.5,color=gray,dashed](I,K I,G J,H J,L) 
  \tkzDrawLines[add=.5 and .5,color=gray,dashed](I,J) 
  \tkzInterLL(I,K)(J,H) \tkzGetPoint{M}
  \tkzInterLL(I,G)(J,L) \tkzGetPoint{N}
  \tkzDefPointsBy[symmetry=center J](L,H){D,E} 
  \tkzDefPointsBy[symmetry=center I](G,K){C,F}
  \tkzDrawPoints[color=red](H,L,K,G,I,J,D,E,C,F,M,N)
  \tkzLabelPoints(H,L,K,G,I,J,D,E,C,F,M,N)
  \tkzDrawArc(N,D)(C) 
  \tkzDrawArc(M,F)(E) 
  \tkzDrawArc(J,E)(D) 
  \tkzDrawArc(I,C)(F)       
\end{tikzpicture}  

\end{document}

Simple Example

Screenshot (click image to enlarge)
Example0
[PDF] [TEX]
\documentclass{scrartcl}      
\usepackage[upright]{fourier} 
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{tkz-euclide} 
\usetkzobj{all} 
\definecolor{fondpaille}{cmyk}{0,0,0.1,0}
\pagecolor{fondpaille}   
\color{Maroon}  
\tkzSetUpColors[background=fondpaille,text=Maroon]
\thispagestyle{empty}  
                        
\begin{document}
 
 \begin{tikzpicture}
\tkzDefPoint(0,0){A}\tkzDefPoint(6,0){B}
\tkzDefPoint(6,4){C}\tkzDefPoint(0,4){D}
\tkzInterLL(A,C)(B,D)  \tkzGetPoint{I}  
 
\tkzDrawPolygon (A,B,C,D)
\tkzDrawSegments(A,C B,D)
\tkzMarkRightAngles[fill=Maroon!20,size=.3,opacity=.5](D,A,B A,B,C B,C,D C,D,A)
\tkzDrawPoints(A,B,C,D,I)  

\tkzMarkSegments[mark=s||](I,A I,B I,C I,D)
\tkzLabelPoints(A,B) \tkzLabelPoints[above=6pt](I)   
\tkzLabelPoints[above right](C,D)  
\end{tikzpicture}  
\end{document}

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

Screenshot (click image to enlarge)
Example1
[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}

Example 2 Gold Rectangle

Screenshot (click image to enlarge)
Example2
[PDF] [TEX]
\documentclass{scrartcl}
\usepackage[utf8]{inputenc} 
\usepackage[upright]{fourier}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{fullpage,amsmath,tkz-euclide}
\usetkzobj{all}   
\definecolor{fondpaille}{cmyk}{0,0,0.1,0}
\pagecolor{fondpaille}
\color{Maroon}
\tkzSetUpColors[background=fondpaille,text=Maroon]
\thispagestyle{empty}   
                          

\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 E](B,C) \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}

Example 3 Gold Triangle

Screenshot (click image to enlarge)
Example3
[PDF] [TEX]
\documentclass{scrartcl}
\usepackage[utf8]{inputenc} 
\usepackage[upright]{fourier}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{fullpage,amsmath,tkz-euclide}
\usetkzobj{all}   
\definecolor{fondpaille}{cmyk}{0,0,0.1,0}
\pagecolor{fondpaille}
\color{Maroon}
\tkzSetUpColors[background=fondpaille,text=Maroon]
\thispagestyle{empty}   
                          
\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}

Example 4 Pentagone in a square

Screenshot (click image to enlarge)
Example4
[PDF] [TEX]
\documentclass{scrartcl}
\usepackage[utf8]{inputenc} 
\usepackage[upright]{fourier}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{fullpage,amsmath,tkz-euclide}
\usetkzobj{all}   
\definecolor{fondpaille}{cmyk}{0,0,0.1,0}
\pagecolor{fondpaille}
\color{Maroon}
\tkzSetUpColors[background=fondpaille,text=Maroon]
\thispagestyle{empty}   
                          
\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}

Example 5 Pentagone in a circle

Screenshot (click image to enlarge)
Example5
[PDF] [TEX]
\documentclass{scrartcl}
\usepackage[utf8]{inputenc} 
\usepackage[upright]{fourier}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{fullpage,amsmath,tkz-euclide}
\usetkzobj{all}   
\definecolor{fondpaille}{cmyk}{0,0,0.1,0}
\pagecolor{fondpaille}
\color{Maroon}
\tkzSetUpColors[background=fondpaille,text=Maroon]
\thispagestyle{empty}  

 \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}
  \tkzDrawArcAngles[color=gray,style=dashed](B,E)(180,360)
  \tkzDrawArcAngles[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}

Example 6 Parabola As Envelope of Straight Lines

Screenshot (click image to enlarge)
Example6
[PDF] [TEX]
\documentclass{scrartcl}
\usepackage[utf8]{inputenc} 
\usepackage[upright]{fourier}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{fullpage,amsmath,tkz-euclide}
\usetkzobj{all}   
\definecolor{fondpaille}{cmyk}{0,0,0.1,0}
\pagecolor{fondpaille}
\color{Maroon}
\tkzSetUpColors[background=fondpaille,text=Maroon]
\thispagestyle{empty}  

\begin{document} 

  \begin{tikzpicture}
    \tkzInit[xmin=-6,ymin=-6,xmax=6,ymax=6]
    \tkzClip 
    \tkzDefPoint(0,0){O} 
    \tkzDefPoint(132:5){A}
    \tkzDefPoint(4,0){B}
    \foreach \ang in {5,10,...,360}{%
      \tkzDefPoint(\ang:4){M}
      \tkzDefLine[mediator](A,M)  \tkzGetPoints{i}{j}
      \tkzDrawLine[color=magenta,add= 4 and 4](i,j)
      }
\end{tikzpicture}
\end{document}

Example 7 An Envelope of lines to outline the Ellipse

Screenshot (click image to enlarge)
Example7
[PDF] [TEX]
\documentclass{scrartcl}
\usepackage[utf8]{inputenc} 
\usepackage[upright]{fourier}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{fullpage,amsmath,tkz-euclide}
\usetkzobj{all}   
\definecolor{fondpaille}{cmyk}{0,0,0.1,0}
\pagecolor{fondpaille}
\color{Maroon}
\tkzSetUpColors[background=fondpaille,text=Maroon]
\thispagestyle{empty}  

\begin{document} 

  \begin{tikzpicture}
    \tkzInit[xmin=-6,ymin=-6,xmax=6,ymax=6]
    \tkzClip 
    \tkzDefPoint(0,0){O} 
    \tkzDefPoint(132:5){A}
    \tkzDefPoint(4,0){B}
    \foreach \ang in {5,10,...,360}{%
      \tkzDefPoint(\ang:4){M}
      \tkzDefLine[mediator](A,M)  \tkzGetPoints{i}{j}
      \tkzDrawLine[color=magenta,add= 4 and 4](i,j)
      }
\end{tikzpicture}
\end{document}