add
This commit is contained in:
parent
62cb1ea164
commit
aa4d126a42
|
@ -10,6 +10,26 @@ block:
|
|||
timeIt "big-on-bigger NormalBlend":
|
||||
a.draw(b, translate(vec2(25, 25)), NormalBlend)
|
||||
|
||||
block:
|
||||
let
|
||||
a = newImage(1000, 1000)
|
||||
b = newImage(500, 500)
|
||||
a.fill(rgba(255, 0, 0, 255))
|
||||
b.fill(rgba(0, 255, 0, 255))
|
||||
|
||||
timeIt "big-on-bigger MaskBlend":
|
||||
a.draw(b, translate(vec2(25, 25)), MaskBlend)
|
||||
|
||||
block:
|
||||
let
|
||||
a = newImage(1000, 1000)
|
||||
b = newImage(500, 500)
|
||||
a.fill(rgba(255, 0, 0, 255))
|
||||
b.fill(rgba(0, 255, 0, 255))
|
||||
|
||||
timeIt "big-on-bigger OverwriteBlend":
|
||||
a.draw(b, translate(vec2(25, 25)), OverwriteBlend)
|
||||
|
||||
block:
|
||||
let
|
||||
a = newImage(1000, 1000)
|
||||
|
|
Loading…
Reference in a new issue