TikZ: How to fill area with a special pattern? The Next CEO of Stack OverflowRandomly curved arrows in TikZHow to define the default vertical distance between nodes?Numerical conditional within tikz keys?Tikz fill double line with pattern not with colorHow to prevent rounded and duplicated tick labels in pgfplots with fixed precision?Drawing rectilinear curves in Tikz, aka an Etch-a-Sketch drawingOverwriting fill patterns in TikZCustom fill pattern in a gradientTikz : rotate a fill patternFill area between curves with tikzfillbetweenTikz: custom text as fill pattern for shapes
What happened in Rome, when the western empire "fell"?
Does destroying a Lich's phylactery destroy the soul within it?
Audio Conversion With ADS1243
"Eavesdropping" vs "Listen in on"
Which one is the true statement?
How to set page number in right side in chapter title page?
Is there such a thing as never melting snow?
When "be it" is at the beginning of a sentence, what kind of structure do you call it?
Won the lottery - how do I keep the money?
Is there such a thing as a proper verb, like a proper noun?
Can Plant Growth be repeatedly cast on the same area to exponentially increase the yield of harvests there (more than twice)?
Traduction de « Life is a roller coaster »
Is there an equivalent of cd - for cp or mv
Defamation due to breach of confidentiality
Can I add a classname to CSS variable?
Would a completely good Muggle be able to use a wand?
What can the phrase “is embedded in a whale of a bill” mean?
How to count occurrences of text in a file?
Do I need to write [sic] when including a quotation with a number less than 10 that isn't written out?
Calculator final project in Python
Why is information "lost" when it got into a black hole?
Would a grinding machine be a simple and workable propulsion system for an interplanetary spacecraft?
TikZ: How to fill area with a special pattern?
Purpose of level-shifter with same in and out voltages
TikZ: How to fill area with a special pattern?
The Next CEO of Stack OverflowRandomly curved arrows in TikZHow to define the default vertical distance between nodes?Numerical conditional within tikz keys?Tikz fill double line with pattern not with colorHow to prevent rounded and duplicated tick labels in pgfplots with fixed precision?Drawing rectilinear curves in Tikz, aka an Etch-a-Sketch drawingOverwriting fill patterns in TikZCustom fill pattern in a gradientTikz : rotate a fill patternFill area between curves with tikzfillbetweenTikz: custom text as fill pattern for shapes
I want to visualize a turbulent flow regime. Assumed we have a simple empty square that should be filled with a pattern.
Minimum Working Example (MWE):
documentclassstandalone
usepackagetikz
begindocument
begintikzpicture
draw (0, 0) rectangle (4, 4);
endtikzpicture
enddocument
I won't post a screenshot, because it is just a simple rectangle. :-)
How can I fill this rectangle with a pattern like this on the right side:

Or, for the advanced TeX-users: How to fill it with a pattern like this one (made of random arrows)?

Thanks to marmot: As you can see, the arrows never intersect - this seems to be a challenge.
tikz-pgf tikz-arrows draw fill pattern
add a comment |
I want to visualize a turbulent flow regime. Assumed we have a simple empty square that should be filled with a pattern.
Minimum Working Example (MWE):
documentclassstandalone
usepackagetikz
begindocument
begintikzpicture
draw (0, 0) rectangle (4, 4);
endtikzpicture
enddocument
I won't post a screenshot, because it is just a simple rectangle. :-)
How can I fill this rectangle with a pattern like this on the right side:

Or, for the advanced TeX-users: How to fill it with a pattern like this one (made of random arrows)?

