#[CetZ] Fading

6 messages · Page 1 of 1 (latest)

twin tangle
#

I want to recreate the LaTeX template of my school in typst. On the cover page, we have the following fading effect done with TikZ. Is it possible to do the same thing with CetZ? I didn't find the answer on the manual. Otherwise is there a workaround?

lapis widget
#

Most likely possible using gradient strokes but probably for performance reasons you'll want to use a pre-rendered svg

prime pivot
#

Suggest importing into Inkscape and then saving as an SVG. Then using the page background for the cover page and the place function to try and replicate. The dots and the exact gradient may be tough to replicate in Cetz. Not impossible; it would take time.

mellow elk
#

@twin tangle Fading can always be achieved by overlaying a rectangle with a gradient in transparency

#

Proof of concept: