blob: 424beb8b7d274325e5c395d2829f01e76d93bbb3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// Test sharp gradients.
---
#square(
size: 100pt,
fill: gradient.linear(..color.map.rainbow, space: color.hsl).sharp(10),
)
---
#square(
size: 100pt,
fill: gradient.linear(..color.map.rainbow, space: color.hsl).sharp(10, smoothness: 40%),
)
|