How to draw a diver in TikZ?
How to draw a diver being trained in a tall water tower in TikZ?
All what I have (been able to) do(ne):
documentclass[tikz,margin=3mm]{standalone}
usepackage{siunitx}
usetikzlibrary{patterns}
begin{document}
begin{tikzpicture}
draw (0,4.5)--(0,0)--(2,0)--(2,4.5);
draw (0,0) rectangle (2,4);
foreach i in {0.2,0.6,...,3.9}
draw[ultra thin,cyan,dash pattern=on 4pt off 4pt] (0,i)--(2,i);
foreach i in {0.4,0.8,...,3.9}
draw[ultra thin,cyan,dash pattern=on 4pt off 4pt,dash phase=4pt] (0,i)--(2,i);
draw (-1,0)--(3,0);
fill[pattern=north east lines] (-1,0) rectangle (3,-.2);
% Do something with the diver at (1,1)
begin{footnotesize}
draw[very thin] (1.5,3)--(2.5,3.1) node[right,align=left] {
sea water\
(density 1020 si{kg.m^{-3}}\
or 1.02 si{g.cm^{-3}})
};
draw[very thin] (1,1)--(2.5,1.2) node[right] {diver};
end{footnotesize}
end{tikzpicture}
end{document}
I can't draw the diver. I have seen many TikZ-drawn people on this site, but none of them is a diver.
Moreover, if I could draw the diver, I would also not able to clear the "water" blue dashes behind the diver.
Please help me. Thank you in advance.
I'm sorry but I can't provide the image in a better resolution and quality.
tikz-pgf
New contributor
add a comment |
How to draw a diver being trained in a tall water tower in TikZ?
All what I have (been able to) do(ne):
documentclass[tikz,margin=3mm]{standalone}
usepackage{siunitx}
usetikzlibrary{patterns}
begin{document}
begin{tikzpicture}
draw (0,4.5)--(0,0)--(2,0)--(2,4.5);
draw (0,0) rectangle (2,4);
foreach i in {0.2,0.6,...,3.9}
draw[ultra thin,cyan,dash pattern=on 4pt off 4pt] (0,i)--(2,i);
foreach i in {0.4,0.8,...,3.9}
draw[ultra thin,cyan,dash pattern=on 4pt off 4pt,dash phase=4pt] (0,i)--(2,i);
draw (-1,0)--(3,0);
fill[pattern=north east lines] (-1,0) rectangle (3,-.2);
% Do something with the diver at (1,1)
begin{footnotesize}
draw[very thin] (1.5,3)--(2.5,3.1) node[right,align=left] {
sea water\
(density 1020 si{kg.m^{-3}}\
or 1.02 si{g.cm^{-3}})
};
draw[very thin] (1,1)--(2.5,1.2) node[right] {diver};
end{footnotesize}
end{tikzpicture}
end{document}
I can't draw the diver. I have seen many TikZ-drawn people on this site, but none of them is a diver.
Moreover, if I could draw the diver, I would also not able to clear the "water" blue dashes behind the diver.
Please help me. Thank you in advance.
I'm sorry but I can't provide the image in a better resolution and quality.
tikz-pgf
New contributor
1
Get a vector drawing of a diver and use Inkscape to export to Tikz. Drawing the diver manually would take hours.
– Uwe Ziegenhagen
1 hour ago
add a comment |
How to draw a diver being trained in a tall water tower in TikZ?
All what I have (been able to) do(ne):
documentclass[tikz,margin=3mm]{standalone}
usepackage{siunitx}
usetikzlibrary{patterns}
begin{document}
begin{tikzpicture}
draw (0,4.5)--(0,0)--(2,0)--(2,4.5);
draw (0,0) rectangle (2,4);
foreach i in {0.2,0.6,...,3.9}
draw[ultra thin,cyan,dash pattern=on 4pt off 4pt] (0,i)--(2,i);
foreach i in {0.4,0.8,...,3.9}
draw[ultra thin,cyan,dash pattern=on 4pt off 4pt,dash phase=4pt] (0,i)--(2,i);
draw (-1,0)--(3,0);
fill[pattern=north east lines] (-1,0) rectangle (3,-.2);
% Do something with the diver at (1,1)
begin{footnotesize}
draw[very thin] (1.5,3)--(2.5,3.1) node[right,align=left] {
sea water\
(density 1020 si{kg.m^{-3}}\
or 1.02 si{g.cm^{-3}})
};
draw[very thin] (1,1)--(2.5,1.2) node[right] {diver};
end{footnotesize}
end{tikzpicture}
end{document}
I can't draw the diver. I have seen many TikZ-drawn people on this site, but none of them is a diver.
Moreover, if I could draw the diver, I would also not able to clear the "water" blue dashes behind the diver.
Please help me. Thank you in advance.
I'm sorry but I can't provide the image in a better resolution and quality.
tikz-pgf
New contributor
How to draw a diver being trained in a tall water tower in TikZ?
All what I have (been able to) do(ne):
documentclass[tikz,margin=3mm]{standalone}
usepackage{siunitx}
usetikzlibrary{patterns}
begin{document}
begin{tikzpicture}
draw (0,4.5)--(0,0)--(2,0)--(2,4.5);
draw (0,0) rectangle (2,4);
foreach i in {0.2,0.6,...,3.9}
draw[ultra thin,cyan,dash pattern=on 4pt off 4pt] (0,i)--(2,i);
foreach i in {0.4,0.8,...,3.9}
draw[ultra thin,cyan,dash pattern=on 4pt off 4pt,dash phase=4pt] (0,i)--(2,i);
draw (-1,0)--(3,0);
fill[pattern=north east lines] (-1,0) rectangle (3,-.2);
% Do something with the diver at (1,1)
begin{footnotesize}
draw[very thin] (1.5,3)--(2.5,3.1) node[right,align=left] {
sea water\
(density 1020 si{kg.m^{-3}}\
or 1.02 si{g.cm^{-3}})
};
draw[very thin] (1,1)--(2.5,1.2) node[right] {diver};
end{footnotesize}
end{tikzpicture}
end{document}
I can't draw the diver. I have seen many TikZ-drawn people on this site, but none of them is a diver.
Moreover, if I could draw the diver, I would also not able to clear the "water" blue dashes behind the diver.
Please help me. Thank you in advance.
I'm sorry but I can't provide the image in a better resolution and quality.
tikz-pgf
tikz-pgf
New contributor
New contributor
New contributor
asked 1 hour ago
SomeoneSomeone
655
655
New contributor
New contributor
1
Get a vector drawing of a diver and use Inkscape to export to Tikz. Drawing the diver manually would take hours.
– Uwe Ziegenhagen
1 hour ago
add a comment |
1
Get a vector drawing of a diver and use Inkscape to export to Tikz. Drawing the diver manually would take hours.
– Uwe Ziegenhagen
1 hour ago
1
1
Get a vector drawing of a diver and use Inkscape to export to Tikz. Drawing the diver manually would take hours.
– Uwe Ziegenhagen
1 hour ago
Get a vector drawing of a diver and use Inkscape to export to Tikz. Drawing the diver manually would take hours.
– Uwe Ziegenhagen
1 hour ago
add a comment |
1 Answer
1
active
oldest
votes
One can draw such things but as Uwe Ziegenhagen says it is a lot of efforts. (Doesn't take hours but certainly more than 10 minutes.) The main problem with such figures is that one is never really done, there is always something that you can tune more.
documentclass[tikz,margin=3mm]{standalone}
usepackage{siunitx}
usetikzlibrary{patterns}
begin{document}
begin{tikzpicture}
draw (0,4.5)--(0,0)--(2,0)--(2,4.5);
draw (0,0) rectangle (2,4);
foreach i in {0.2,0.6,...,3.9}
{draw[ultra thin,cyan,dash pattern=on 4pt off 4pt] (0,i)--(2,i);}
foreach i in {0.4,0.8,...,3.9}
{draw[ultra thin,cyan,dash pattern=on 4pt off 4pt,dash phase=4pt]
(0,i)--(2,i);}
draw (-1,0)--(3,0);
fill[pattern=north east lines] (-1,0) rectangle (3,-.2);
% Do something with the diver at (1,1)
draw[very thin] (1.5,3)--(2.5,3.1) node[right,align=left,font=footnotesize] {
sea water\
(density 1020 si{kg.m^{-3}}\
or 1.02 si{g.cm^{-3}})
};
% draw[red] (0,0) grid[step=0.1] (2,2);
% draw[red,thick] (0,0) grid[step=1] (2,2);
begin{scope}[fill=white]
% back leg
filldraw (1.7,0.8) to[out=180,in=-30] (1.3,1)
to[out=150,in=-20] (1,1.1) -- (1,1.15) -- (1.1,1.15)
to[out=0,in=150] (1.3,1.1) to[out=-30,in=-150]
(1.4,1.05) to[out=30,in=130] (1.5,0.95) to[out=-40,in=150] cycle;
% front leg
filldraw (1.6,1.3) to[out=175,in=20] (1.3,1.3) to[out=-160,in=30] (1.2,1.2)
to[out=-150,in=0] (1,1.1) to[out=180,in=-20] (0.7,1.2)
to (0.75,1.4) to[out=0,in=150] (1,1.2) to[out=30,in=-120] (1.3,1.4)
to cycle;
% belt
filldraw (0.7,1.2) to (0.75,1.4) to (0.71,1.42) to (0.66,1.22) to cycle;
% belly
filldraw (0.66,1.22) to[out=180,in=-20] (0.5,1.23) to (0.71,1.42) to cycle;
% torso
filldraw (0.71,1.42) to[out=-100,in=0] (0.55,1.2) to[out=180,in=-30]
(0.35,1.3) to[out=150,in=-90,looseness=0.4] (0.3,1.4)
arc(270:30:0.1 and 0.11) to[out=-60,in=180] cycle;
% arm
filldraw (0.95,1.2) to[out=170,in=0] (0.45,1.35)
to[out=180,in=170,looseness=1.2] (0.45,1.45)
to[out=-10,in=160] (0.95,1.25) to[out=-20,in=-10,looseness=1.2] cycle;
% oxygen
filldraw (0.8,1.4) to (0.5,1.45) to[out=160,in=160] (0.55,1.55)
to (0.82,1.5) to cycle;
% googles
draw[thick] (0.38,1.58) -- (0.2,1.5);
fill[black] (0.19,1.46) arc(-70:110:0.03) -- cycle;
% tube
draw[thick] (0.25,1.5) to[out=-90,in=-70] (0.3,1.5) -- (0.26,1.7);
end{scope}
draw[very thin] (1.1,1.2)--(2.5,1.4) node[right] {diver};
end{tikzpicture}
end{document}
1
Thank you very much!
– Someone
36 mins ago
wow, you actually drew the diver in tikz there? Amazing. But what I really like to see if someone who can draw theMona Lisa
famous painting by Leonardo da Vinci in tikz. But I wonder if a question asking for aMona Lisa
drawing using Tikz would be allowed.
– Nasser
8 mins ago
@Nasser This has already been done. Well, almost. See a bit after 4:50 in this video. (I recommend watching the video from the start. ;-)
– marmot
5 mins ago
add a comment |
Your Answer
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
});
}
});
Someone is a new contributor. Be nice, and check out our Code of Conduct.
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%2f474285%2fhow-to-draw-a-diver-in-tikz%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
One can draw such things but as Uwe Ziegenhagen says it is a lot of efforts. (Doesn't take hours but certainly more than 10 minutes.) The main problem with such figures is that one is never really done, there is always something that you can tune more.
documentclass[tikz,margin=3mm]{standalone}
usepackage{siunitx}
usetikzlibrary{patterns}
begin{document}
begin{tikzpicture}
draw (0,4.5)--(0,0)--(2,0)--(2,4.5);
draw (0,0) rectangle (2,4);
foreach i in {0.2,0.6,...,3.9}
{draw[ultra thin,cyan,dash pattern=on 4pt off 4pt] (0,i)--(2,i);}
foreach i in {0.4,0.8,...,3.9}
{draw[ultra thin,cyan,dash pattern=on 4pt off 4pt,dash phase=4pt]
(0,i)--(2,i);}
draw (-1,0)--(3,0);
fill[pattern=north east lines] (-1,0) rectangle (3,-.2);
% Do something with the diver at (1,1)
draw[very thin] (1.5,3)--(2.5,3.1) node[right,align=left,font=footnotesize] {
sea water\
(density 1020 si{kg.m^{-3}}\
or 1.02 si{g.cm^{-3}})
};
% draw[red] (0,0) grid[step=0.1] (2,2);
% draw[red,thick] (0,0) grid[step=1] (2,2);
begin{scope}[fill=white]
% back leg
filldraw (1.7,0.8) to[out=180,in=-30] (1.3,1)
to[out=150,in=-20] (1,1.1) -- (1,1.15) -- (1.1,1.15)
to[out=0,in=150] (1.3,1.1) to[out=-30,in=-150]
(1.4,1.05) to[out=30,in=130] (1.5,0.95) to[out=-40,in=150] cycle;
% front leg
filldraw (1.6,1.3) to[out=175,in=20] (1.3,1.3) to[out=-160,in=30] (1.2,1.2)
to[out=-150,in=0] (1,1.1) to[out=180,in=-20] (0.7,1.2)
to (0.75,1.4) to[out=0,in=150] (1,1.2) to[out=30,in=-120] (1.3,1.4)
to cycle;
% belt
filldraw (0.7,1.2) to (0.75,1.4) to (0.71,1.42) to (0.66,1.22) to cycle;
% belly
filldraw (0.66,1.22) to[out=180,in=-20] (0.5,1.23) to (0.71,1.42) to cycle;
% torso
filldraw (0.71,1.42) to[out=-100,in=0] (0.55,1.2) to[out=180,in=-30]
(0.35,1.3) to[out=150,in=-90,looseness=0.4] (0.3,1.4)
arc(270:30:0.1 and 0.11) to[out=-60,in=180] cycle;
% arm
filldraw (0.95,1.2) to[out=170,in=0] (0.45,1.35)
to[out=180,in=170,looseness=1.2] (0.45,1.45)
to[out=-10,in=160] (0.95,1.25) to[out=-20,in=-10,looseness=1.2] cycle;
% oxygen
filldraw (0.8,1.4) to (0.5,1.45) to[out=160,in=160] (0.55,1.55)
to (0.82,1.5) to cycle;
% googles
draw[thick] (0.38,1.58) -- (0.2,1.5);
fill[black] (0.19,1.46) arc(-70:110:0.03) -- cycle;
% tube
draw[thick] (0.25,1.5) to[out=-90,in=-70] (0.3,1.5) -- (0.26,1.7);
end{scope}
draw[very thin] (1.1,1.2)--(2.5,1.4) node[right] {diver};
end{tikzpicture}
end{document}
1
Thank you very much!
– Someone
36 mins ago
wow, you actually drew the diver in tikz there? Amazing. But what I really like to see if someone who can draw theMona Lisa
famous painting by Leonardo da Vinci in tikz. But I wonder if a question asking for aMona Lisa
drawing using Tikz would be allowed.
– Nasser
8 mins ago
@Nasser This has already been done. Well, almost. See a bit after 4:50 in this video. (I recommend watching the video from the start. ;-)
– marmot
5 mins ago
add a comment |
One can draw such things but as Uwe Ziegenhagen says it is a lot of efforts. (Doesn't take hours but certainly more than 10 minutes.) The main problem with such figures is that one is never really done, there is always something that you can tune more.
documentclass[tikz,margin=3mm]{standalone}
usepackage{siunitx}
usetikzlibrary{patterns}
begin{document}
begin{tikzpicture}
draw (0,4.5)--(0,0)--(2,0)--(2,4.5);
draw (0,0) rectangle (2,4);
foreach i in {0.2,0.6,...,3.9}
{draw[ultra thin,cyan,dash pattern=on 4pt off 4pt] (0,i)--(2,i);}
foreach i in {0.4,0.8,...,3.9}
{draw[ultra thin,cyan,dash pattern=on 4pt off 4pt,dash phase=4pt]
(0,i)--(2,i);}
draw (-1,0)--(3,0);
fill[pattern=north east lines] (-1,0) rectangle (3,-.2);
% Do something with the diver at (1,1)
draw[very thin] (1.5,3)--(2.5,3.1) node[right,align=left,font=footnotesize] {
sea water\
(density 1020 si{kg.m^{-3}}\
or 1.02 si{g.cm^{-3}})
};
% draw[red] (0,0) grid[step=0.1] (2,2);
% draw[red,thick] (0,0) grid[step=1] (2,2);
begin{scope}[fill=white]
% back leg
filldraw (1.7,0.8) to[out=180,in=-30] (1.3,1)
to[out=150,in=-20] (1,1.1) -- (1,1.15) -- (1.1,1.15)
to[out=0,in=150] (1.3,1.1) to[out=-30,in=-150]
(1.4,1.05) to[out=30,in=130] (1.5,0.95) to[out=-40,in=150] cycle;
% front leg
filldraw (1.6,1.3) to[out=175,in=20] (1.3,1.3) to[out=-160,in=30] (1.2,1.2)
to[out=-150,in=0] (1,1.1) to[out=180,in=-20] (0.7,1.2)
to (0.75,1.4) to[out=0,in=150] (1,1.2) to[out=30,in=-120] (1.3,1.4)
to cycle;
% belt
filldraw (0.7,1.2) to (0.75,1.4) to (0.71,1.42) to (0.66,1.22) to cycle;
% belly
filldraw (0.66,1.22) to[out=180,in=-20] (0.5,1.23) to (0.71,1.42) to cycle;
% torso
filldraw (0.71,1.42) to[out=-100,in=0] (0.55,1.2) to[out=180,in=-30]
(0.35,1.3) to[out=150,in=-90,looseness=0.4] (0.3,1.4)
arc(270:30:0.1 and 0.11) to[out=-60,in=180] cycle;
% arm
filldraw (0.95,1.2) to[out=170,in=0] (0.45,1.35)
to[out=180,in=170,looseness=1.2] (0.45,1.45)
to[out=-10,in=160] (0.95,1.25) to[out=-20,in=-10,looseness=1.2] cycle;
% oxygen
filldraw (0.8,1.4) to (0.5,1.45) to[out=160,in=160] (0.55,1.55)
to (0.82,1.5) to cycle;
% googles
draw[thick] (0.38,1.58) -- (0.2,1.5);
fill[black] (0.19,1.46) arc(-70:110:0.03) -- cycle;
% tube
draw[thick] (0.25,1.5) to[out=-90,in=-70] (0.3,1.5) -- (0.26,1.7);
end{scope}
draw[very thin] (1.1,1.2)--(2.5,1.4) node[right] {diver};
end{tikzpicture}
end{document}
1
Thank you very much!
– Someone
36 mins ago
wow, you actually drew the diver in tikz there? Amazing. But what I really like to see if someone who can draw theMona Lisa
famous painting by Leonardo da Vinci in tikz. But I wonder if a question asking for aMona Lisa
drawing using Tikz would be allowed.
– Nasser
8 mins ago
@Nasser This has already been done. Well, almost. See a bit after 4:50 in this video. (I recommend watching the video from the start. ;-)
– marmot
5 mins ago
add a comment |
One can draw such things but as Uwe Ziegenhagen says it is a lot of efforts. (Doesn't take hours but certainly more than 10 minutes.) The main problem with such figures is that one is never really done, there is always something that you can tune more.
documentclass[tikz,margin=3mm]{standalone}
usepackage{siunitx}
usetikzlibrary{patterns}
begin{document}
begin{tikzpicture}
draw (0,4.5)--(0,0)--(2,0)--(2,4.5);
draw (0,0) rectangle (2,4);
foreach i in {0.2,0.6,...,3.9}
{draw[ultra thin,cyan,dash pattern=on 4pt off 4pt] (0,i)--(2,i);}
foreach i in {0.4,0.8,...,3.9}
{draw[ultra thin,cyan,dash pattern=on 4pt off 4pt,dash phase=4pt]
(0,i)--(2,i);}
draw (-1,0)--(3,0);
fill[pattern=north east lines] (-1,0) rectangle (3,-.2);
% Do something with the diver at (1,1)
draw[very thin] (1.5,3)--(2.5,3.1) node[right,align=left,font=footnotesize] {
sea water\
(density 1020 si{kg.m^{-3}}\
or 1.02 si{g.cm^{-3}})
};
% draw[red] (0,0) grid[step=0.1] (2,2);
% draw[red,thick] (0,0) grid[step=1] (2,2);
begin{scope}[fill=white]
% back leg
filldraw (1.7,0.8) to[out=180,in=-30] (1.3,1)
to[out=150,in=-20] (1,1.1) -- (1,1.15) -- (1.1,1.15)
to[out=0,in=150] (1.3,1.1) to[out=-30,in=-150]
(1.4,1.05) to[out=30,in=130] (1.5,0.95) to[out=-40,in=150] cycle;
% front leg
filldraw (1.6,1.3) to[out=175,in=20] (1.3,1.3) to[out=-160,in=30] (1.2,1.2)
to[out=-150,in=0] (1,1.1) to[out=180,in=-20] (0.7,1.2)
to (0.75,1.4) to[out=0,in=150] (1,1.2) to[out=30,in=-120] (1.3,1.4)
to cycle;
% belt
filldraw (0.7,1.2) to (0.75,1.4) to (0.71,1.42) to (0.66,1.22) to cycle;
% belly
filldraw (0.66,1.22) to[out=180,in=-20] (0.5,1.23) to (0.71,1.42) to cycle;
% torso
filldraw (0.71,1.42) to[out=-100,in=0] (0.55,1.2) to[out=180,in=-30]
(0.35,1.3) to[out=150,in=-90,looseness=0.4] (0.3,1.4)
arc(270:30:0.1 and 0.11) to[out=-60,in=180] cycle;
% arm
filldraw (0.95,1.2) to[out=170,in=0] (0.45,1.35)
to[out=180,in=170,looseness=1.2] (0.45,1.45)
to[out=-10,in=160] (0.95,1.25) to[out=-20,in=-10,looseness=1.2] cycle;
% oxygen
filldraw (0.8,1.4) to (0.5,1.45) to[out=160,in=160] (0.55,1.55)
to (0.82,1.5) to cycle;
% googles
draw[thick] (0.38,1.58) -- (0.2,1.5);
fill[black] (0.19,1.46) arc(-70:110:0.03) -- cycle;
% tube
draw[thick] (0.25,1.5) to[out=-90,in=-70] (0.3,1.5) -- (0.26,1.7);
end{scope}
draw[very thin] (1.1,1.2)--(2.5,1.4) node[right] {diver};
end{tikzpicture}
end{document}
One can draw such things but as Uwe Ziegenhagen says it is a lot of efforts. (Doesn't take hours but certainly more than 10 minutes.) The main problem with such figures is that one is never really done, there is always something that you can tune more.
documentclass[tikz,margin=3mm]{standalone}
usepackage{siunitx}
usetikzlibrary{patterns}
begin{document}
begin{tikzpicture}
draw (0,4.5)--(0,0)--(2,0)--(2,4.5);
draw (0,0) rectangle (2,4);
foreach i in {0.2,0.6,...,3.9}
{draw[ultra thin,cyan,dash pattern=on 4pt off 4pt] (0,i)--(2,i);}
foreach i in {0.4,0.8,...,3.9}
{draw[ultra thin,cyan,dash pattern=on 4pt off 4pt,dash phase=4pt]
(0,i)--(2,i);}
draw (-1,0)--(3,0);
fill[pattern=north east lines] (-1,0) rectangle (3,-.2);
% Do something with the diver at (1,1)
draw[very thin] (1.5,3)--(2.5,3.1) node[right,align=left,font=footnotesize] {
sea water\
(density 1020 si{kg.m^{-3}}\
or 1.02 si{g.cm^{-3}})
};
% draw[red] (0,0) grid[step=0.1] (2,2);
% draw[red,thick] (0,0) grid[step=1] (2,2);
begin{scope}[fill=white]
% back leg
filldraw (1.7,0.8) to[out=180,in=-30] (1.3,1)
to[out=150,in=-20] (1,1.1) -- (1,1.15) -- (1.1,1.15)
to[out=0,in=150] (1.3,1.1) to[out=-30,in=-150]
(1.4,1.05) to[out=30,in=130] (1.5,0.95) to[out=-40,in=150] cycle;
% front leg
filldraw (1.6,1.3) to[out=175,in=20] (1.3,1.3) to[out=-160,in=30] (1.2,1.2)
to[out=-150,in=0] (1,1.1) to[out=180,in=-20] (0.7,1.2)
to (0.75,1.4) to[out=0,in=150] (1,1.2) to[out=30,in=-120] (1.3,1.4)
to cycle;
% belt
filldraw (0.7,1.2) to (0.75,1.4) to (0.71,1.42) to (0.66,1.22) to cycle;
% belly
filldraw (0.66,1.22) to[out=180,in=-20] (0.5,1.23) to (0.71,1.42) to cycle;
% torso
filldraw (0.71,1.42) to[out=-100,in=0] (0.55,1.2) to[out=180,in=-30]
(0.35,1.3) to[out=150,in=-90,looseness=0.4] (0.3,1.4)
arc(270:30:0.1 and 0.11) to[out=-60,in=180] cycle;
% arm
filldraw (0.95,1.2) to[out=170,in=0] (0.45,1.35)
to[out=180,in=170,looseness=1.2] (0.45,1.45)
to[out=-10,in=160] (0.95,1.25) to[out=-20,in=-10,looseness=1.2] cycle;
% oxygen
filldraw (0.8,1.4) to (0.5,1.45) to[out=160,in=160] (0.55,1.55)
to (0.82,1.5) to cycle;
% googles
draw[thick] (0.38,1.58) -- (0.2,1.5);
fill[black] (0.19,1.46) arc(-70:110:0.03) -- cycle;
% tube
draw[thick] (0.25,1.5) to[out=-90,in=-70] (0.3,1.5) -- (0.26,1.7);
end{scope}
draw[very thin] (1.1,1.2)--(2.5,1.4) node[right] {diver};
end{tikzpicture}
end{document}
answered 39 mins ago
marmotmarmot
99k4113219
99k4113219
1
Thank you very much!
– Someone
36 mins ago
wow, you actually drew the diver in tikz there? Amazing. But what I really like to see if someone who can draw theMona Lisa
famous painting by Leonardo da Vinci in tikz. But I wonder if a question asking for aMona Lisa
drawing using Tikz would be allowed.
– Nasser
8 mins ago
@Nasser This has already been done. Well, almost. See a bit after 4:50 in this video. (I recommend watching the video from the start. ;-)
– marmot
5 mins ago
add a comment |
1
Thank you very much!
– Someone
36 mins ago
wow, you actually drew the diver in tikz there? Amazing. But what I really like to see if someone who can draw theMona Lisa
famous painting by Leonardo da Vinci in tikz. But I wonder if a question asking for aMona Lisa
drawing using Tikz would be allowed.
– Nasser
8 mins ago
@Nasser This has already been done. Well, almost. See a bit after 4:50 in this video. (I recommend watching the video from the start. ;-)
– marmot
5 mins ago
1
1
Thank you very much!
– Someone
36 mins ago
Thank you very much!
– Someone
36 mins ago
wow, you actually drew the diver in tikz there? Amazing. But what I really like to see if someone who can draw the
Mona Lisa
famous painting by Leonardo da Vinci in tikz. But I wonder if a question asking for a Mona Lisa
drawing using Tikz would be allowed.– Nasser
8 mins ago
wow, you actually drew the diver in tikz there? Amazing. But what I really like to see if someone who can draw the
Mona Lisa
famous painting by Leonardo da Vinci in tikz. But I wonder if a question asking for a Mona Lisa
drawing using Tikz would be allowed.– Nasser
8 mins ago
@Nasser This has already been done. Well, almost. See a bit after 4:50 in this video. (I recommend watching the video from the start. ;-)
– marmot
5 mins ago
@Nasser This has already been done. Well, almost. See a bit after 4:50 in this video. (I recommend watching the video from the start. ;-)
– marmot
5 mins ago
add a comment |
Someone is a new contributor. Be nice, and check out our Code of Conduct.
Someone is a new contributor. Be nice, and check out our Code of Conduct.
Someone is a new contributor. Be nice, and check out our Code of Conduct.
Someone is a new contributor. Be nice, and check out our Code of Conduct.
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%2f474285%2fhow-to-draw-a-diver-in-tikz%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
1
Get a vector drawing of a diver and use Inkscape to export to Tikz. Drawing the diver manually would take hours.
– Uwe Ziegenhagen
1 hour ago