Thanks to marmot: As you can see, the arrows never intersect - this seems to be a challenge.
tikz-pgf tikz-arrows draw fill pattern
Here is a question on randomly curved arrows. It is not difficult to draw random arrows, but if I interpret your question correctly, they should not intersect. Avoiding intersections is probably more efforts. So I wish to clarify: you do not want the arrows to intersect?
– marmot
3 hours ago
@marmot: Thanks for your comment - you are completely right! The arrows should not intersect, because the fluid can not cross in reality.
– Dave
3 hours ago
1
As a proof of concept, I'm very interested in how this can be coded (+1 to mamot, indeed) but from a practical point of view (time and result quality) I would do it manually in Inkscape.
– Fran
1 hour ago
@Fran: I took me the whole weekend to put and adjust some spirals into mytikzpicture. Therefore I am curious if there is a better solution available for it.
– Dave
1 hour ago
add a comment |
I want to visualize a turbulent flow regime. Assumed we have a simple empty square that should be filled with a pattern.
Minimum Working Example (MWE):
documentclassstandalone
usepackagetikz
begindocument
begintikzpicture
draw (0, 0) rectangle (4, 4);
endtikzpicture
enddocument
I won't post a screenshot, because it is just a simple rectangle. :-)
How can I fill this rectangle with a pattern like this on the right side:

Or, for the advanced TeX-users: How to fill it with a pattern like this one (made of random arrows)?

Thanks to marmot: As you can see, the arrows never intersect - this seems to be a challenge.
tikz-pgf tikz-arrows draw fill pattern
I want to visualize a turbulent flow regime. Assumed we have a simple empty square that should be filled with a pattern.
Minimum Working Example (MWE):
documentclassstandalone
usepackagetikz
begindocument
begintikzpicture
draw (0, 0) rectangle (4, 4);
endtikzpicture
enddocument
I won't post a screenshot, because it is just a simple rectangle. :-)
How can I fill this rectangle with a pattern like this on the right side:

Or, for the advanced TeX-users: How to fill it with a pattern like this one (made of random arrows)?

