Closed chrisjansky closed 8 months ago
you need a solid background, no transparent colors:
foo = ImageObject()
with foo:
size(800, 800)
# draw white background rect
fill(1)
rect(0, 0, 800, 800)
fill(0.5)
shadow((0, 0), 50, (0, 0, 0))
rect(50, 50, 700, 700)
foo.dotScreen()
image(foo, (100, 100))
@typemytype Yes, that works, thank you!
Hello,
Combining
ImageObject.dotScreen()
withshadow()
(code below) produces the following result:Is there any way for the blurred
shadow()
to be affected byImageObject.dotScreen()
? I’ve tried combiningImageObject.dotScreen()
withImageObject.gaussianBlur()
, but got the same result.Basically I’m looking for something like this:
Thanks!