summaryrefslogtreecommitdiff
path: root/tests/typ/visualize/gradient-sharp.typ
diff options
context:
space:
mode:
authorSébastien d'Herbais de Thun <sebastien.d.herbais@gmail.com>2023-10-06 16:47:20 +0200
committerGitHub <noreply@github.com>2023-10-06 16:47:20 +0200
commite7443abfe681a27ee47993d192f8a82953d43b73 (patch)
tree03446e4bfe9ab9aae96f151c7c228d3e26bdc89d /tests/typ/visualize/gradient-sharp.typ
parentbced71b250225e30efa2fd0341bf825bf685a376 (diff)
Gradient Part 3 - Radial gradients (#2312)
Diffstat (limited to 'tests/typ/visualize/gradient-sharp.typ')
-rw-r--r--tests/typ/visualize/gradient-sharp.typ8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/typ/visualize/gradient-sharp.typ b/tests/typ/visualize/gradient-sharp.typ
index 424beb8b..1f090f7e 100644
--- a/tests/typ/visualize/gradient-sharp.typ
+++ b/tests/typ/visualize/gradient-sharp.typ
@@ -5,9 +5,17 @@
size: 100pt,
fill: gradient.linear(..color.map.rainbow, space: color.hsl).sharp(10),
)
+#square(
+ size: 100pt,
+ fill: gradient.radial(..color.map.rainbow, space: color.hsl).sharp(10),
+)
---
#square(
size: 100pt,
fill: gradient.linear(..color.map.rainbow, space: color.hsl).sharp(10, smoothness: 40%),
)
+#square(
+ size: 100pt,
+ fill: gradient.radial(..color.map.rainbow, space: color.hsl).sharp(10, smoothness: 40%),
+)