Thanks to marmot: As you can see, the arrows never intersect - this seems to be a challenge.
tikz-pgf tikz-arrows draw fill pattern
tikz-pgf tikz-arrows draw fill pattern
edited 3 hours ago
Dave
asked 3 hours ago
DaveDave
1,000619
1,000619
Here is a question on randomly curved arrows. It is not difficult to draw random arrows, but if I interpret your question correctly, they should not intersect. Avoiding intersections is probably more efforts. So I wish to clarify: you do not want the arrows to intersect?
– marmot
3 hours ago
@marmot: Thanks for your comment - you are completely right! The arrows should not intersect, because the fluid can not cross in reality.
– Dave
3 hours ago
1
As a proof of concept, I'm very interested in how this can be coded (+1 to mamot, indeed) but from a practical point of view (time and result quality) I would do it manually in Inkscape.
– Fran
1 hour ago
@Fran: I took me the whole weekend to put and adjust some spirals into mytikzpicture. Therefore I am curious if there is a better solution available for it.
– Dave
1 hour ago
add a comment |
Here is a question on randomly curved arrows. It is not difficult to draw random arrows, but if I interpret your question correctly, they should not intersect. Avoiding intersections is probably more efforts. So I wish to clarify: you do not want the arrows to intersect?
– marmot
3 hours ago
@marmot: Thanks for your comment - you are completely right! The arrows should not intersect, because the fluid can not cross in reality.
– Dave
3 hours ago
1
As a proof of concept, I'm very interested in how this can be coded (+1 to mamot, indeed) but from a practical point of view (time and result quality) I would do it manually in Inkscape.
– Fran
1 hour ago
@Fran: I took me the whole weekend to put and adjust some spirals into mytikzpicture. Therefore I am curious if there is a better solution available for it.
– Dave
1 hour ago
Here is a question on randomly curved arrows. It is not difficult to draw random arrows, but if I interpret your question correctly, they should not intersect. Avoiding intersections is probably more efforts. So I wish to clarify: you do not want the arrows to intersect?
– marmot
3 hours ago
Here is a question on randomly curved arrows. It is not difficult to draw random arrows, but if I interpret your question correctly, they should not intersect. Avoiding intersections is probably more efforts. So I wish to clarify: you do not want the arrows to intersect?
– marmot
3 hours ago
@marmot: Thanks for your comment - you are completely right! The arrows should not intersect, because the fluid can not cross in reality.
– Dave
3 hours ago
@marmot: Thanks for your comment - you are completely right! The arrows should not intersect, because the fluid can not cross in reality.
– Dave
3 hours ago
1
1
As a proof of concept, I'm very interested in how this can be coded (+1 to mamot, indeed) but from a practical point of view (time and result quality) I would do it manually in Inkscape.
– Fran
1 hour ago
As a proof of concept, I'm very interested in how this can be coded (+1 to mamot, indeed) but from a practical point of view (time and result quality) I would do it manually in Inkscape.
– Fran
1 hour ago
@Fran: I took me the whole weekend to put and adjust some spirals into my
tikzpicture. Therefore I am curious if there is a better solution available for it.– Dave
1 hour ago
@Fran: I took me the whole weekend to put and adjust some spirals into my
tikzpicture. Therefore I am curious if there is a better solution available for it.– Dave
1 hour ago
add a comment |
1 Answer
1
active
oldest
votes
This is an answer to the question
How can one draw some randomly curved arrows that do not intersect?
which is not to be confused with
How can I draw the velocity field of some fluid?
which may require a model, a solution of the Navier-Stokes equations or something of that sort. That is, forbidding intersections is a step in the right direction but does not yield a physical description. If you do have the parametrization a realistic turbulent velocity field, you can do much better.
documentclass[tikz,border=3.14mm]standalone
usetikzlibraryintersections,arrows.meta,bending
newcounterrandarcs
begindocument
begintikzpicture
%draw[clip] (0,0) rectangle (4,4);
pgfmathsetseed21
foreach X in 1,...,50
pgfmathsetmacromyx-0.5+5*rnd
pgfmathsetmacromyy-0.5+5*rnd
pgfmathsetmacroangA360*rnd
pgfmathsetmacroradA0.3+0.3*rnd
pgfmathsetmacromyxpmyx+radA*cos(angA)
pgfmathsetmacromyypmyy+radA*sin(angA)
pgfmathsetmacroangBangA-75+150*rnd
pgfmathsetmacroradBradA-0.1+0.2*rnd
pgfmathsetmacromyxqmyxp+radB*cos(angB)
pgfmathsetmacromyyqmyyp+radB*sin(angB)
pgfmathsetmacroangCangB-45+90*rnd
pgfmathsetmacroradCradB-0.1+0.2*rnd
pgfmathsetmacromyxrmyxq+radB*cos(angC)
pgfmathsetmacromyyrmyyq+radB*sin(angC)
%typeoutangA,radA;angB,radB
path[-Latex,name path=test-arc] plot[smooth,tension=1]
coordinates (myx,myy) (myxp,myyp) (myxq,myyq) (myxr,myyr) ;
defHasIntersection0
ifnumX>1
foreach Y in 1,...,numbervaluerandarcs
path[name intersections=of=Y-arc and test-arc,total=t,
/utils/exec=ifnumt>0
xdefHasIntersection1%typeoutintersects
fi];
fi
ifnumHasIntersection=0
stepcounterrandarcs
draw[-Latex[bend]]
plot[smooth,tension=1] coordinates (myx,myy) (myxp,myyp)
(myxq,myyq) (myxr,myyr);
path[name path global=numbervaluerandarcs-arc]
plot[smooth,tension=1] coordinates (myx,myy) (myxp,myyp)
(myxq,myyq) (myxr,myyr) -- cycle;
fi
endtikzpicture
typeoutnumbervaluerandarcsspace arcsspace drawn.
enddocument

