
Il est possible de modifier et de compiler cet exemple :
\documentclass[border=10pt]{standalone}
\usepackage{tkz-euclide}
\begin{document}
\colorlet{input}{red!80!black}
\colorlet{output}{red!70!black}
\colorlet{triangle}{orange!40}
\begin{tikzpicture}[scale=1.25,thick,help lines/.style={thin,draw=black!50}]
\tkzDefPoint(0,0){A}
\tkzDefPoint(1.25+rand(),0.25+rand()){B}
\tkzInterCC(A,B)(B,A) \tkzGetPoints{C}{X}
\tkzFillPolygon[triangle,opacity=.5](A,B,C)
\tkzDrawSegment[input](A,B)
\tkzDrawSegments[red](A,C B,C)
\tkzDrawCircles[help lines](A,B B,A)
\tkzLabelPoints(A,B)
\tkzLabelCircle[below=12pt](A,B)(180){$D$}
\tkzLabelCircle[above=12pt](B,A)(180){$E$}
\tkzLabelPoint[above,red](C){$C$}
\tkzDrawPoints[fill=gray,opacity=.5](A,B,C)
\end{tikzpicture}
\end{document}