Skip to content

Instantly share code, notes, and snippets.

@PM2Ring
Created January 24, 2021 21:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PM2Ring/734ea20456aaafc492bb3f54de250f21 to your computer and use it in GitHub Desktop.
Save PM2Ring/734ea20456aaafc492bb3f54de250f21 to your computer and use it in GitHub Desktop.
Tessellate a square with 45-60-75 degree triangles, monochrome
Display the source blob
Display the rendered blob
Raw
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg"
viewBox="-5 -5 4696 4696">
<style type="text/css">
<![CDATA[
.cc0 {fill:#fff}
]]>
</style>
<g style="fill: #fff; fill-opacity:0.5;
stroke:#000; stroke-width:5; stroke-linejoin:bevel"
transform="translate(0, 4686) scale(1, -1)">
<path d="M 4686, 3128.269 L 4356.813, 2799.082 L 4192.219, 3413.354 Z" class="cc0"/>
<path d="M 4686, 3128.269 L 4686, 3907.135 L 4192.219, 3413.354 Z" class="cc0"/>
<path d="M 4192.219, 4192.219 L 4686, 3907.135 L 4356.813, 3577.947 Z" class="cc0"/>
<path d="M 4192.219, 4192.219 L 4686, 3907.135 L 4686, 4686 Z" class="cc0"/>
<path d="M 3863.032, 2305.301 L 3863.032, 3084.167 L 4356.813, 2799.082 Z" class="cc0"/>
<path d="M 3863.032, 3084.167 L 4356.813, 2799.082 L 4192.219, 3413.354 Z" class="cc0"/>
<path d="M 3863.032, 3084.167 L 3863.032, 3863.032 L 4356.813, 3577.947 Z" class="cc0"/>
<path d="M 4192.219, 4192.219 L 3863.032, 3863.032 L 4356.813, 3577.947 Z" class="cc0"/>
<path d="M 3348.058, 1337.942 L 3348.058, 1564.135 L 3169.665, 1516.335 Z" class="cc0"/>
<path d="M 3204.657, 1646.927 L 3348.058, 1564.135 L 3169.665, 1516.335 Z" class="cc0"/>
<path d="M 3204.657, 1646.927 L 3348.058, 1564.135 L 3348.058, 1790.327 Z" class="cc0"/>
<path d="M 3204.657, 1646.927 L 3039.073, 1646.927 L 3169.665, 1516.335 Z" class="cc0"/>
<path d="M 4686, 0 L 2088.220, 0 L 3039.073, 1646.927 Z" class="cc0"/>
<path d="M 3039.073, 1646.927 L 2088.220, 0 L 1646.927, 1646.927 Z" class="cc0"/>
<path d="M 2088.220, 0 L 1646.927, 1646.927 L 0, 0 Z" class="cc0"/>
<path d="M 3863.032, 2305.301 L 2634.488, 2634.488 L 3863.032, 3863.032 Z" class="cc0"/>
<path d="M 3204.657, 1646.927 L 3863.032, 2305.301 L 2634.488, 2634.488 Z" class="cc0"/>
<path d="M 3204.657, 1646.927 L 2634.488, 2634.488 L 1646.927, 1646.927 Z" class="cc0"/>
<path d="M 4686, 0 L 3348.058, 1337.942 L 4686, 2110.404 Z" class="cc0"/>
<path d="M 4686, 3128.269 L 4686, 2110.404 L 3883.235, 2325.504 Z" class="cc0"/>
<path d="M 3883.235, 1646.927 L 4686, 2110.404 L 3883.235, 2325.504 Z" class="cc0"/>
<path d="M 3883.235, 1646.927 L 3348.058, 1790.327 L 3883.235, 2325.504 Z" class="cc0"/>
<path d="M 3883.235, 1646.927 L 3348.058, 1337.942 L 3348.058, 1790.327 Z" class="cc0"/>
<path d="M 4192.219, 4192.219 L 3907.135, 4686 L 4686, 4686 Z" class="cc0"/>
<path d="M 4192.219, 4192.219 L 3907.135, 4686 L 3577.947, 4356.813 Z" class="cc0"/>
<path d="M 4192.219, 4192.219 L 3863.032, 3863.032 L 3577.947, 4356.813 Z" class="cc0"/>
<path d="M 3084.167, 3863.032 L 3863.032, 3863.032 L 3577.947, 4356.813 Z" class="cc0"/>
<path d="M 2634.488, 2634.488 L 3863.032, 3863.032 L 2305.301, 3863.032 Z" class="cc0"/>
<path d="M 3128.269, 4686 L 3907.135, 4686 L 3413.354, 4192.219 Z" class="cc0"/>
<path d="M 3084.167, 3863.032 L 2799.082, 4356.813 L 3413.354, 4192.219 Z" class="cc0"/>
<path d="M 3128.269, 4686 L 2799.082, 4356.813 L 3413.354, 4192.219 Z" class="cc0"/>
<path d="M 3084.167, 3863.032 L 2799.082, 4356.813 L 2305.301, 3863.032 Z" class="cc0"/>
<path d="M 2110.404, 4686 L 2325.504, 3883.235 L 3128.269, 4686 Z" class="cc0"/>
<path d="M 2110.404, 4686 L 2325.504, 3883.235 L 1646.927, 3883.235 Z" class="cc0"/>
<path d="M 2634.488, 2634.488 L 1646.927, 3204.657 L 2305.301, 3863.032 Z" class="cc0"/>
<path d="M 2634.488, 2634.488 L 1646.927, 1646.927 L 1646.927, 3204.657 Z" class="cc0"/>
<path d="M 2325.504, 3883.235 L 1646.927, 3883.235 L 1790.327, 3348.058 Z" class="cc0"/>
<path d="M 1564.135, 3348.058 L 1790.327, 3348.058 L 1646.927, 3204.657 Z" class="cc0"/>
<path d="M 1516.335, 3169.665 L 1646.927, 3204.657 L 1646.927, 3039.073 Z" class="cc0"/>
<path d="M 1564.135, 3348.058 L 1516.335, 3169.665 L 1646.927, 3204.657 Z" class="cc0"/>
<path d="M 1337.942, 3348.058 L 1564.135, 3348.058 L 1516.335, 3169.665 Z" class="cc0"/>
<path d="M 1337.942, 3348.058 L 1646.927, 3883.235 L 1790.327, 3348.058 Z" class="cc0"/>
<path d="M 2110.404, 4686 L 0, 4686 L 1337.942, 3348.058 Z" class="cc0"/>
<path d="M 0, 4686 L 1646.927, 3039.073 L 0, 2088.220 Z" class="cc0"/>
<path d="M 1646.927, 1646.927 L 1646.927, 3039.073 L 0, 2088.220 Z" class="cc0"/>
<path d="M 1646.927, 1646.927 L 0, 0 L 0, 2088.220 Z" class="cc0"/>
</g>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment