a pretty good result: convert triangle output to tikz