use colors

This commit is contained in:
Ryan Oldenburg 2022-01-30 17:30:39 -06:00
parent 0843b26250
commit d19b2ee65c
2 changed files with 7 additions and 7 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 393 B

After

Width:  |  Height:  |  Size: 441 B

View file

@ -297,14 +297,14 @@ block:
let draws = [
# Overlaps in bounds
(vec2(-50, -50), color(1, 0, 0, 1)),
(vec2(50, -50), color(1, 0, 0, 1)),
(vec2(50, 50), color(1, 0, 0, 1)),
(vec2(-50, 50), color(1, 0, 0, 1)),
(vec2(50, -50), color(0, 1, 0, 1)),
(vec2(50, 50), color(0, 0, 1, 1)),
(vec2(-50, 50), color(1, 1, 0, 1)),
# Out of bounds
(vec2(-100, 00), color(1, 0, 0, 1)),
(vec2(0, -100), color(1, 0, 0, 1)),
(vec2(100, 00), color(1, 0, 0, 1)),
(vec2(0, 100), color(1, 0, 0, 1))
(vec2(-100, 00), color(1, 0, 1, 1)),
(vec2(0, -100), color(0, 1, 1, 1)),
(vec2(100, 00), color(0.5, 0.5, 0.5, 1)),
(vec2(0, 100), color(0.75, 0.75, 0, 1))
]
for (translation, color) in draws:
let