Awesome, thank you very much! :-) Would it be possible to get the arrows a bit more "smooth"? They seem to be very edgy.
– Dave
2 hours ago
@Dave I changed some parameters. In addition, you can play with tension. E.g. replace alltension=1withtension=1.6. It also helps to play withpgfmathsetseed21.
– marmot
1 hour ago
add a comment |
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "85"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f482462%2ftikz-how-to-fill-area-with-a-special-pattern%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
This is an answer to the question
How can one draw some randomly curved arrows that do not intersect?
which is not to be confused with
How can I draw the velocity field of some fluid?
which may require a model, a solution of the Navier-Stokes equations or something of that sort. That is, forbidding intersections is a step in the right direction but does not yield a physical description. If you do have the parametrization a realistic turbulent velocity field, you can do much better.
documentclass[tikz,border=3.14mm]standalone
usetikzlibraryintersections,arrows.meta,bending
newcounterrandarcs
begindocument
begintikzpicture
%draw[clip] (0,0) rectangle (4,4);
pgfmathsetseed21
foreach X in 1,...,50
pgfmathsetmacromyx-0.5+5*rnd
pgfmathsetmacromyy-0.5+5*rnd
pgfmathsetmacroangA360*rnd
pgfmathsetmacroradA0.3+0.3*rnd
pgfmathsetmacromyxpmyx+radA*cos(angA)
pgfmathsetmacromyypmyy+radA*sin(angA)
pgfmathsetmacroangBangA-75+150*rnd
pgfmathsetmacroradBradA-0.1+0.2*rnd
pgfmathsetmacromyxqmyxp+radB*cos(angB)
pgfmathsetmacromyyqmyyp+radB*sin(angB)
pgfmathsetmacroangCangB-45+90*rnd
pgfmathsetmacroradCradB-0.1+0.2*rnd
pgfmathsetmacromyxrmyxq+radB*cos(angC)
pgfmathsetmacromyyrmyyq+radB*sin(angC)
%typeoutangA,radA;angB,radB
path[-Latex,name path=test-arc] plot[smooth,tension=1]
coordinates (myx,myy) (myxp,myyp) (myxq,myyq) (myxr,myyr) ;
defHasIntersection0
ifnumX>1
foreach Y in 1,...,numbervaluerandarcs
path[name intersections=of=Y-arc and test-arc,total=t,
/utils/exec=ifnumt>0
xdefHasIntersection1%typeoutintersects
fi];
fi
ifnumHasIntersection=0
stepcounterrandarcs
draw[-Latex[bend]]
plot[smooth,tension=1] coordinates (myx,myy) (myxp,myyp)
(myxq,myyq) (myxr,myyr);
path[name path global=numbervaluerandarcs-arc]
plot[smooth,tension=1] coordinates (myx,myy) (myxp,myyp)
(myxq,myyq) (myxr,myyr) -- cycle;
fi
endtikzpicture
typeoutnumbervaluerandarcsspace arcsspace drawn.
enddocument

Awesome, thank you very much! :-) Would it be possible to get the arrows a bit more "smooth"? They seem to be very edgy.
– Dave
2 hours ago
@Dave I changed some parameters. In addition, you can play with tension. E.g. replace alltension=1withtension=1.6. It also helps to play withpgfmathsetseed21.
– marmot
1 hour ago
add a comment |
This is an answer to the question
How can one draw some randomly curved arrows that do not intersect?
which is not to be confused with
How can I draw the velocity field of some fluid?
which may require a model, a solution of the Navier-Stokes equations or something of that sort. That is, forbidding intersections is a step in the right direction but does not yield a physical description. If you do have the parametrization a realistic turbulent velocity field, you can do much better.
documentclass[tikz,border=3.14mm]standalone
usetikzlibraryintersections,arrows.meta,bending
newcounterrandarcs
begindocument
begintikzpicture
%draw[clip] (0,0) rectangle (4,4);
pgfmathsetseed21
foreach X in 1,...,50
pgfmathsetmacromyx-0.5+5*rnd
pgfmathsetmacromyy-0.5+5*rnd
pgfmathsetmacroangA360*rnd
pgfmathsetmacroradA0.3+0.3*rnd
pgfmathsetmacromyxpmyx+radA*cos(angA)
pgfmathsetmacromyypmyy+radA*sin(angA)
pgfmathsetmacroangBangA-75+150*rnd
pgfmathsetmacroradBradA-0.1+0.2*rnd
pgfmathsetmacromyxqmyxp+radB*cos(angB)
pgfmathsetmacromyyqmyyp+radB*sin(angB)
pgfmathsetmacroangCangB-45+90*rnd
pgfmathsetmacroradCradB-0.1+0.2*rnd
pgfmathsetmacromyxrmyxq+radB*cos(angC)
pgfmathsetmacromyyrmyyq+radB*sin(angC)
%typeoutangA,radA;angB,radB
path[-Latex,name path=test-arc] plot[smooth,tension=1]
coordinates (myx,myy) (myxp,myyp) (myxq,myyq) (myxr,myyr) ;
defHasIntersection0
ifnumX>1
foreach Y in 1,...,numbervaluerandarcs
path[name intersections=of=Y-arc and test-arc,total=t,
/utils/exec=ifnumt>0
xdefHasIntersection1%typeoutintersects
fi];
fi
ifnumHasIntersection=0
stepcounterrandarcs
draw[-Latex[bend]]
plot[smooth,tension=1] coordinates (myx,myy) (myxp,myyp)
(myxq,myyq) (myxr,myyr);
path[name path global=numbervaluerandarcs-arc]
plot[smooth,tension=1] coordinates (myx,myy) (myxp,myyp)
(myxq,myyq) (myxr,myyr) -- cycle;
fi
endtikzpicture
typeoutnumbervaluerandarcsspace arcsspace drawn.
enddocument

