Sangakus
Sangaku or San Gaku are colorful wooden tablets which were hung often in shinto shrines and sometimes in buddhist temples in Japan and posing typical and elegant mathematical problems. The problems featured on the sangaku are problems of japanese mathematics (wasan). The earliest sangaku found date back to the beginning of the 17th century.
Example 1
View TeX code
View Lua code
\begin{tikzpicture}[scale = 1.75]
\tkzDefPoint(0,0){B}
\tkzDefPoint(0,8){A}
\tkzDefSquare(A,B) \tkzGetPoints{C}{D}
\tkzDrawPolygon(A,...,D)
\tkzClipPolygon(A,...,D)
\tkzDefMidPoint(D,A)\tkzGetPoint{F}
\tkzDefMidPoint(C,B)\tkzGetPoint{E}
\tkzDefMidPoint(A,C)\tkzGetPoint{Q}
\tkzFillPolygon[color = green](A,B,C,D)
\tkzDrawCircle[fill = orange](B,A)
\tkzDrawCircle[fill = purple](E,B)
\tkzDefLine[tangent from =B](F,A)
\tkzInterLL(F,tkzSecondPointResult)(C,D)
\tkzInterLL(A,tkzPointResult)(F,E)
\tkzDrawCircle[fill = yellow](tkzPointResult,Q)
\tkzDefPointBy[projection= onto B--A](tkzPointResult)
\tkzDrawCircle[fill = blue!50!black](tkzPointResult,A)
\end{tikzpicture}