Procedural 5 Sided Star Generator
Inktober day 17 prompt: Ornament
Demo: https://www.dwitter.net/d/16168
x.beginPath(t*=60)
for(i=40;i--;)x.arc(t%16*120+60,(t>>4)*120+60,28*S(k=t*99+i%8)+28,q=S(k*k)*9+(i>>3)*Math.PI*2/5,q)
x.fill`evenodd`
More by Frank Force View profile
Like