you've heard of sine and cosine

now get ready for uh squine and cosquare

@acegikmo I used a function like this for pixel art interpolation. Where you want it mostly blocky with just a little blending at the edges. I never would have guessed how powerful it was as a sin/cos replacement.