3 ms·
The clipping path was to ensure that the goo stayed inside the lava lamp -- the well-defined edges were the result of the color matrix. You can see this easily
by yoklov 11y ago
The clipping path was to ensure that the goo stayed inside the lava lamp -- the well-defined edges were the result of the color matrix.
You can see this easily by deleting those two parts of the pen (This is one of the great things about codepen, if it weren't for this, I would have phrased this much less confidently)
- XaspR8d 11y agoYes, and to be perfectly clear, the color matrix is all identity except for the alpha row [0 0 0 21 -9]. This is stretching the alpha range so that many of the semi-transparent areas outside of the original blob that were generated by the gaussian blur are now completely opaque. (It's similar to a thresholding operation, but there are some middle values that survive.)