Live demo: https://codepen.io/thebabydino/pen/NW...
If the work I've been putting out since early 2012 has helped you in any way or you just like it, please consider supporting it to help me continue and stay afloat. You can do so in one of the following ways:
you can be a cool cat 😼🎩 and become a patron on Patreon / anatudor
you can make a one time donation via Ko-fi https://ko-fi.com/anatudor
you can make me happy by getting me a gift off my wishlist
🎁🇺🇸 https://www.amazon.com/hz/wishlist/ls...
🎁🇬🇧 https://www.amazon.co.uk/hz/wishlist/...
you can share this to show the world what can be done with CSS these days
Thank you!
---
Resources:
challenge ( / 1506657420243783689 )
Regular polygon with [in|circum]circle (https://codepen.io/thebabydino/full/g...)
triangle angles add up to 180° (https://codepen.io/thebabydino/full/E...)
relation betwen circumradius, inradius, edge length, polygon angle (https://codepen.io/thebabydino/full/r...)
sin(30deg) (https://duckduckgo.com/?q=sin(30deg)&...)
Mask Compositing: The Crash Course (https://css-tricks.com/mask-compositi...)
Taming Blend Modes: `difference` and `exclusion` (https://css-tricks.com/taming-blend-m...)
Adventures in CSS Semi-Transparency Land (https://css-tricks.com/adventures-in-...)
#css #cssMasking #blendmode