Il est possible de modifier et de compiler cet exemple :
\documentclass[border=10pt]{standalone} \usepackage{tkz-euclide} \begin{document} \begin{tikzpicture} \tkzDefPoints{0/0/A,12/0/B,6/12*sind(60)/C} \foreach \density in {20,30,...,240}{% \tkzDrawPolygon[fill=teal!\density](A,B,C) \pgfnodealias{X}{A} \tkzDefPointWith[linear,K=.15](A,B) \tkzGetPoint{A} \tkzDefPointWith[linear,K=.15](B,C) \tkzGetPoint{B} \tkzDefPointWith[linear,K=.15](C,X) \tkzGetPoint{C}} \end{tikzpicture} \end{document}