11 votes
Accepted

Shading a heart

\documentclass[tikz, border=1 cm]{standalone} \usetikzlibrary{fadings, patterns} \begin{document} \begin{tikzpicture} \def\cur{(0,-2.7)..controls (-1.85,-1.45) and (-1.8,-0.52)..(-1.7,-0.13) .....
hpekristiansen's user avatar
8 votes
Accepted

Fade out of plot without affecting the grid

I do not know if it's possible to concot this into a simple style. One idea, after reading your comments, is: split the domain in one un-fading and other fading; apply the east fading (the fadings ...
Rmano's user avatar
  • 41.1k
5 votes

Lighten background of tikz node

When trying to create a MWE, I accidentally found a solution (hadn't been aware of how the fading library works): \documentclass[tikz]{standalone} \usetikzlibrary{fadings} \tikzfading[name=fade out, ...
Andi Bauer's user avatar
5 votes
Accepted

TikZ - Complete and progressive horizontal fading possible?

The fading does become invisible, but only at the very end. The issue is that the fading is not severe enough near the faded end. You can set middle color=transparent!50, which will produce your ...
Sandy G's user avatar
  • 43k
4 votes

Shading a heart

This is a starting point. It needs some adjustments. I changed your paths for arcs and circles, this way I know the centers. Then, the key here is to make a couple of shadings. It needs some more ...
Juan Castaño's user avatar
4 votes
Accepted

3D pyramid diagram by tikz

Maybe this can get you started: \documentclass[border=10mm]{standalone} \usepackage{tikz} \usetikzlibrary{shapes.geometric} \begin{document} \begin{tikzpicture}[ 3d trapezium/.style={ ...
Jasper Habicht's user avatar
3 votes
Accepted

How to fade text using an image without affecting background image?

Well at first you actually need to use your fading picture and not only set the text fadpix-jpg-rsz. At second it looks as if one can't shift a fading by a coordinate (at least not with your pgf ...
Ulrike Fischer's user avatar
3 votes
Accepted

Extending the Features of the Glowing Star Posted by User Sandy G

You could do this to adjust the length of long tails in 4 different directions. You also could do the similar thing on the short tails (because you didn't ask for it, so I didn't do that). One more ...
Tom's user avatar
  • 7,508
3 votes
Accepted

How to fading transparent with tikz package

Here is a fading \documentclass[a4paper]{article} \usepackage{tikz} \usetikzlibrary{fadings} \begin{document} \thispagestyle{empty} \definecolor{mauchinh}{RGB}{1,61,124} \pagecolor{mauchinh} \begin{...
hpekristiansen's user avatar
3 votes

How to fading transparent with tikz package

I suggest that you take a look into the TikZ manual which has a section regarding fadings. The cover design you show is very likely copyrighted by Springer press, which is why I won't give a full ...
Jasper Habicht's user avatar
3 votes
Accepted

How to fade light rays by tikz

The construction of the light rays is based on @Alain Matthes's answer; one of the colors (at the tapered end) is the background color. Afterwards, some fading disks (more or less) are added to ...
Daniel N's user avatar
  • 5,722
3 votes
Accepted

Gradient colour fill with light and shadow effect on 3D objects

\documentclass[tikz, border=1cm, svgnames]{standalone} \begin{document} \begin{tikzpicture}[ultra thick] \pgfdeclareverticalshading{myshading}{50bp}{ color(0bp)=(pink); color(15bp)=(HotPink!80!white); ...
hpekristiansen's user avatar
2 votes

Shading a heart

You need to combine both paths in one. For example like this: \documentclass[tikz,border=2mm]{standalone} \begin{document} \begin{tikzpicture} \def\curh{(0,-2.7)..controls (-1.85,-1.45) and (-1.8,-0....
Jasper Habicht's user avatar
2 votes

How to fading color the curve grid

With yours code modified like this one: \documentclass[tikz]{standalone} \begin{document} \begin{tikzpicture} \foreach[count=\j] \i in {3,3.5,...,10.5}{ \pgfmathsetmacro{\...
Raffaele Santoro's user avatar
2 votes

TikZ - Complete and progressive horizontal fading possible?

Here is a solution: \documentclass[tikz]{standalone} \usetikzlibrary{fadings} \tikzfading[name=fade example,left color=transparent!0,right color=transparent!0,middle color=transparent!100] \begin{...
Paul Gaborit's user avatar
  • 70.9k
2 votes

Transparency, not opacity, is needed as fading for plotting a surface over a lattice

As @Jasper Habicht writes, you need tikzfadingfrompicture for this. It is not possible to know what result you imagine. I have made the transparency steeper here: \documentclass[tikz, border=1cm]{...
hpekristiansen's user avatar
2 votes

Transparency, not opacity, is needed as fading for plotting a surface over a lattice

You could make use of fadings and create a fading from your plot using tikzfadingfrompicture which you can then apply to the green dots. This is probably not the most straight-forward approach, but I ...
Jasper Habicht's user avatar
2 votes
Accepted

tikzfadingfrompicture with fit fading=false (Potential bug)

I cannot tell whether this is a bug or intended behaviour, but using fading transform, you can easily shift the center of the fading to the center of the current bounding box (or of whatever reference ...
Jasper Habicht's user avatar
2 votes
Accepted

Producing a Glowing Star with the Transparent Package and Pdflatex

My guess is that you are using an old version of transparent. You can see in the manual history section that the pgf(TikZ) compatibility was added in 2018: [2018/11/18 v1.3] • Added code for pgf ...
hpekristiansen's user avatar
2 votes

Line in Tikz environment showing thicker and giving "Dimension too large" error when using path fading

It seems that path fading won't work for horizontal lines. I found a workaround by drawing a rectangle of height the same thickness as my lines (0.5pt). The end result is this: \documentclass[tikz, ...
Marta Matute de Amores's user avatar
2 votes
Accepted

An Efficient Method for Drawing a Constellation of Glowing Stars

I made a small change to the macro, requiring the argument to have parentheses \glowstar[0.8]{(8,10)} instead of \glowstar[0.8]{8,10}. This is probably better since it allow you to use polar ...
Sandy G's user avatar
  • 43k
2 votes
Accepted

Is it possible to keep the fading background on the node without showing the back of the drawing?

It seems that you want to split the line that goes through the node. You could also try something like "inverse clipping" to clip the shape of the node from the line, but this is not trivial....
Jasper Habicht's user avatar
2 votes

Lighten background of tikz node

Like this (follows Andi Bauer's solution): Code: \documentclass[tikz]{standalone} \usetikzlibrary{fadings} \tikzfading[name=fade out, inner color=black!40, outer color=black] \begin{document} \...
Raffaele Santoro's user avatar
1 vote
Accepted

Data outside canvas not removed when using fadings with pgfplots

I have no idea what gs will do with this, but the fadings are not inside the axis environment. \documentclass[]{standalone} \usepackage{pgfplots} \usepackage{filecontents} \usetikzlibrary{fadings} \...
John Kormylo's user avatar
  • 79.9k
1 vote
Accepted

TikZ - Combining fading and fill opacity

\documentclass[tikz, border=1cm]{standalone} \usetikzlibrary{fadings} \begin{document} \begin{tikzpicture} \node at (2, 1.5){With \verb|path fading=south| and \verb|fill opacity|}; \filldraw[fill=blue,...
hpekristiansen's user avatar
1 vote
Accepted

Undesired line between "fill between" regions

Welcome to TeX.SX! This is probably just a rendering error. You can try to use the fadings library and use fill=red!20, path fading=east and fill=green!20, path fading=east for the fadings: \...
Jasper Habicht's user avatar
1 vote
Accepted

Embedding a Pspicture within a Radial Fading Tikzpicture

For example adding the pspicture as node of the tikzpicture \documentclass[border=12pt]{book} \usepackage{pst-slpe} \textheight=9in \usepackage{tikz} \usetikzlibrary{fadings} \begin{document} ...
Simon Dispa's user avatar
  • 39.3k
1 vote

Followup to Restricting the Circular Span of a Radial Tikzpicture

If you don't need a border for the full cutout rectangle, I'd go with clipping. It won't be a problem to find the point on a square/rectangle in a direction from the origin, PGF ships with \...
Qrrbrbirlbel's user avatar
1 vote
Accepted

How to Restrict the Circular Span of a Radial Fading Tikzpicture

As a follow up to my above comment, here's the simplest solution that came to my mind. Just draw the pie piece above the shading. \documentclass{book} % Code can be compiled with Pdflatex or Xelatex \...
SebGlav's user avatar
  • 19.2k
1 vote
Accepted

pdfmanagement-testphase tikz babel and dvips

The version 0.95k (2022-01-28) of pdfmanagement-testphase fixes the problem.
Manuel Cart's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible