Triangle Inset



Triangle Inset



This sketch draws a triangle inside a triangle inside a triangle inside a triangle inside a triangle.

mouse ripple

Remix Ideas

  • Try alternating shapes: draw a square inside a triangle inside a circle.
  • Give each individual section of each triangle a different color (3 sections per triangle).
  • Instead of using the midpoint of each line, try moving the next point closer to one of the previous points.

Creating Variables Examples

Comments

Happy Coding is a community of folks just like you learning about coding.
Do you have a comment or question? Post it here!

Comments are powered by the Happy Coding forum. This page has a corresponding forum post, and replies to that post show up as comments here. Click the button above to go to the forum to post a comment!