Skip to content

Instantly share code, notes, and snippets.

@cobyism
Last active Jan 21, 2022
Embed
What would you like to do?
For anyone who isn’t able to access this New Feature™ of Twitter due to the usual Nation-state Region-centric Nonsense™ and wants to join the hex club, this is a SVG mask path similar to Twitter’s hexagonal NFT PFP implementation, except rotated 30º, because… Think Different?
<svg width="128" height="140" viewBox="0 0 128 140" fill="white" xmlns="http://www.w3.org/2000/svg">
<path d="M46.0583 4.19933C56.184 -1.64408 68.8161 -1.37279 79.1961 4.91103L110.051 23.5896C120.431 29.8734 126.982 41.215 127.236 53.3423L127.992 89.3902C128.247 101.517 122.166 112.588 112.04 118.431L81.9417 135.801C71.816 141.644 59.1839 141.373 48.8039 135.089L17.9493 116.41C7.56929 110.127 1.01821 98.785 0.763825 86.6577L0.00767929 50.6098C-0.246703 38.4825 5.83426 27.4122 15.9599 21.5688L46.0583 4.19933Z" fill="black"/>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment