Egyptian Triangles

Riffing on a traditional Egyptian pattern. Cf. [url=https://mathhombre.tumblr.com/post/189571732324/nobrashfestivity-owen-jones-egyptian]this post[/url].[br][br]There's a random version, then a version where you can choose a function to make repeating patterns.

Information: Egyptian Triangles