Awesome, thank you very much! :-) Would it be possible to get the arrows a bit more "smooth"? They seem to be very edgy.
– Dave
2 hours ago
@Dave I changed some parameters. In addition, you can play with tension. E.g. replace alltension=1withtension=1.6. It also helps to play withpgfmathsetseed21.
– marmot
1 hour ago
add a comment |
This is an answer to the question
How can one draw some randomly curved arrows that do not intersect?
which is not to be confused with
How can I draw the velocity field of some fluid?
which may require a model, a solution of the Navier-Stokes equations or something of that sort. That is, forbidding intersections is a step in the right direction but does not yield a physical description. If you do have the parametrization a realistic turbulent velocity field, you can do much better.
documentclass[tikz,border=3.14mm]standalone
usetikzlibraryintersections,arrows.meta,bending
newcounterrandarcs
begindocument
begintikzpicture
%draw[clip] (0,0) rectangle (4,4);
pgfmathsetseed21
foreach X in 1,...,50
pgfmathsetmacromyx-0.5+5*rnd
pgfmathsetmacromyy-0.5+5*rnd
pgfmathsetmacroangA360*rnd
pgfmathsetmacroradA0.3+0.3*rnd
pgfmathsetmacromyxpmyx+radA*cos(angA)
pgfmathsetmacromyypmyy+radA*sin(angA)
pgfmathsetmacroangBangA-75+150*rnd
pgfmathsetmacroradBradA-0.1+0.2*rnd
pgfmathsetmacromyxqmyxp+radB*cos(angB)
pgfmathsetmacromyyqmyyp+radB*sin(angB)
pgfmathsetmacroangCangB-45+90*rnd
pgfmathsetmacroradCradB-0.1+0.2*rnd
pgfmathsetmacromyxrmyxq+radB*cos(angC)
pgfmathsetmacromyyrmyyq+radB*sin(angC)
%typeoutangA,radA;angB,radB
path[-Latex,name path=test-arc] plot[smooth,tension=1]
coordinates (myx,myy) (myxp,myyp) (myxq,myyq) (myxr,myyr) ;
defHasIntersection0
ifnumX>1
foreach Y in 1,...,numbervaluerandarcs
path[name intersections=of=Y-arc and test-arc,total=t,
/utils/exec=ifnumt>0
xdefHasIntersection1%typeoutintersects
fi];
fi
ifnumHasIntersection=0
stepcounterrandarcs
draw[-Latex[bend]]
plot[smooth,tension=1] coordinates (myx,myy) (myxp,myyp)
(myxq,myyq) (myxr,myyr);
path[name path global=numbervaluerandarcs-arc]
plot[smooth,tension=1] coordinates (myx,myy) (myxp,myyp)
(myxq,myyq) (myxr,myyr) -- cycle;
fi
endtikzpicture
typeoutnumbervaluerandarcsspace arcsspace drawn.
enddocument

