Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Star of David

In Hebrew it is called the Shield of David.

This one is built of 2 triangles of equal sides that can be drawn using 2 polygon. There is some basic math behind the triangles to calculate the height of the triangle. Some more math to place the two triangles on top of each other.

I've added a rectangle around it to make it stand out.

<svg width="220" height="249" xmlns="http://www.w3.org/2000/svg">
  <rect width="100%" height="100%" fill="white" stroke="black" stroke-width="1" />
  <polygon points="
    10,66
    210,66
    110,239
    "
    fill="none"
    stroke="#0038b8"
    stroke-width="10"
    />

  <polygon points="
    10,183
    210,183
    110,10
    "
    fill="none"
    stroke="#0038b8"
    stroke-width="10"
    />
</svg>

Star of David