This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Inspiration taken from https://github.com/bergice/liquidglass | |
uniform shader iImage; | |
uniform float2 iResolution; | |
uniform float2 rectPos; | |
uniform float2 rectSize; | |
uniform float radius; | |
uniform float contour; | |
uniform float edgeStrength; | |
uniform float blurInfluence; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from PIL import Image | |
import colorsys | |
width = 360 | |
height = 100 | |
image = Image.new("RGB", (width, height)) | |
for y in range(height): | |
for x in range(width): |