This is an answer to the question
How can one draw some randomly curved arrows that do not intersect?
which is not to be confused with
How can I draw the velocity field of some fluid?
which may require a model, a solution of the Navier-Stokes equations or something of that sort. That is, forbidding intersections is a step in the right direction but does not yield a physical description. If you do have the parametrization a realistic turbulent velocity field, you can do much better.
documentclass[tikz,border=3.14mm]standalone
usetikzlibraryintersections,arrows.meta,bending
newcounterrandarcs
begindocument
begintikzpicture
%draw[clip] (0,0) rectangle (4,4);
pgfmathsetseed21
foreach X in 1,...,50
pgfmathsetmacromyx-0.5+5*rnd
pgfmathsetmacromyy-0.5+5*rnd
pgfmathsetmacroangA360*rnd
pgfmathsetmacroradA0.3+0.3*rnd
pgfmathsetmacromyxpmyx+radA*cos(angA)
pgfmathsetmacromyypmyy+radA*sin(angA)
pgfmathsetmacroangBangA-75+150*rnd
pgfmathsetmacroradBradA-0.1+0.2*rnd
pgfmathsetmacromyxqmyxp+radB*cos(angB)
pgfmathsetmacromyyqmyyp+radB*sin(angB)
pgfmathsetmacroangCangB-45+90*rnd
pgfmathsetmacroradCradB-0.1+0.2*rnd
pgfmathsetmacromyxrmyxq+radB*cos(angC)
pgfmathsetmacromyyrmyyq+radB*sin(angC)
%typeoutangA,radA;angB,radB
path[-Latex,name path=test-arc] plot[smooth,tension=1]
coordinates (myx,myy) (myxp,myyp) (myxq,myyq) (myxr,myyr) ;
defHasIntersection0
ifnumX>1
foreach Y in 1,...,numbervaluerandarcs
path[name intersections=of=Y-arc and test-arc,total=t,
/utils/exec=ifnumt>0
xdefHasIntersection1%typeoutintersects
fi];
fi
ifnumHasIntersection=0
stepcounterrandarcs
draw[-Latex[bend]]
plot[smooth,tension=1] coordinates (myx,myy) (myxp,myyp)
(myxq,myyq) (myxr,myyr);
path[name path global=numbervaluerandarcs-arc]
plot[smooth,tension=1] coordinates (myx,myy) (myxp,myyp)
(myxq,myyq) (myxr,myyr) -- cycle;
fi
endtikzpicture
typeoutnumbervaluerandarcsspace arcsspace drawn.
enddocument

edited 1 hour ago
answered 2 hours ago
marmotmarmot
113k5145275
113k5145275
Awesome, thank you very much! :-) Would it be possible to get the arrows a bit more "smooth"? They seem to be very edgy.
– Dave
2 hours ago
@Dave I changed some parameters. In addition, you can play with tension. E.g. replace alltension=1withtension=1.6. It also helps to play withpgfmathsetseed21.
– marmot
1 hour ago
add a comment |
Awesome, thank you very much! :-) Would it be possible to get the arrows a bit more "smooth"? They seem to be very edgy.
– Dave
2 hours ago
@Dave I changed some parameters. In addition, you can play with tension. E.g. replace alltension=1withtension=1.6. It also helps to play withpgfmathsetseed21.
– marmot
1 hour ago
Awesome, thank you very much! :-) Would it be possible to get the arrows a bit more "smooth"? They seem to be very edgy.
– Dave
2 hours ago
Awesome, thank you very much! :-) Would it be possible to get the arrows a bit more "smooth"? They seem to be very edgy.
– Dave
2 hours ago
@Dave I changed some parameters. In addition, you can play with tension. E.g. replace all
tension=1 with tension=1.6. It also helps to play with pgfmathsetseed21.– marmot
1 hour ago
@Dave I changed some parameters. In addition, you can play with tension. E.g. replace all
tension=1 with tension=1.6. It also helps to play with pgfmathsetseed21.– marmot
1 hour ago
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f482462%2ftikz-how-to-fill-area-with-a-special-pattern%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown

Here is a question on randomly curved arrows. It is not difficult to draw random arrows, but if I interpret your question correctly, they should not intersect. Avoiding intersections is probably more efforts. So I wish to clarify: you do not want the arrows to intersect?
– marmot
3 hours ago
@marmot: Thanks for your comment - you are completely right! The arrows should not intersect, because the fluid can not cross in reality.
– Dave
3 hours ago
1
As a proof of concept, I'm very interested in how this can be coded (+1 to mamot, indeed) but from a practical point of view (time and result quality) I would do it manually in Inkscape.
– Fran
1 hour ago
@Fran: I took me the whole weekend to put and adjust some spirals into my
tikzpicture. Therefore I am curious if there is a better solution available for it.– Dave
1 hour ago