I have been seeing these soft + colorful gradients around a lot recently and thought it would be cool to make some generative ones. They pair really nicely with the new "glassmorphism" trend!
I have been seeing these soft + colorful gradients around a lot recently and thought it would be cool to make some generative ones. They pair really nicely with the new "glassmorphism" trend!
For further actions, you may consider blocking this person and/or reporting abuse
Mahmud R. Farhan -
Chris Wachtman -
Mark Llena -
Joel Larson -
Top comments (4)
Again, some awesome work dude, you’re really good at this kind of thing!
One question, I’ve never used the
~~
operator before, can you explain what you use that for perhaps?Ah, thanks so much James!
For sure,
~~
is being used here in place ofMath.floor()
to remove the decimals from the number. It is a habit i got into as it is slightly faster and a bit more terse, but honestly it's probably not the best for readability!I'm actually not sure why I added it there now, perhaps I was planning on stripping the decimals from the values to make the SVG markup a little nice when inspecting, but I didn't follow through in the rest of the pen :)
I see, curiously, and maybe you don't have the answer but: I assume
~
does one things and~~
does another? Like!
and!!
for example. Do you know what that difference is though?Oof, that's about the limits of my knowledge I'm afraid. I know that you are correct in saying a single tilde does another thing, but I have no idea what!