What has been your most complicated TikZ drawing?How can we display fireworks?Has anyone ever drawn a football field in latex?Drawing Karnaugh's maps in LaTeXDrawing concentric circles with alternating colors by means of foreach in TikZComplicated logic circuit drawing with Tikz - two input buffer gate?Complicated Tikz logic drawingCreating pseudo anchors in TikZ drawingDrawing 3D crystal lattice with tikz/pstricksWhat was your very first complete document done with TeX/LaTeX & friends?Your best snowflake with TikzDrawing a multiscale network in TikzDrawing discs with circular holes with TikZDrawing the graph of a complicated functionTikz line drawing error
Ban on all campaign finance?
Is it true that good novels will automatically sell themselves on Amazon (and so on) and there is no need for one to waste time promoting?
What does it mean to make a bootable LiveUSB?
Latest web browser compatible with Windows 98
Should we release the security issues we found in our product as CVE or we can just update those on weekly release notes?
Fantasy series where a Vietnam vet is transported to a fantasy land
Good allowance savings plan?
Did CP/M support custom hardware using device drivers?
Can anyone tell me why this program fails?
Russian cases: A few examples, I'm really confused
Why do passenger jet manufacturers design their planes with stall prevention systems?
Getting particular feature using expression in PyQGIS?
How to simplify this time periods definition interface?
What options are left, if Britain cannot decide?
At what level can a dragon innately cast its spells?
How is the Swiss post e-voting system supposed to work, and how was it wrong?
Can elves maintain concentration in a trance?
Rules about breaking the rules. How do I do it well?
Is having access to past exams cheating and, if yes, could it be proven just by a good grade?
Why do Australian milk farmers need to protest supermarkets' milk price?
Is it true that real estate prices mainly go up?
How to deal with a cynical class?
How could a female member of a species produce eggs unto death?
Why did it take so long to abandon sail after steamships were demonstrated?
What has been your most complicated TikZ drawing?
How can we display fireworks?Has anyone ever drawn a football field in latex?Drawing Karnaugh's maps in LaTeXDrawing concentric circles with alternating colors by means of foreach in TikZComplicated logic circuit drawing with Tikz - two input buffer gate?Complicated Tikz logic drawingCreating pseudo anchors in TikZ drawingDrawing 3D crystal lattice with tikz/pstricksWhat was your very first complete document done with TeX/LaTeX & friends?Your best snowflake with TikzDrawing a multiscale network in TikzDrawing discs with circular holes with TikZDrawing the graph of a complicated functionTikz line drawing error
Share your most complex TikZ drawing and learning out of it.
tikz-pgf fun big-list
|
show 7 more comments
Share your most complex TikZ drawing and learning out of it.
tikz-pgf fun big-list
5
@Sebastiano OP wants us to show our most proudestTikZ
diagram.
– Raaja
2 days ago
13
Not sure how suitable this question is for this site. It is quite broad and does not have a definitive answer (cf. tex.stackexchange.com/help/dont-ask). texample.net has a collection of complex (and maybe also not so complex) TikZ drawings.
– moewe
2 days ago
3
It is true that this site is very lenient with (some) big-list questions, but I feel that the current formulation "your most complicated" is just too subjective.
– moewe
2 days ago
4
I think this question should be made a community wiki, if it is not closed.
– JouleV
yesterday
2
None of my TikZ drawings are complex since I was able to make them. Some TikZ drawings seem very complex to realize for me, but as they were made by others, I can not share them.
– Paul Gaborit
yesterday
|
show 7 more comments
Share your most complex TikZ drawing and learning out of it.
tikz-pgf fun big-list
Share your most complex TikZ drawing and learning out of it.
tikz-pgf fun big-list
tikz-pgf fun big-list
edited 2 days ago
community wiki
subham soni
5
@Sebastiano OP wants us to show our most proudestTikZ
diagram.
– Raaja
2 days ago
13
Not sure how suitable this question is for this site. It is quite broad and does not have a definitive answer (cf. tex.stackexchange.com/help/dont-ask). texample.net has a collection of complex (and maybe also not so complex) TikZ drawings.
– moewe
2 days ago
3
It is true that this site is very lenient with (some) big-list questions, but I feel that the current formulation "your most complicated" is just too subjective.
– moewe
2 days ago
4
I think this question should be made a community wiki, if it is not closed.
– JouleV
yesterday
2
None of my TikZ drawings are complex since I was able to make them. Some TikZ drawings seem very complex to realize for me, but as they were made by others, I can not share them.
– Paul Gaborit
yesterday
|
show 7 more comments
5
@Sebastiano OP wants us to show our most proudestTikZ
diagram.
– Raaja
2 days ago
13
Not sure how suitable this question is for this site. It is quite broad and does not have a definitive answer (cf. tex.stackexchange.com/help/dont-ask). texample.net has a collection of complex (and maybe also not so complex) TikZ drawings.
– moewe
2 days ago
3
It is true that this site is very lenient with (some) big-list questions, but I feel that the current formulation "your most complicated" is just too subjective.
– moewe
2 days ago
4
I think this question should be made a community wiki, if it is not closed.
– JouleV
yesterday
2
None of my TikZ drawings are complex since I was able to make them. Some TikZ drawings seem very complex to realize for me, but as they were made by others, I can not share them.
– Paul Gaborit
yesterday
5
5
@Sebastiano OP wants us to show our most proudest
TikZ
diagram.– Raaja
2 days ago
@Sebastiano OP wants us to show our most proudest
TikZ
diagram.– Raaja
2 days ago
13
13
Not sure how suitable this question is for this site. It is quite broad and does not have a definitive answer (cf. tex.stackexchange.com/help/dont-ask). texample.net has a collection of complex (and maybe also not so complex) TikZ drawings.
– moewe
2 days ago
Not sure how suitable this question is for this site. It is quite broad and does not have a definitive answer (cf. tex.stackexchange.com/help/dont-ask). texample.net has a collection of complex (and maybe also not so complex) TikZ drawings.
– moewe
2 days ago
3
3
It is true that this site is very lenient with (some) big-list questions, but I feel that the current formulation "your most complicated" is just too subjective.
– moewe
2 days ago
It is true that this site is very lenient with (some) big-list questions, but I feel that the current formulation "your most complicated" is just too subjective.
– moewe
2 days ago
4
4
I think this question should be made a community wiki, if it is not closed.
– JouleV
yesterday
I think this question should be made a community wiki, if it is not closed.
– JouleV
yesterday
2
2
None of my TikZ drawings are complex since I was able to make them. Some TikZ drawings seem very complex to realize for me, but as they were made by others, I can not share them.
– Paul Gaborit
yesterday
None of my TikZ drawings are complex since I was able to make them. Some TikZ drawings seem very complex to realize for me, but as they were made by others, I can not share them.
– Paul Gaborit
yesterday
|
show 7 more comments
6 Answers
6
active
oldest
votes
Inspired by Raaja's answer.
This is the standard rotating snakes.
documentclass[tikz,border=9]standalone
begindocument
tikz
draw(-10,-10)rectangle+(20,20);
foreachx/y in
-1/ 1, 0/ 1, 1/ 1,
-1/ 0, 0/ 0, 1/ 0,
-1/-1, 0/-1, 1/-1,
-.5/ .5, .5/ .5,
-.5/-.5, .5/-.5
beginscope
tikzsetshift=(x*6.6,y*6.6),xscale=(-1)^(x+y)
pgflowlevelsynccm
foreachj in1,...,15
draw[line width=6mm,
dash pattern=on13.408ptoff13.408pt,
dash phase=j*13.408pt]
circle(3);
draw[line width=6mm,white,
dash pattern=on13.408ptoff13.408pt,
dash phase=(j+1)*13.408pt]
circle(3);
foreachi in1,...,20
tikzsetrotate=i*18+j*9
fill[yellow!80!black]
(3,0)ellipse[x radius=3mm,y radius=1.5mm];
tikzsetrotate=9
fill[blue]
(3,0)ellipse[x radius=3mm,y radius=1.5mm];
tikzsetscale=.81818
pgflowlevelsynccm
endscope
enddocument
add a comment |
This was complicated when I did it. Now it's more large than difficult or complicated. The original illustration is from "The Illustrated Network: How TCP/IP Works in a Modern Network" by Walter Goralski.
documentclass[tikz]standalone
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackagelmodern
usepackagetikz
usetikzlibrarymatrix,shapes.symbols,fit,positioning
begindocument
defmonitor--+(6mm,0mm)--+(5mm,2mm)--+(3mm,2mm)--+(2mm,4mm)--+(5mm,4mm)--+(5mm,11mm)--+
(-5mm,11mm)--+(-5mm,4mm)--+(-2mm,4mm)--+(-3mm,2mm)--+(-5mm,2mm)--+(-6mm,0mm)--cycle
defdisplay++(3mm,5mm) --++(0,5mm)--++(-6mm,0mm)--++(0mm,-5mm)--cycle
defcasa--++(5mm,0mm)--++(0,7mm)--++(2mm,0mm)--++(-7mm,4mm)
--++(-7mm,-4mm)--++(2mm,0mm)--++(0mm,-7mm)--cycle
begintikzpicture[font=sffamily,
host/.style=draw, text width=3.5cm, fill=orange!10,font=sffamilysmall, align=left,
falshost/.style=rectangle, minimum width=2cm, minimum height=8mm,
router/.style=draw, text width=3cm, minimum height=1cm, fill=blue!20, align=center,
etiqueta/.style=font=sffamilysmall, align=center]
beginscope
matrix[ampersand replacement=&,column sep=2mm,row sep=2mm]
node[host] (bsdclient)
em0: 10.10.11.177\MAC: 00:0e:0c:3b:8f:94\(Intel_3b:8f:94)\IPv6: fe80::20e:cff:fe3b:8f94; &
node[host] (lnxserver)
eth0: 10.10.11.66\MAC: 00:db:b7:1f:fe:e6\(Intel_1f:fe:e6)\IPv6: fe80::2d0:b7ff:fe1f:fee6; &
node[host] (wincli1)
LAN2: 10.10.11.51\MAC: 00:0e:0c:3b:88:3c\(Intel_3b:88:3c)\IPv6: fe80::20e:cff:fe3b:883c; &
node[host] (winsvr1)
LAN2: 10.10.11.111\MAC: 00:0e:0c:3b:87:36\(Intel_3b:87:36)\IPv6: fe80::20e:cff:fe3b:8736;\[4mm]
node[falshost] (sbsdclient) ; &
node[falshost] (slnxserver) ; &
node[falshost] (swincli1) ; &
node[falshost] (swinsvr1) ; \
;
node[fill=gray!30, inner sep=0pt, rectangle, rounded corners=4mm,fit=(sbsdclient) (swinsvr1)] (lan1) Ethernet LAN Switch with Twisted Pair-Wiring;
node[below,anchor=north east] at (lan1.south east) textbfLAN1;
draw (bsdclient) -- (sbsdclient);
draw (lnxserver) -- (slnxserver);
draw (wincli1) -- (swincli1);
draw (winsvr1) -- (swinsvr1);
foreach a in bsdclient, lnxserver, wincli1, winsvr1
fill[gray!30] ([yshift=1mm]a.north) monitor;
fill[white] ([yshift=1mm]a.north) display;
path (a.north) ++(0mm,12mm) node[above] textbfa;
node[router,anchor=north] (CE0) [below = of lan1] CE0\textbflo0: 192.168.0.1;
draw (lan1)--(CE0);
path (CE0.east)++(2mm,0mm) node[anchor=west,align=left,font=sffamilysmall] (tCE0) fe-1/3/0: 10.10.11.1\
MAC= 00:05:85:88:cc:db\(Juniper_88:cc:db)\IPv6: fe80:205:85ff:fe88:ccdb;
node[text width=2cm,align=center] () at (bsdclient|-CE0) Los Angeles\Office;
endscope
beginscope[xshift=16cm]
matrix[ampersand replacement=&,column sep=2mm,row sep=2mm]
node[host] (bsdserver)
eth0: 10.10.12.77\MAC: 00:0e:0c:3b:87:32\(Intel_3b:87:32)\IPv6: fe80::20e:cff:fe3b:8732; &
node[host] (lnxclient)
eth0: 10.10.12.166\MAC: 00:b0:d0:45:34:64\(Dell_45:34:64)\IPv6: fe80::2b0:d0ff:fe45:3464; &
node[host] (winsvr2)
LAN2: 10.10.12.52\MAC: 00:0e:0c:3b:88:56\(Intel_3b:88:56)\IPv6: fe80::20e:cff:fe3b:8856; &
node[host] (wincli2)
LAN2: 10.10.11.222\MAC: 00:02:b3:27:fa:8c\mboxnull \IPv6: fe80::202:b3ff:fe27:fa8c;\[4mm]
node[falshost] (sbsdserver) ; &
node[falshost] (slnxclient) ; &
node[falshost] (swinsvr2) ; &
node[falshost] (swincli2) ; \
;
node[fill=gray!30, inner sep=0pt, rectangle, rounded corners=4mm,fit=(sbsdserver) (swincli2)] (lan2) Ethernet LAN Switch with Twisted Pair-Wiring;
node[below,anchor=north east] at (lan2.south east) textbfLAN2;
draw (bsdserver) -- (sbsdserver);
draw (lnxclient) -- (slnxclient);
draw (winsvr2) -- (swinsvr2);
draw (wincli2) -- (swincli2);
foreach a in bsdserver, lnxclient, winsvr2, wincli2
fill[gray!30] ([yshift=1mm]a.north) monitor;
fill[white] ([yshift=1mm]a.north) display;
path (a.north) ++(0mm,12mm) node[above] textbfa;
node[router,anchor=north] (CE6) [below = of lan2] CE6\textbflo0: 192.168.6.1;
draw (lan2)--(CE6);
path (CE6.east)++(2mm,0mm) node[anchor=west,align=left,font=sffamilysmall] (tCE6) fe-1/3/0: 10.10.12.1\
MAC= 00:05:85:8b:bc:db\(Juniper_8b:bc:db)\IPv6: fe80:205:85ff:fe8b:bcdb;
node[text width=2cm,align=center] () at (bsdserver|-CE6) New York\Office;
endscope
beginscope[shift=(8cm,-9cm)]
matrix [ampersand replacement=&,column sep=2.5cm,row sep=1.5cm]
& node[router] (P9) P9\textbflo0: 192.168.9.1; & & node[router] (P7) P7\textbflo0: 192.168.7.1; & \
node[router] (PE5) PE5\textbflo0: 192.168.5.1; & & & & node[router] (PE1) PE1\textbflo0: 192.168.1.1; \
& node[router] (P4) P4\textbflo0: 192.168.4.1; & & node[router] (P2) P2\textbflo0: 192.168.2.1; & \
;
draw (P9.east) -- (P7.west)
node[etiqueta,very near start] so-0/0/1\79.2
node[etiqueta,very near end] so-0/0/1\79.1;
draw (P9.south) -- (P4.north)
node[etiqueta,very near start,align=right,left] so-0/0/3\49.2
node[etiqueta,very near end,align=right,left] so-0/0/3\49.1;
draw (P4.east) -- (P2.west)
node[etiqueta,very near start] so-0/0/1\24.2
node[etiqueta,very near end] so-0/0/1\24.1;
draw (P7.south) -- (P2.north)
node[etiqueta,very near start,align=left,right] so-0/0/3\27.2
node[etiqueta,very near end,align=left,right] so-0/0/3\27.1;
draw (P9.south east) -- (P2.north west)
node[etiqueta,very near start,sloped] so-0/0/2\29.2
node[etiqueta,very near end,sloped] so-0/0/2\29.1;
draw (P4.north east) -- (P7.south west)
node[etiqueta,very near start,sloped] so-0/0/0\47.1
node[etiqueta,very near end,sloped] so-0/0/0\47.2;
draw (PE5.east) -- (P9.west)
node[etiqueta,near start,sloped] so-0/0/0\59.1
node[etiqueta,near end,sloped] so-0/0/0\59.2;
draw (PE5.east) -- (P4.west)
node[etiqueta,near start,sloped] so-0/0/2\45.2
node[etiqueta,near end,sloped] so-0/0/2\45.1;
draw (P7.east) -- (PE1.west)
node[etiqueta,near start,sloped] so-0/0/2\17.2
node[etiqueta,near end,sloped] so-0/0/2\17.1;
draw (P2.east) -- (PE1.west)
node[etiqueta,near start,sloped] so-0/0/0\12.2
node[etiqueta,near end,sloped] so-0/0/0\12.1;
draw[dashed,very thick,gray] (PE5.north) -- (CE0.south)
node[etiqueta,pos=.15,sloped,black] ge-0/0/3\50.1
node[etiqueta,pos=.85,sloped,black] (ge502) ge-0/0/3\50.2;
draw[dashed,very thick,gray] (CE6.south) -- (PE1.north)
node[etiqueta,pos=.15,sloped,black] (ge162) ge-0/0/3\16.2
node[etiqueta,pos=.85,sloped,black] ge-0/0/3\16.1;
endscope
fill[green!50] (bsdclient|-P9) casa;
node[xshift=1cm,align=center,anchor=south west] at (bsdclient|-P9) textbfWireless\textbfin home;
draw[dotted] (bsdclient|-P9) -- (PE5.north) node[above,sloped,pos=0.5] DSL Link;
draw[dashed] (bsdclient.west|-ge502.west)--(winsvr1.east|-ge502.west);
draw[dashed] (bsdserver.west|-ge162.east)--(wincli2.east|-ge162.east);
node[cloud,draw,aspect=2,cloud puffs=15,text width=3cm, align=center,anchor=north,fill=violet!20] (internet) at (PE1|-P2.south) textbfGlobal Public\textbfInternet;
draw (P4) |- ([yshift=-3mm]internet) node [pos=0.6,above] AS 65459;
draw (P2) |- ([yshift=3mm]internet) node [pos=0.7,above] AS 65127;
node[text width=5cm, align=left, font=sffamilysmall,anchor=south west] at (bsdclient.west|-internet.south) Solid rules = SONET/SDH\Dashed rules = Gigabit Ethernet\emphNote:All links use 10.0.x.y\addressing. Only the last\two octets are shown.;
endtikzpicture
enddocument
Some other Tikz figures are already here:
Karnaugh Maps
Soccer/Football teams
1
I would like to bring to your notice that the above url "Soccer/Football teams" points to a post containing Karnaugh maps.
– GermanShepherd
2 days ago
@GermanShepherd Corrected! Thank you for pointing it.
– Ignasi
yesterday
add a comment |
This is not the most complicated drawing I have ever coded1 but certainly the proudest picture I have ever had. That is the TikZified2 version of the most well-known picture ever – the Mona Lisa!
The code (2.43 MB) is too long to be pasted here. You can see it here.
1 | In fact, you can see well that this picture is not made by me. It is generated via Inkscape. However, this is certainly the most complicated picture ever compiled in my computer and not made by anyone else (i.e. I got it without any human help).
2 | I stole this word from @marmot. I hope he will give me the permission to use the word once he reads my answer.
How long did you took to achieve this? Very nice (+1).
– Raaja
yesterday
@Raaja Well, it was made with Inkscape, so it is not so difficult. (If I drew the picture manually it would take centuries :D). But it takes a while to vectorize the original image, convert it to TikZ and then compile the code. My editor became not responding for a couple of minutes :))
– JouleV
yesterday
Huhh like that;)
. I assumed you created this by mixing colors yourself:D
. But still quite an amount of work though.
– Raaja
yesterday
@Raaja I mentioned about it in footnote 1. Let's imagine if someone drew this manually: finding the coordinates of the control points takes about half of a century, some other decades for coding and debugging. Only a lifetime is taken for this work :DD
– JouleV
yesterday
very nice work :)
– Raaja
yesterday
|
show 1 more comment
I have to repost this one (details here):
Most PDF viewers can't render it and the code is a mess, but it's certainly complicated (856 lines of complicated).
add a comment |
About a thousand lines of code, grabbing data from a bunch of external files and plotting stuff. The code is a mess but adaptable enough to display different data sets. Also came across some really strange bugs while working on it (such as: loading in large tables of data into TikZ may overlook a particular column until the document is compiled a second time or the column afterwards is also loaded.)
1
where is the code?
– dozer
5 hours ago
add a comment |
I learned how to use loops in TikZ
for the first-time ever.
documentclassstandalone
usepackagetikz
%https://tex.stackexchange.com/questions/471465/drawing-concentric-circles-with-alternating-colors-by-means-of-foreach-in-tikz/471466#471466
begindocument
begintikzpicture[mystyle/.style=circle,draw,fill=none,minimum size=20, line width = 8pt]
foreach x in 1,3,5,7,9,11,13,15,17,19
node [mystyle, minimum size = x cm, color =red!70] (2) at (0, 0) ;
foreach x in 2,4,6,8,10,12,14,16,18, 20
node [mystyle, minimum size = x cm, color =yellow!50] (2) at (0, 0) ;
endtikzpicture
enddocument
to get:
8
This image is kind of hypnotising :)
– samcarter
yesterday
@samcarter I know right? Therefore, I am proud of this image as my first looped creation :D
– Raaja
yesterday
1
@samcarter, not like this one
– Sigur
yesterday
2
@Sigur I would answer your comment, but I cannot stop staring at those wheels :)
– samcarter
yesterday
1
@samcarter specially when we try to focus on a circle center...
– Sigur
23 hours ago
|
show 3 more comments
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
);
);
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%2f479232%2fwhat-has-been-your-most-complicated-tikz-drawing%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
6 Answers
6
active
oldest
votes
6 Answers
6
active
oldest
votes
active
oldest
votes
active
oldest
votes
Inspired by Raaja's answer.
This is the standard rotating snakes.
documentclass[tikz,border=9]standalone
begindocument
tikz
draw(-10,-10)rectangle+(20,20);
foreachx/y in
-1/ 1, 0/ 1, 1/ 1,
-1/ 0, 0/ 0, 1/ 0,
-1/-1, 0/-1, 1/-1,
-.5/ .5, .5/ .5,
-.5/-.5, .5/-.5
beginscope
tikzsetshift=(x*6.6,y*6.6),xscale=(-1)^(x+y)
pgflowlevelsynccm
foreachj in1,...,15
draw[line width=6mm,
dash pattern=on13.408ptoff13.408pt,
dash phase=j*13.408pt]
circle(3);
draw[line width=6mm,white,
dash pattern=on13.408ptoff13.408pt,
dash phase=(j+1)*13.408pt]
circle(3);
foreachi in1,...,20
tikzsetrotate=i*18+j*9
fill[yellow!80!black]
(3,0)ellipse[x radius=3mm,y radius=1.5mm];
tikzsetrotate=9
fill[blue]
(3,0)ellipse[x radius=3mm,y radius=1.5mm];
tikzsetscale=.81818
pgflowlevelsynccm
endscope
enddocument
add a comment |
Inspired by Raaja's answer.
This is the standard rotating snakes.
documentclass[tikz,border=9]standalone
begindocument
tikz
draw(-10,-10)rectangle+(20,20);
foreachx/y in
-1/ 1, 0/ 1, 1/ 1,
-1/ 0, 0/ 0, 1/ 0,
-1/-1, 0/-1, 1/-1,
-.5/ .5, .5/ .5,
-.5/-.5, .5/-.5
beginscope
tikzsetshift=(x*6.6,y*6.6),xscale=(-1)^(x+y)
pgflowlevelsynccm
foreachj in1,...,15
draw[line width=6mm,
dash pattern=on13.408ptoff13.408pt,
dash phase=j*13.408pt]
circle(3);
draw[line width=6mm,white,
dash pattern=on13.408ptoff13.408pt,
dash phase=(j+1)*13.408pt]
circle(3);
foreachi in1,...,20
tikzsetrotate=i*18+j*9
fill[yellow!80!black]
(3,0)ellipse[x radius=3mm,y radius=1.5mm];
tikzsetrotate=9
fill[blue]
(3,0)ellipse[x radius=3mm,y radius=1.5mm];
tikzsetscale=.81818
pgflowlevelsynccm
endscope
enddocument
add a comment |
Inspired by Raaja's answer.
This is the standard rotating snakes.
documentclass[tikz,border=9]standalone
begindocument
tikz
draw(-10,-10)rectangle+(20,20);
foreachx/y in
-1/ 1, 0/ 1, 1/ 1,
-1/ 0, 0/ 0, 1/ 0,
-1/-1, 0/-1, 1/-1,
-.5/ .5, .5/ .5,
-.5/-.5, .5/-.5
beginscope
tikzsetshift=(x*6.6,y*6.6),xscale=(-1)^(x+y)
pgflowlevelsynccm
foreachj in1,...,15
draw[line width=6mm,
dash pattern=on13.408ptoff13.408pt,
dash phase=j*13.408pt]
circle(3);
draw[line width=6mm,white,
dash pattern=on13.408ptoff13.408pt,
dash phase=(j+1)*13.408pt]
circle(3);
foreachi in1,...,20
tikzsetrotate=i*18+j*9
fill[yellow!80!black]
(3,0)ellipse[x radius=3mm,y radius=1.5mm];
tikzsetrotate=9
fill[blue]
(3,0)ellipse[x radius=3mm,y radius=1.5mm];
tikzsetscale=.81818
pgflowlevelsynccm
endscope
enddocument
Inspired by Raaja's answer.
This is the standard rotating snakes.
documentclass[tikz,border=9]standalone
begindocument
tikz
draw(-10,-10)rectangle+(20,20);
foreachx/y in
-1/ 1, 0/ 1, 1/ 1,
-1/ 0, 0/ 0, 1/ 0,
-1/-1, 0/-1, 1/-1,
-.5/ .5, .5/ .5,
-.5/-.5, .5/-.5
beginscope
tikzsetshift=(x*6.6,y*6.6),xscale=(-1)^(x+y)
pgflowlevelsynccm
foreachj in1,...,15
draw[line width=6mm,
dash pattern=on13.408ptoff13.408pt,
dash phase=j*13.408pt]
circle(3);
draw[line width=6mm,white,
dash pattern=on13.408ptoff13.408pt,
dash phase=(j+1)*13.408pt]
circle(3);
foreachi in1,...,20
tikzsetrotate=i*18+j*9
fill[yellow!80!black]
(3,0)ellipse[x radius=3mm,y radius=1.5mm];
tikzsetrotate=9
fill[blue]
(3,0)ellipse[x radius=3mm,y radius=1.5mm];
tikzsetscale=.81818
pgflowlevelsynccm
endscope
enddocument
answered yesterday
community wiki
Symbol 1
add a comment |
add a comment |
This was complicated when I did it. Now it's more large than difficult or complicated. The original illustration is from "The Illustrated Network: How TCP/IP Works in a Modern Network" by Walter Goralski.
documentclass[tikz]standalone
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackagelmodern
usepackagetikz
usetikzlibrarymatrix,shapes.symbols,fit,positioning
begindocument
defmonitor--+(6mm,0mm)--+(5mm,2mm)--+(3mm,2mm)--+(2mm,4mm)--+(5mm,4mm)--+(5mm,11mm)--+
(-5mm,11mm)--+(-5mm,4mm)--+(-2mm,4mm)--+(-3mm,2mm)--+(-5mm,2mm)--+(-6mm,0mm)--cycle
defdisplay++(3mm,5mm) --++(0,5mm)--++(-6mm,0mm)--++(0mm,-5mm)--cycle
defcasa--++(5mm,0mm)--++(0,7mm)--++(2mm,0mm)--++(-7mm,4mm)
--++(-7mm,-4mm)--++(2mm,0mm)--++(0mm,-7mm)--cycle
begintikzpicture[font=sffamily,
host/.style=draw, text width=3.5cm, fill=orange!10,font=sffamilysmall, align=left,
falshost/.style=rectangle, minimum width=2cm, minimum height=8mm,
router/.style=draw, text width=3cm, minimum height=1cm, fill=blue!20, align=center,
etiqueta/.style=font=sffamilysmall, align=center]
beginscope
matrix[ampersand replacement=&,column sep=2mm,row sep=2mm]
node[host] (bsdclient)
em0: 10.10.11.177\MAC: 00:0e:0c:3b:8f:94\(Intel_3b:8f:94)\IPv6: fe80::20e:cff:fe3b:8f94; &
node[host] (lnxserver)
eth0: 10.10.11.66\MAC: 00:db:b7:1f:fe:e6\(Intel_1f:fe:e6)\IPv6: fe80::2d0:b7ff:fe1f:fee6; &
node[host] (wincli1)
LAN2: 10.10.11.51\MAC: 00:0e:0c:3b:88:3c\(Intel_3b:88:3c)\IPv6: fe80::20e:cff:fe3b:883c; &
node[host] (winsvr1)
LAN2: 10.10.11.111\MAC: 00:0e:0c:3b:87:36\(Intel_3b:87:36)\IPv6: fe80::20e:cff:fe3b:8736;\[4mm]
node[falshost] (sbsdclient) ; &
node[falshost] (slnxserver) ; &
node[falshost] (swincli1) ; &
node[falshost] (swinsvr1) ; \
;
node[fill=gray!30, inner sep=0pt, rectangle, rounded corners=4mm,fit=(sbsdclient) (swinsvr1)] (lan1) Ethernet LAN Switch with Twisted Pair-Wiring;
node[below,anchor=north east] at (lan1.south east) textbfLAN1;
draw (bsdclient) -- (sbsdclient);
draw (lnxserver) -- (slnxserver);
draw (wincli1) -- (swincli1);
draw (winsvr1) -- (swinsvr1);
foreach a in bsdclient, lnxserver, wincli1, winsvr1
fill[gray!30] ([yshift=1mm]a.north) monitor;
fill[white] ([yshift=1mm]a.north) display;
path (a.north) ++(0mm,12mm) node[above] textbfa;
node[router,anchor=north] (CE0) [below = of lan1] CE0\textbflo0: 192.168.0.1;
draw (lan1)--(CE0);
path (CE0.east)++(2mm,0mm) node[anchor=west,align=left,font=sffamilysmall] (tCE0) fe-1/3/0: 10.10.11.1\
MAC= 00:05:85:88:cc:db\(Juniper_88:cc:db)\IPv6: fe80:205:85ff:fe88:ccdb;
node[text width=2cm,align=center] () at (bsdclient|-CE0) Los Angeles\Office;
endscope
beginscope[xshift=16cm]
matrix[ampersand replacement=&,column sep=2mm,row sep=2mm]
node[host] (bsdserver)
eth0: 10.10.12.77\MAC: 00:0e:0c:3b:87:32\(Intel_3b:87:32)\IPv6: fe80::20e:cff:fe3b:8732; &
node[host] (lnxclient)
eth0: 10.10.12.166\MAC: 00:b0:d0:45:34:64\(Dell_45:34:64)\IPv6: fe80::2b0:d0ff:fe45:3464; &
node[host] (winsvr2)
LAN2: 10.10.12.52\MAC: 00:0e:0c:3b:88:56\(Intel_3b:88:56)\IPv6: fe80::20e:cff:fe3b:8856; &
node[host] (wincli2)
LAN2: 10.10.11.222\MAC: 00:02:b3:27:fa:8c\mboxnull \IPv6: fe80::202:b3ff:fe27:fa8c;\[4mm]
node[falshost] (sbsdserver) ; &
node[falshost] (slnxclient) ; &
node[falshost] (swinsvr2) ; &
node[falshost] (swincli2) ; \
;
node[fill=gray!30, inner sep=0pt, rectangle, rounded corners=4mm,fit=(sbsdserver) (swincli2)] (lan2) Ethernet LAN Switch with Twisted Pair-Wiring;
node[below,anchor=north east] at (lan2.south east) textbfLAN2;
draw (bsdserver) -- (sbsdserver);
draw (lnxclient) -- (slnxclient);
draw (winsvr2) -- (swinsvr2);
draw (wincli2) -- (swincli2);
foreach a in bsdserver, lnxclient, winsvr2, wincli2
fill[gray!30] ([yshift=1mm]a.north) monitor;
fill[white] ([yshift=1mm]a.north) display;
path (a.north) ++(0mm,12mm) node[above] textbfa;
node[router,anchor=north] (CE6) [below = of lan2] CE6\textbflo0: 192.168.6.1;
draw (lan2)--(CE6);
path (CE6.east)++(2mm,0mm) node[anchor=west,align=left,font=sffamilysmall] (tCE6) fe-1/3/0: 10.10.12.1\
MAC= 00:05:85:8b:bc:db\(Juniper_8b:bc:db)\IPv6: fe80:205:85ff:fe8b:bcdb;
node[text width=2cm,align=center] () at (bsdserver|-CE6) New York\Office;
endscope
beginscope[shift=(8cm,-9cm)]
matrix [ampersand replacement=&,column sep=2.5cm,row sep=1.5cm]
& node[router] (P9) P9\textbflo0: 192.168.9.1; & & node[router] (P7) P7\textbflo0: 192.168.7.1; & \
node[router] (PE5) PE5\textbflo0: 192.168.5.1; & & & & node[router] (PE1) PE1\textbflo0: 192.168.1.1; \
& node[router] (P4) P4\textbflo0: 192.168.4.1; & & node[router] (P2) P2\textbflo0: 192.168.2.1; & \
;
draw (P9.east) -- (P7.west)
node[etiqueta,very near start] so-0/0/1\79.2
node[etiqueta,very near end] so-0/0/1\79.1;
draw (P9.south) -- (P4.north)
node[etiqueta,very near start,align=right,left] so-0/0/3\49.2
node[etiqueta,very near end,align=right,left] so-0/0/3\49.1;
draw (P4.east) -- (P2.west)
node[etiqueta,very near start] so-0/0/1\24.2
node[etiqueta,very near end] so-0/0/1\24.1;
draw (P7.south) -- (P2.north)
node[etiqueta,very near start,align=left,right] so-0/0/3\27.2
node[etiqueta,very near end,align=left,right] so-0/0/3\27.1;
draw (P9.south east) -- (P2.north west)
node[etiqueta,very near start,sloped] so-0/0/2\29.2
node[etiqueta,very near end,sloped] so-0/0/2\29.1;
draw (P4.north east) -- (P7.south west)
node[etiqueta,very near start,sloped] so-0/0/0\47.1
node[etiqueta,very near end,sloped] so-0/0/0\47.2;
draw (PE5.east) -- (P9.west)
node[etiqueta,near start,sloped] so-0/0/0\59.1
node[etiqueta,near end,sloped] so-0/0/0\59.2;
draw (PE5.east) -- (P4.west)
node[etiqueta,near start,sloped] so-0/0/2\45.2
node[etiqueta,near end,sloped] so-0/0/2\45.1;
draw (P7.east) -- (PE1.west)
node[etiqueta,near start,sloped] so-0/0/2\17.2
node[etiqueta,near end,sloped] so-0/0/2\17.1;
draw (P2.east) -- (PE1.west)
node[etiqueta,near start,sloped] so-0/0/0\12.2
node[etiqueta,near end,sloped] so-0/0/0\12.1;
draw[dashed,very thick,gray] (PE5.north) -- (CE0.south)
node[etiqueta,pos=.15,sloped,black] ge-0/0/3\50.1
node[etiqueta,pos=.85,sloped,black] (ge502) ge-0/0/3\50.2;
draw[dashed,very thick,gray] (CE6.south) -- (PE1.north)
node[etiqueta,pos=.15,sloped,black] (ge162) ge-0/0/3\16.2
node[etiqueta,pos=.85,sloped,black] ge-0/0/3\16.1;
endscope
fill[green!50] (bsdclient|-P9) casa;
node[xshift=1cm,align=center,anchor=south west] at (bsdclient|-P9) textbfWireless\textbfin home;
draw[dotted] (bsdclient|-P9) -- (PE5.north) node[above,sloped,pos=0.5] DSL Link;
draw[dashed] (bsdclient.west|-ge502.west)--(winsvr1.east|-ge502.west);
draw[dashed] (bsdserver.west|-ge162.east)--(wincli2.east|-ge162.east);
node[cloud,draw,aspect=2,cloud puffs=15,text width=3cm, align=center,anchor=north,fill=violet!20] (internet) at (PE1|-P2.south) textbfGlobal Public\textbfInternet;
draw (P4) |- ([yshift=-3mm]internet) node [pos=0.6,above] AS 65459;
draw (P2) |- ([yshift=3mm]internet) node [pos=0.7,above] AS 65127;
node[text width=5cm, align=left, font=sffamilysmall,anchor=south west] at (bsdclient.west|-internet.south) Solid rules = SONET/SDH\Dashed rules = Gigabit Ethernet\emphNote:All links use 10.0.x.y\addressing. Only the last\two octets are shown.;
endtikzpicture
enddocument
Some other Tikz figures are already here:
Karnaugh Maps
Soccer/Football teams
1
I would like to bring to your notice that the above url "Soccer/Football teams" points to a post containing Karnaugh maps.
– GermanShepherd
2 days ago
@GermanShepherd Corrected! Thank you for pointing it.
– Ignasi
yesterday
add a comment |
This was complicated when I did it. Now it's more large than difficult or complicated. The original illustration is from "The Illustrated Network: How TCP/IP Works in a Modern Network" by Walter Goralski.
documentclass[tikz]standalone
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackagelmodern
usepackagetikz
usetikzlibrarymatrix,shapes.symbols,fit,positioning
begindocument
defmonitor--+(6mm,0mm)--+(5mm,2mm)--+(3mm,2mm)--+(2mm,4mm)--+(5mm,4mm)--+(5mm,11mm)--+
(-5mm,11mm)--+(-5mm,4mm)--+(-2mm,4mm)--+(-3mm,2mm)--+(-5mm,2mm)--+(-6mm,0mm)--cycle
defdisplay++(3mm,5mm) --++(0,5mm)--++(-6mm,0mm)--++(0mm,-5mm)--cycle
defcasa--++(5mm,0mm)--++(0,7mm)--++(2mm,0mm)--++(-7mm,4mm)
--++(-7mm,-4mm)--++(2mm,0mm)--++(0mm,-7mm)--cycle
begintikzpicture[font=sffamily,
host/.style=draw, text width=3.5cm, fill=orange!10,font=sffamilysmall, align=left,
falshost/.style=rectangle, minimum width=2cm, minimum height=8mm,
router/.style=draw, text width=3cm, minimum height=1cm, fill=blue!20, align=center,
etiqueta/.style=font=sffamilysmall, align=center]
beginscope
matrix[ampersand replacement=&,column sep=2mm,row sep=2mm]
node[host] (bsdclient)
em0: 10.10.11.177\MAC: 00:0e:0c:3b:8f:94\(Intel_3b:8f:94)\IPv6: fe80::20e:cff:fe3b:8f94; &
node[host] (lnxserver)
eth0: 10.10.11.66\MAC: 00:db:b7:1f:fe:e6\(Intel_1f:fe:e6)\IPv6: fe80::2d0:b7ff:fe1f:fee6; &
node[host] (wincli1)
LAN2: 10.10.11.51\MAC: 00:0e:0c:3b:88:3c\(Intel_3b:88:3c)\IPv6: fe80::20e:cff:fe3b:883c; &
node[host] (winsvr1)
LAN2: 10.10.11.111\MAC: 00:0e:0c:3b:87:36\(Intel_3b:87:36)\IPv6: fe80::20e:cff:fe3b:8736;\[4mm]
node[falshost] (sbsdclient) ; &
node[falshost] (slnxserver) ; &
node[falshost] (swincli1) ; &
node[falshost] (swinsvr1) ; \
;
node[fill=gray!30, inner sep=0pt, rectangle, rounded corners=4mm,fit=(sbsdclient) (swinsvr1)] (lan1) Ethernet LAN Switch with Twisted Pair-Wiring;
node[below,anchor=north east] at (lan1.south east) textbfLAN1;
draw (bsdclient) -- (sbsdclient);
draw (lnxserver) -- (slnxserver);
draw (wincli1) -- (swincli1);
draw (winsvr1) -- (swinsvr1);
foreach a in bsdclient, lnxserver, wincli1, winsvr1
fill[gray!30] ([yshift=1mm]a.north) monitor;
fill[white] ([yshift=1mm]a.north) display;
path (a.north) ++(0mm,12mm) node[above] textbfa;
node[router,anchor=north] (CE0) [below = of lan1] CE0\textbflo0: 192.168.0.1;
draw (lan1)--(CE0);
path (CE0.east)++(2mm,0mm) node[anchor=west,align=left,font=sffamilysmall] (tCE0) fe-1/3/0: 10.10.11.1\
MAC= 00:05:85:88:cc:db\(Juniper_88:cc:db)\IPv6: fe80:205:85ff:fe88:ccdb;
node[text width=2cm,align=center] () at (bsdclient|-CE0) Los Angeles\Office;
endscope
beginscope[xshift=16cm]
matrix[ampersand replacement=&,column sep=2mm,row sep=2mm]
node[host] (bsdserver)
eth0: 10.10.12.77\MAC: 00:0e:0c:3b:87:32\(Intel_3b:87:32)\IPv6: fe80::20e:cff:fe3b:8732; &
node[host] (lnxclient)
eth0: 10.10.12.166\MAC: 00:b0:d0:45:34:64\(Dell_45:34:64)\IPv6: fe80::2b0:d0ff:fe45:3464; &
node[host] (winsvr2)
LAN2: 10.10.12.52\MAC: 00:0e:0c:3b:88:56\(Intel_3b:88:56)\IPv6: fe80::20e:cff:fe3b:8856; &
node[host] (wincli2)
LAN2: 10.10.11.222\MAC: 00:02:b3:27:fa:8c\mboxnull \IPv6: fe80::202:b3ff:fe27:fa8c;\[4mm]
node[falshost] (sbsdserver) ; &
node[falshost] (slnxclient) ; &
node[falshost] (swinsvr2) ; &
node[falshost] (swincli2) ; \
;
node[fill=gray!30, inner sep=0pt, rectangle, rounded corners=4mm,fit=(sbsdserver) (swincli2)] (lan2) Ethernet LAN Switch with Twisted Pair-Wiring;
node[below,anchor=north east] at (lan2.south east) textbfLAN2;
draw (bsdserver) -- (sbsdserver);
draw (lnxclient) -- (slnxclient);
draw (winsvr2) -- (swinsvr2);
draw (wincli2) -- (swincli2);
foreach a in bsdserver, lnxclient, winsvr2, wincli2
fill[gray!30] ([yshift=1mm]a.north) monitor;
fill[white] ([yshift=1mm]a.north) display;
path (a.north) ++(0mm,12mm) node[above] textbfa;
node[router,anchor=north] (CE6) [below = of lan2] CE6\textbflo0: 192.168.6.1;
draw (lan2)--(CE6);
path (CE6.east)++(2mm,0mm) node[anchor=west,align=left,font=sffamilysmall] (tCE6) fe-1/3/0: 10.10.12.1\
MAC= 00:05:85:8b:bc:db\(Juniper_8b:bc:db)\IPv6: fe80:205:85ff:fe8b:bcdb;
node[text width=2cm,align=center] () at (bsdserver|-CE6) New York\Office;
endscope
beginscope[shift=(8cm,-9cm)]
matrix [ampersand replacement=&,column sep=2.5cm,row sep=1.5cm]
& node[router] (P9) P9\textbflo0: 192.168.9.1; & & node[router] (P7) P7\textbflo0: 192.168.7.1; & \
node[router] (PE5) PE5\textbflo0: 192.168.5.1; & & & & node[router] (PE1) PE1\textbflo0: 192.168.1.1; \
& node[router] (P4) P4\textbflo0: 192.168.4.1; & & node[router] (P2) P2\textbflo0: 192.168.2.1; & \
;
draw (P9.east) -- (P7.west)
node[etiqueta,very near start] so-0/0/1\79.2
node[etiqueta,very near end] so-0/0/1\79.1;
draw (P9.south) -- (P4.north)
node[etiqueta,very near start,align=right,left] so-0/0/3\49.2
node[etiqueta,very near end,align=right,left] so-0/0/3\49.1;
draw (P4.east) -- (P2.west)
node[etiqueta,very near start] so-0/0/1\24.2
node[etiqueta,very near end] so-0/0/1\24.1;
draw (P7.south) -- (P2.north)
node[etiqueta,very near start,align=left,right] so-0/0/3\27.2
node[etiqueta,very near end,align=left,right] so-0/0/3\27.1;
draw (P9.south east) -- (P2.north west)
node[etiqueta,very near start,sloped] so-0/0/2\29.2
node[etiqueta,very near end,sloped] so-0/0/2\29.1;
draw (P4.north east) -- (P7.south west)
node[etiqueta,very near start,sloped] so-0/0/0\47.1
node[etiqueta,very near end,sloped] so-0/0/0\47.2;
draw (PE5.east) -- (P9.west)
node[etiqueta,near start,sloped] so-0/0/0\59.1
node[etiqueta,near end,sloped] so-0/0/0\59.2;
draw (PE5.east) -- (P4.west)
node[etiqueta,near start,sloped] so-0/0/2\45.2
node[etiqueta,near end,sloped] so-0/0/2\45.1;
draw (P7.east) -- (PE1.west)
node[etiqueta,near start,sloped] so-0/0/2\17.2
node[etiqueta,near end,sloped] so-0/0/2\17.1;
draw (P2.east) -- (PE1.west)
node[etiqueta,near start,sloped] so-0/0/0\12.2
node[etiqueta,near end,sloped] so-0/0/0\12.1;
draw[dashed,very thick,gray] (PE5.north) -- (CE0.south)
node[etiqueta,pos=.15,sloped,black] ge-0/0/3\50.1
node[etiqueta,pos=.85,sloped,black] (ge502) ge-0/0/3\50.2;
draw[dashed,very thick,gray] (CE6.south) -- (PE1.north)
node[etiqueta,pos=.15,sloped,black] (ge162) ge-0/0/3\16.2
node[etiqueta,pos=.85,sloped,black] ge-0/0/3\16.1;
endscope
fill[green!50] (bsdclient|-P9) casa;
node[xshift=1cm,align=center,anchor=south west] at (bsdclient|-P9) textbfWireless\textbfin home;
draw[dotted] (bsdclient|-P9) -- (PE5.north) node[above,sloped,pos=0.5] DSL Link;
draw[dashed] (bsdclient.west|-ge502.west)--(winsvr1.east|-ge502.west);
draw[dashed] (bsdserver.west|-ge162.east)--(wincli2.east|-ge162.east);
node[cloud,draw,aspect=2,cloud puffs=15,text width=3cm, align=center,anchor=north,fill=violet!20] (internet) at (PE1|-P2.south) textbfGlobal Public\textbfInternet;
draw (P4) |- ([yshift=-3mm]internet) node [pos=0.6,above] AS 65459;
draw (P2) |- ([yshift=3mm]internet) node [pos=0.7,above] AS 65127;
node[text width=5cm, align=left, font=sffamilysmall,anchor=south west] at (bsdclient.west|-internet.south) Solid rules = SONET/SDH\Dashed rules = Gigabit Ethernet\emphNote:All links use 10.0.x.y\addressing. Only the last\two octets are shown.;
endtikzpicture
enddocument
Some other Tikz figures are already here:
Karnaugh Maps
Soccer/Football teams
1
I would like to bring to your notice that the above url "Soccer/Football teams" points to a post containing Karnaugh maps.
– GermanShepherd
2 days ago
@GermanShepherd Corrected! Thank you for pointing it.
– Ignasi
yesterday
add a comment |
This was complicated when I did it. Now it's more large than difficult or complicated. The original illustration is from "The Illustrated Network: How TCP/IP Works in a Modern Network" by Walter Goralski.
documentclass[tikz]standalone
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackagelmodern
usepackagetikz
usetikzlibrarymatrix,shapes.symbols,fit,positioning
begindocument
defmonitor--+(6mm,0mm)--+(5mm,2mm)--+(3mm,2mm)--+(2mm,4mm)--+(5mm,4mm)--+(5mm,11mm)--+
(-5mm,11mm)--+(-5mm,4mm)--+(-2mm,4mm)--+(-3mm,2mm)--+(-5mm,2mm)--+(-6mm,0mm)--cycle
defdisplay++(3mm,5mm) --++(0,5mm)--++(-6mm,0mm)--++(0mm,-5mm)--cycle
defcasa--++(5mm,0mm)--++(0,7mm)--++(2mm,0mm)--++(-7mm,4mm)
--++(-7mm,-4mm)--++(2mm,0mm)--++(0mm,-7mm)--cycle
begintikzpicture[font=sffamily,
host/.style=draw, text width=3.5cm, fill=orange!10,font=sffamilysmall, align=left,
falshost/.style=rectangle, minimum width=2cm, minimum height=8mm,
router/.style=draw, text width=3cm, minimum height=1cm, fill=blue!20, align=center,
etiqueta/.style=font=sffamilysmall, align=center]
beginscope
matrix[ampersand replacement=&,column sep=2mm,row sep=2mm]
node[host] (bsdclient)
em0: 10.10.11.177\MAC: 00:0e:0c:3b:8f:94\(Intel_3b:8f:94)\IPv6: fe80::20e:cff:fe3b:8f94; &
node[host] (lnxserver)
eth0: 10.10.11.66\MAC: 00:db:b7:1f:fe:e6\(Intel_1f:fe:e6)\IPv6: fe80::2d0:b7ff:fe1f:fee6; &
node[host] (wincli1)
LAN2: 10.10.11.51\MAC: 00:0e:0c:3b:88:3c\(Intel_3b:88:3c)\IPv6: fe80::20e:cff:fe3b:883c; &
node[host] (winsvr1)
LAN2: 10.10.11.111\MAC: 00:0e:0c:3b:87:36\(Intel_3b:87:36)\IPv6: fe80::20e:cff:fe3b:8736;\[4mm]
node[falshost] (sbsdclient) ; &
node[falshost] (slnxserver) ; &
node[falshost] (swincli1) ; &
node[falshost] (swinsvr1) ; \
;
node[fill=gray!30, inner sep=0pt, rectangle, rounded corners=4mm,fit=(sbsdclient) (swinsvr1)] (lan1) Ethernet LAN Switch with Twisted Pair-Wiring;
node[below,anchor=north east] at (lan1.south east) textbfLAN1;
draw (bsdclient) -- (sbsdclient);
draw (lnxserver) -- (slnxserver);
draw (wincli1) -- (swincli1);
draw (winsvr1) -- (swinsvr1);
foreach a in bsdclient, lnxserver, wincli1, winsvr1
fill[gray!30] ([yshift=1mm]a.north) monitor;
fill[white] ([yshift=1mm]a.north) display;
path (a.north) ++(0mm,12mm) node[above] textbfa;
node[router,anchor=north] (CE0) [below = of lan1] CE0\textbflo0: 192.168.0.1;
draw (lan1)--(CE0);
path (CE0.east)++(2mm,0mm) node[anchor=west,align=left,font=sffamilysmall] (tCE0) fe-1/3/0: 10.10.11.1\
MAC= 00:05:85:88:cc:db\(Juniper_88:cc:db)\IPv6: fe80:205:85ff:fe88:ccdb;
node[text width=2cm,align=center] () at (bsdclient|-CE0) Los Angeles\Office;
endscope
beginscope[xshift=16cm]
matrix[ampersand replacement=&,column sep=2mm,row sep=2mm]
node[host] (bsdserver)
eth0: 10.10.12.77\MAC: 00:0e:0c:3b:87:32\(Intel_3b:87:32)\IPv6: fe80::20e:cff:fe3b:8732; &
node[host] (lnxclient)
eth0: 10.10.12.166\MAC: 00:b0:d0:45:34:64\(Dell_45:34:64)\IPv6: fe80::2b0:d0ff:fe45:3464; &
node[host] (winsvr2)
LAN2: 10.10.12.52\MAC: 00:0e:0c:3b:88:56\(Intel_3b:88:56)\IPv6: fe80::20e:cff:fe3b:8856; &
node[host] (wincli2)
LAN2: 10.10.11.222\MAC: 00:02:b3:27:fa:8c\mboxnull \IPv6: fe80::202:b3ff:fe27:fa8c;\[4mm]
node[falshost] (sbsdserver) ; &
node[falshost] (slnxclient) ; &
node[falshost] (swinsvr2) ; &
node[falshost] (swincli2) ; \
;
node[fill=gray!30, inner sep=0pt, rectangle, rounded corners=4mm,fit=(sbsdserver) (swincli2)] (lan2) Ethernet LAN Switch with Twisted Pair-Wiring;
node[below,anchor=north east] at (lan2.south east) textbfLAN2;
draw (bsdserver) -- (sbsdserver);
draw (lnxclient) -- (slnxclient);
draw (winsvr2) -- (swinsvr2);
draw (wincli2) -- (swincli2);
foreach a in bsdserver, lnxclient, winsvr2, wincli2
fill[gray!30] ([yshift=1mm]a.north) monitor;
fill[white] ([yshift=1mm]a.north) display;
path (a.north) ++(0mm,12mm) node[above] textbfa;
node[router,anchor=north] (CE6) [below = of lan2] CE6\textbflo0: 192.168.6.1;
draw (lan2)--(CE6);
path (CE6.east)++(2mm,0mm) node[anchor=west,align=left,font=sffamilysmall] (tCE6) fe-1/3/0: 10.10.12.1\
MAC= 00:05:85:8b:bc:db\(Juniper_8b:bc:db)\IPv6: fe80:205:85ff:fe8b:bcdb;
node[text width=2cm,align=center] () at (bsdserver|-CE6) New York\Office;
endscope
beginscope[shift=(8cm,-9cm)]
matrix [ampersand replacement=&,column sep=2.5cm,row sep=1.5cm]
& node[router] (P9) P9\textbflo0: 192.168.9.1; & & node[router] (P7) P7\textbflo0: 192.168.7.1; & \
node[router] (PE5) PE5\textbflo0: 192.168.5.1; & & & & node[router] (PE1) PE1\textbflo0: 192.168.1.1; \
& node[router] (P4) P4\textbflo0: 192.168.4.1; & & node[router] (P2) P2\textbflo0: 192.168.2.1; & \
;
draw (P9.east) -- (P7.west)
node[etiqueta,very near start] so-0/0/1\79.2
node[etiqueta,very near end] so-0/0/1\79.1;
draw (P9.south) -- (P4.north)
node[etiqueta,very near start,align=right,left] so-0/0/3\49.2
node[etiqueta,very near end,align=right,left] so-0/0/3\49.1;
draw (P4.east) -- (P2.west)
node[etiqueta,very near start] so-0/0/1\24.2
node[etiqueta,very near end] so-0/0/1\24.1;
draw (P7.south) -- (P2.north)
node[etiqueta,very near start,align=left,right] so-0/0/3\27.2
node[etiqueta,very near end,align=left,right] so-0/0/3\27.1;
draw (P9.south east) -- (P2.north west)
node[etiqueta,very near start,sloped] so-0/0/2\29.2
node[etiqueta,very near end,sloped] so-0/0/2\29.1;
draw (P4.north east) -- (P7.south west)
node[etiqueta,very near start,sloped] so-0/0/0\47.1
node[etiqueta,very near end,sloped] so-0/0/0\47.2;
draw (PE5.east) -- (P9.west)
node[etiqueta,near start,sloped] so-0/0/0\59.1
node[etiqueta,near end,sloped] so-0/0/0\59.2;
draw (PE5.east) -- (P4.west)
node[etiqueta,near start,sloped] so-0/0/2\45.2
node[etiqueta,near end,sloped] so-0/0/2\45.1;
draw (P7.east) -- (PE1.west)
node[etiqueta,near start,sloped] so-0/0/2\17.2
node[etiqueta,near end,sloped] so-0/0/2\17.1;
draw (P2.east) -- (PE1.west)
node[etiqueta,near start,sloped] so-0/0/0\12.2
node[etiqueta,near end,sloped] so-0/0/0\12.1;
draw[dashed,very thick,gray] (PE5.north) -- (CE0.south)
node[etiqueta,pos=.15,sloped,black] ge-0/0/3\50.1
node[etiqueta,pos=.85,sloped,black] (ge502) ge-0/0/3\50.2;
draw[dashed,very thick,gray] (CE6.south) -- (PE1.north)
node[etiqueta,pos=.15,sloped,black] (ge162) ge-0/0/3\16.2
node[etiqueta,pos=.85,sloped,black] ge-0/0/3\16.1;
endscope
fill[green!50] (bsdclient|-P9) casa;
node[xshift=1cm,align=center,anchor=south west] at (bsdclient|-P9) textbfWireless\textbfin home;
draw[dotted] (bsdclient|-P9) -- (PE5.north) node[above,sloped,pos=0.5] DSL Link;
draw[dashed] (bsdclient.west|-ge502.west)--(winsvr1.east|-ge502.west);
draw[dashed] (bsdserver.west|-ge162.east)--(wincli2.east|-ge162.east);
node[cloud,draw,aspect=2,cloud puffs=15,text width=3cm, align=center,anchor=north,fill=violet!20] (internet) at (PE1|-P2.south) textbfGlobal Public\textbfInternet;
draw (P4) |- ([yshift=-3mm]internet) node [pos=0.6,above] AS 65459;
draw (P2) |- ([yshift=3mm]internet) node [pos=0.7,above] AS 65127;
node[text width=5cm, align=left, font=sffamilysmall,anchor=south west] at (bsdclient.west|-internet.south) Solid rules = SONET/SDH\Dashed rules = Gigabit Ethernet\emphNote:All links use 10.0.x.y\addressing. Only the last\two octets are shown.;
endtikzpicture
enddocument
Some other Tikz figures are already here:
Karnaugh Maps
Soccer/Football teams
This was complicated when I did it. Now it's more large than difficult or complicated. The original illustration is from "The Illustrated Network: How TCP/IP Works in a Modern Network" by Walter Goralski.
documentclass[tikz]standalone
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackagelmodern
usepackagetikz
usetikzlibrarymatrix,shapes.symbols,fit,positioning
begindocument
defmonitor--+(6mm,0mm)--+(5mm,2mm)--+(3mm,2mm)--+(2mm,4mm)--+(5mm,4mm)--+(5mm,11mm)--+
(-5mm,11mm)--+(-5mm,4mm)--+(-2mm,4mm)--+(-3mm,2mm)--+(-5mm,2mm)--+(-6mm,0mm)--cycle
defdisplay++(3mm,5mm) --++(0,5mm)--++(-6mm,0mm)--++(0mm,-5mm)--cycle
defcasa--++(5mm,0mm)--++(0,7mm)--++(2mm,0mm)--++(-7mm,4mm)
--++(-7mm,-4mm)--++(2mm,0mm)--++(0mm,-7mm)--cycle
begintikzpicture[font=sffamily,
host/.style=draw, text width=3.5cm, fill=orange!10,font=sffamilysmall, align=left,
falshost/.style=rectangle, minimum width=2cm, minimum height=8mm,
router/.style=draw, text width=3cm, minimum height=1cm, fill=blue!20, align=center,
etiqueta/.style=font=sffamilysmall, align=center]
beginscope
matrix[ampersand replacement=&,column sep=2mm,row sep=2mm]
node[host] (bsdclient)
em0: 10.10.11.177\MAC: 00:0e:0c:3b:8f:94\(Intel_3b:8f:94)\IPv6: fe80::20e:cff:fe3b:8f94; &
node[host] (lnxserver)
eth0: 10.10.11.66\MAC: 00:db:b7:1f:fe:e6\(Intel_1f:fe:e6)\IPv6: fe80::2d0:b7ff:fe1f:fee6; &
node[host] (wincli1)
LAN2: 10.10.11.51\MAC: 00:0e:0c:3b:88:3c\(Intel_3b:88:3c)\IPv6: fe80::20e:cff:fe3b:883c; &
node[host] (winsvr1)
LAN2: 10.10.11.111\MAC: 00:0e:0c:3b:87:36\(Intel_3b:87:36)\IPv6: fe80::20e:cff:fe3b:8736;\[4mm]
node[falshost] (sbsdclient) ; &
node[falshost] (slnxserver) ; &
node[falshost] (swincli1) ; &
node[falshost] (swinsvr1) ; \
;
node[fill=gray!30, inner sep=0pt, rectangle, rounded corners=4mm,fit=(sbsdclient) (swinsvr1)] (lan1) Ethernet LAN Switch with Twisted Pair-Wiring;
node[below,anchor=north east] at (lan1.south east) textbfLAN1;
draw (bsdclient) -- (sbsdclient);
draw (lnxserver) -- (slnxserver);
draw (wincli1) -- (swincli1);
draw (winsvr1) -- (swinsvr1);
foreach a in bsdclient, lnxserver, wincli1, winsvr1
fill[gray!30] ([yshift=1mm]a.north) monitor;
fill[white] ([yshift=1mm]a.north) display;
path (a.north) ++(0mm,12mm) node[above] textbfa;
node[router,anchor=north] (CE0) [below = of lan1] CE0\textbflo0: 192.168.0.1;
draw (lan1)--(CE0);
path (CE0.east)++(2mm,0mm) node[anchor=west,align=left,font=sffamilysmall] (tCE0) fe-1/3/0: 10.10.11.1\
MAC= 00:05:85:88:cc:db\(Juniper_88:cc:db)\IPv6: fe80:205:85ff:fe88:ccdb;
node[text width=2cm,align=center] () at (bsdclient|-CE0) Los Angeles\Office;
endscope
beginscope[xshift=16cm]
matrix[ampersand replacement=&,column sep=2mm,row sep=2mm]
node[host] (bsdserver)
eth0: 10.10.12.77\MAC: 00:0e:0c:3b:87:32\(Intel_3b:87:32)\IPv6: fe80::20e:cff:fe3b:8732; &
node[host] (lnxclient)
eth0: 10.10.12.166\MAC: 00:b0:d0:45:34:64\(Dell_45:34:64)\IPv6: fe80::2b0:d0ff:fe45:3464; &
node[host] (winsvr2)
LAN2: 10.10.12.52\MAC: 00:0e:0c:3b:88:56\(Intel_3b:88:56)\IPv6: fe80::20e:cff:fe3b:8856; &
node[host] (wincli2)
LAN2: 10.10.11.222\MAC: 00:02:b3:27:fa:8c\mboxnull \IPv6: fe80::202:b3ff:fe27:fa8c;\[4mm]
node[falshost] (sbsdserver) ; &
node[falshost] (slnxclient) ; &
node[falshost] (swinsvr2) ; &
node[falshost] (swincli2) ; \
;
node[fill=gray!30, inner sep=0pt, rectangle, rounded corners=4mm,fit=(sbsdserver) (swincli2)] (lan2) Ethernet LAN Switch with Twisted Pair-Wiring;
node[below,anchor=north east] at (lan2.south east) textbfLAN2;
draw (bsdserver) -- (sbsdserver);
draw (lnxclient) -- (slnxclient);
draw (winsvr2) -- (swinsvr2);
draw (wincli2) -- (swincli2);
foreach a in bsdserver, lnxclient, winsvr2, wincli2
fill[gray!30] ([yshift=1mm]a.north) monitor;
fill[white] ([yshift=1mm]a.north) display;
path (a.north) ++(0mm,12mm) node[above] textbfa;
node[router,anchor=north] (CE6) [below = of lan2] CE6\textbflo0: 192.168.6.1;
draw (lan2)--(CE6);
path (CE6.east)++(2mm,0mm) node[anchor=west,align=left,font=sffamilysmall] (tCE6) fe-1/3/0: 10.10.12.1\
MAC= 00:05:85:8b:bc:db\(Juniper_8b:bc:db)\IPv6: fe80:205:85ff:fe8b:bcdb;
node[text width=2cm,align=center] () at (bsdserver|-CE6) New York\Office;
endscope
beginscope[shift=(8cm,-9cm)]
matrix [ampersand replacement=&,column sep=2.5cm,row sep=1.5cm]
& node[router] (P9) P9\textbflo0: 192.168.9.1; & & node[router] (P7) P7\textbflo0: 192.168.7.1; & \
node[router] (PE5) PE5\textbflo0: 192.168.5.1; & & & & node[router] (PE1) PE1\textbflo0: 192.168.1.1; \
& node[router] (P4) P4\textbflo0: 192.168.4.1; & & node[router] (P2) P2\textbflo0: 192.168.2.1; & \
;
draw (P9.east) -- (P7.west)
node[etiqueta,very near start] so-0/0/1\79.2
node[etiqueta,very near end] so-0/0/1\79.1;
draw (P9.south) -- (P4.north)
node[etiqueta,very near start,align=right,left] so-0/0/3\49.2
node[etiqueta,very near end,align=right,left] so-0/0/3\49.1;
draw (P4.east) -- (P2.west)
node[etiqueta,very near start] so-0/0/1\24.2
node[etiqueta,very near end] so-0/0/1\24.1;
draw (P7.south) -- (P2.north)
node[etiqueta,very near start,align=left,right] so-0/0/3\27.2
node[etiqueta,very near end,align=left,right] so-0/0/3\27.1;
draw (P9.south east) -- (P2.north west)
node[etiqueta,very near start,sloped] so-0/0/2\29.2
node[etiqueta,very near end,sloped] so-0/0/2\29.1;
draw (P4.north east) -- (P7.south west)
node[etiqueta,very near start,sloped] so-0/0/0\47.1
node[etiqueta,very near end,sloped] so-0/0/0\47.2;
draw (PE5.east) -- (P9.west)
node[etiqueta,near start,sloped] so-0/0/0\59.1
node[etiqueta,near end,sloped] so-0/0/0\59.2;
draw (PE5.east) -- (P4.west)
node[etiqueta,near start,sloped] so-0/0/2\45.2
node[etiqueta,near end,sloped] so-0/0/2\45.1;
draw (P7.east) -- (PE1.west)
node[etiqueta,near start,sloped] so-0/0/2\17.2
node[etiqueta,near end,sloped] so-0/0/2\17.1;
draw (P2.east) -- (PE1.west)
node[etiqueta,near start,sloped] so-0/0/0\12.2
node[etiqueta,near end,sloped] so-0/0/0\12.1;
draw[dashed,very thick,gray] (PE5.north) -- (CE0.south)
node[etiqueta,pos=.15,sloped,black] ge-0/0/3\50.1
node[etiqueta,pos=.85,sloped,black] (ge502) ge-0/0/3\50.2;
draw[dashed,very thick,gray] (CE6.south) -- (PE1.north)
node[etiqueta,pos=.15,sloped,black] (ge162) ge-0/0/3\16.2
node[etiqueta,pos=.85,sloped,black] ge-0/0/3\16.1;
endscope
fill[green!50] (bsdclient|-P9) casa;
node[xshift=1cm,align=center,anchor=south west] at (bsdclient|-P9) textbfWireless\textbfin home;
draw[dotted] (bsdclient|-P9) -- (PE5.north) node[above,sloped,pos=0.5] DSL Link;
draw[dashed] (bsdclient.west|-ge502.west)--(winsvr1.east|-ge502.west);
draw[dashed] (bsdserver.west|-ge162.east)--(wincli2.east|-ge162.east);
node[cloud,draw,aspect=2,cloud puffs=15,text width=3cm, align=center,anchor=north,fill=violet!20] (internet) at (PE1|-P2.south) textbfGlobal Public\textbfInternet;
draw (P4) |- ([yshift=-3mm]internet) node [pos=0.6,above] AS 65459;
draw (P2) |- ([yshift=3mm]internet) node [pos=0.7,above] AS 65127;
node[text width=5cm, align=left, font=sffamilysmall,anchor=south west] at (bsdclient.west|-internet.south) Solid rules = SONET/SDH\Dashed rules = Gigabit Ethernet\emphNote:All links use 10.0.x.y\addressing. Only the last\two octets are shown.;
endtikzpicture
enddocument
Some other Tikz figures are already here:
Karnaugh Maps
Soccer/Football teams
edited yesterday
community wiki
Ignasi
1
I would like to bring to your notice that the above url "Soccer/Football teams" points to a post containing Karnaugh maps.
– GermanShepherd
2 days ago
@GermanShepherd Corrected! Thank you for pointing it.
– Ignasi
yesterday
add a comment |
1
I would like to bring to your notice that the above url "Soccer/Football teams" points to a post containing Karnaugh maps.
– GermanShepherd
2 days ago
@GermanShepherd Corrected! Thank you for pointing it.
– Ignasi
yesterday
1
1
I would like to bring to your notice that the above url "Soccer/Football teams" points to a post containing Karnaugh maps.
– GermanShepherd
2 days ago
I would like to bring to your notice that the above url "Soccer/Football teams" points to a post containing Karnaugh maps.
– GermanShepherd
2 days ago
@GermanShepherd Corrected! Thank you for pointing it.
– Ignasi
yesterday
@GermanShepherd Corrected! Thank you for pointing it.
– Ignasi
yesterday
add a comment |
This is not the most complicated drawing I have ever coded1 but certainly the proudest picture I have ever had. That is the TikZified2 version of the most well-known picture ever – the Mona Lisa!
The code (2.43 MB) is too long to be pasted here. You can see it here.
1 | In fact, you can see well that this picture is not made by me. It is generated via Inkscape. However, this is certainly the most complicated picture ever compiled in my computer and not made by anyone else (i.e. I got it without any human help).
2 | I stole this word from @marmot. I hope he will give me the permission to use the word once he reads my answer.
How long did you took to achieve this? Very nice (+1).
– Raaja
yesterday
@Raaja Well, it was made with Inkscape, so it is not so difficult. (If I drew the picture manually it would take centuries :D). But it takes a while to vectorize the original image, convert it to TikZ and then compile the code. My editor became not responding for a couple of minutes :))
– JouleV
yesterday
Huhh like that;)
. I assumed you created this by mixing colors yourself:D
. But still quite an amount of work though.
– Raaja
yesterday
@Raaja I mentioned about it in footnote 1. Let's imagine if someone drew this manually: finding the coordinates of the control points takes about half of a century, some other decades for coding and debugging. Only a lifetime is taken for this work :DD
– JouleV
yesterday
very nice work :)
– Raaja
yesterday
|
show 1 more comment
This is not the most complicated drawing I have ever coded1 but certainly the proudest picture I have ever had. That is the TikZified2 version of the most well-known picture ever – the Mona Lisa!
The code (2.43 MB) is too long to be pasted here. You can see it here.
1 | In fact, you can see well that this picture is not made by me. It is generated via Inkscape. However, this is certainly the most complicated picture ever compiled in my computer and not made by anyone else (i.e. I got it without any human help).
2 | I stole this word from @marmot. I hope he will give me the permission to use the word once he reads my answer.
How long did you took to achieve this? Very nice (+1).
– Raaja
yesterday
@Raaja Well, it was made with Inkscape, so it is not so difficult. (If I drew the picture manually it would take centuries :D). But it takes a while to vectorize the original image, convert it to TikZ and then compile the code. My editor became not responding for a couple of minutes :))
– JouleV
yesterday
Huhh like that;)
. I assumed you created this by mixing colors yourself:D
. But still quite an amount of work though.
– Raaja
yesterday
@Raaja I mentioned about it in footnote 1. Let's imagine if someone drew this manually: finding the coordinates of the control points takes about half of a century, some other decades for coding and debugging. Only a lifetime is taken for this work :DD
– JouleV
yesterday
very nice work :)
– Raaja
yesterday
|
show 1 more comment
This is not the most complicated drawing I have ever coded1 but certainly the proudest picture I have ever had. That is the TikZified2 version of the most well-known picture ever – the Mona Lisa!
The code (2.43 MB) is too long to be pasted here. You can see it here.
1 | In fact, you can see well that this picture is not made by me. It is generated via Inkscape. However, this is certainly the most complicated picture ever compiled in my computer and not made by anyone else (i.e. I got it without any human help).
2 | I stole this word from @marmot. I hope he will give me the permission to use the word once he reads my answer.
This is not the most complicated drawing I have ever coded1 but certainly the proudest picture I have ever had. That is the TikZified2 version of the most well-known picture ever – the Mona Lisa!
The code (2.43 MB) is too long to be pasted here. You can see it here.
1 | In fact, you can see well that this picture is not made by me. It is generated via Inkscape. However, this is certainly the most complicated picture ever compiled in my computer and not made by anyone else (i.e. I got it without any human help).
2 | I stole this word from @marmot. I hope he will give me the permission to use the word once he reads my answer.
answered yesterday
community wiki
JouleV
How long did you took to achieve this? Very nice (+1).
– Raaja
yesterday
@Raaja Well, it was made with Inkscape, so it is not so difficult. (If I drew the picture manually it would take centuries :D). But it takes a while to vectorize the original image, convert it to TikZ and then compile the code. My editor became not responding for a couple of minutes :))
– JouleV
yesterday
Huhh like that;)
. I assumed you created this by mixing colors yourself:D
. But still quite an amount of work though.
– Raaja
yesterday
@Raaja I mentioned about it in footnote 1. Let's imagine if someone drew this manually: finding the coordinates of the control points takes about half of a century, some other decades for coding and debugging. Only a lifetime is taken for this work :DD
– JouleV
yesterday
very nice work :)
– Raaja
yesterday
|
show 1 more comment
How long did you took to achieve this? Very nice (+1).
– Raaja
yesterday
@Raaja Well, it was made with Inkscape, so it is not so difficult. (If I drew the picture manually it would take centuries :D). But it takes a while to vectorize the original image, convert it to TikZ and then compile the code. My editor became not responding for a couple of minutes :))
– JouleV
yesterday
Huhh like that;)
. I assumed you created this by mixing colors yourself:D
. But still quite an amount of work though.
– Raaja
yesterday
@Raaja I mentioned about it in footnote 1. Let's imagine if someone drew this manually: finding the coordinates of the control points takes about half of a century, some other decades for coding and debugging. Only a lifetime is taken for this work :DD
– JouleV
yesterday
very nice work :)
– Raaja
yesterday
How long did you took to achieve this? Very nice (+1).
– Raaja
yesterday
How long did you took to achieve this? Very nice (+1).
– Raaja
yesterday
@Raaja Well, it was made with Inkscape, so it is not so difficult. (If I drew the picture manually it would take centuries :D). But it takes a while to vectorize the original image, convert it to TikZ and then compile the code. My editor became not responding for a couple of minutes :))
– JouleV
yesterday
@Raaja Well, it was made with Inkscape, so it is not so difficult. (If I drew the picture manually it would take centuries :D). But it takes a while to vectorize the original image, convert it to TikZ and then compile the code. My editor became not responding for a couple of minutes :))
– JouleV
yesterday
Huhh like that
;)
. I assumed you created this by mixing colors yourself :D
. But still quite an amount of work though.– Raaja
yesterday
Huhh like that
;)
. I assumed you created this by mixing colors yourself :D
. But still quite an amount of work though.– Raaja
yesterday
@Raaja I mentioned about it in footnote 1. Let's imagine if someone drew this manually: finding the coordinates of the control points takes about half of a century, some other decades for coding and debugging. Only a lifetime is taken for this work :DD
– JouleV
yesterday
@Raaja I mentioned about it in footnote 1. Let's imagine if someone drew this manually: finding the coordinates of the control points takes about half of a century, some other decades for coding and debugging. Only a lifetime is taken for this work :DD
– JouleV
yesterday
very nice work :)
– Raaja
yesterday
very nice work :)
– Raaja
yesterday
|
show 1 more comment
I have to repost this one (details here):
Most PDF viewers can't render it and the code is a mess, but it's certainly complicated (856 lines of complicated).
add a comment |
I have to repost this one (details here):
Most PDF viewers can't render it and the code is a mess, but it's certainly complicated (856 lines of complicated).
add a comment |
I have to repost this one (details here):
Most PDF viewers can't render it and the code is a mess, but it's certainly complicated (856 lines of complicated).
I have to repost this one (details here):
Most PDF viewers can't render it and the code is a mess, but it's certainly complicated (856 lines of complicated).
answered yesterday
community wiki
Chris H
add a comment |
add a comment |
About a thousand lines of code, grabbing data from a bunch of external files and plotting stuff. The code is a mess but adaptable enough to display different data sets. Also came across some really strange bugs while working on it (such as: loading in large tables of data into TikZ may overlook a particular column until the document is compiled a second time or the column afterwards is also loaded.)
1
where is the code?
– dozer
5 hours ago
add a comment |
About a thousand lines of code, grabbing data from a bunch of external files and plotting stuff. The code is a mess but adaptable enough to display different data sets. Also came across some really strange bugs while working on it (such as: loading in large tables of data into TikZ may overlook a particular column until the document is compiled a second time or the column afterwards is also loaded.)
1
where is the code?
– dozer
5 hours ago
add a comment |
About a thousand lines of code, grabbing data from a bunch of external files and plotting stuff. The code is a mess but adaptable enough to display different data sets. Also came across some really strange bugs while working on it (such as: loading in large tables of data into TikZ may overlook a particular column until the document is compiled a second time or the column afterwards is also loaded.)
About a thousand lines of code, grabbing data from a bunch of external files and plotting stuff. The code is a mess but adaptable enough to display different data sets. Also came across some really strange bugs while working on it (such as: loading in large tables of data into TikZ may overlook a particular column until the document is compiled a second time or the column afterwards is also loaded.)
answered 21 hours ago
community wiki
Huang_d
1
where is the code?
– dozer
5 hours ago
add a comment |
1
where is the code?
– dozer
5 hours ago
1
1
where is the code?
– dozer
5 hours ago
where is the code?
– dozer
5 hours ago
add a comment |
I learned how to use loops in TikZ
for the first-time ever.
documentclassstandalone
usepackagetikz
%https://tex.stackexchange.com/questions/471465/drawing-concentric-circles-with-alternating-colors-by-means-of-foreach-in-tikz/471466#471466
begindocument
begintikzpicture[mystyle/.style=circle,draw,fill=none,minimum size=20, line width = 8pt]
foreach x in 1,3,5,7,9,11,13,15,17,19
node [mystyle, minimum size = x cm, color =red!70] (2) at (0, 0) ;
foreach x in 2,4,6,8,10,12,14,16,18, 20
node [mystyle, minimum size = x cm, color =yellow!50] (2) at (0, 0) ;
endtikzpicture
enddocument
to get:
8
This image is kind of hypnotising :)
– samcarter
yesterday
@samcarter I know right? Therefore, I am proud of this image as my first looped creation :D
– Raaja
yesterday
1
@samcarter, not like this one
– Sigur
yesterday
2
@Sigur I would answer your comment, but I cannot stop staring at those wheels :)
– samcarter
yesterday
1
@samcarter specially when we try to focus on a circle center...
– Sigur
23 hours ago
|
show 3 more comments
I learned how to use loops in TikZ
for the first-time ever.
documentclassstandalone
usepackagetikz
%https://tex.stackexchange.com/questions/471465/drawing-concentric-circles-with-alternating-colors-by-means-of-foreach-in-tikz/471466#471466
begindocument
begintikzpicture[mystyle/.style=circle,draw,fill=none,minimum size=20, line width = 8pt]
foreach x in 1,3,5,7,9,11,13,15,17,19
node [mystyle, minimum size = x cm, color =red!70] (2) at (0, 0) ;
foreach x in 2,4,6,8,10,12,14,16,18, 20
node [mystyle, minimum size = x cm, color =yellow!50] (2) at (0, 0) ;
endtikzpicture
enddocument
to get:
8
This image is kind of hypnotising :)
– samcarter
yesterday
@samcarter I know right? Therefore, I am proud of this image as my first looped creation :D
– Raaja
yesterday
1
@samcarter, not like this one
– Sigur
yesterday
2
@Sigur I would answer your comment, but I cannot stop staring at those wheels :)
– samcarter
yesterday
1
@samcarter specially when we try to focus on a circle center...
– Sigur
23 hours ago
|
show 3 more comments
I learned how to use loops in TikZ
for the first-time ever.
documentclassstandalone
usepackagetikz
%https://tex.stackexchange.com/questions/471465/drawing-concentric-circles-with-alternating-colors-by-means-of-foreach-in-tikz/471466#471466
begindocument
begintikzpicture[mystyle/.style=circle,draw,fill=none,minimum size=20, line width = 8pt]
foreach x in 1,3,5,7,9,11,13,15,17,19
node [mystyle, minimum size = x cm, color =red!70] (2) at (0, 0) ;
foreach x in 2,4,6,8,10,12,14,16,18, 20
node [mystyle, minimum size = x cm, color =yellow!50] (2) at (0, 0) ;
endtikzpicture
enddocument
to get:
I learned how to use loops in TikZ
for the first-time ever.
documentclassstandalone
usepackagetikz
%https://tex.stackexchange.com/questions/471465/drawing-concentric-circles-with-alternating-colors-by-means-of-foreach-in-tikz/471466#471466
begindocument
begintikzpicture[mystyle/.style=circle,draw,fill=none,minimum size=20, line width = 8pt]
foreach x in 1,3,5,7,9,11,13,15,17,19
node [mystyle, minimum size = x cm, color =red!70] (2) at (0, 0) ;
foreach x in 2,4,6,8,10,12,14,16,18, 20
node [mystyle, minimum size = x cm, color =yellow!50] (2) at (0, 0) ;
endtikzpicture
enddocument
to get:
answered 2 days ago
community wiki
Raaja
8
This image is kind of hypnotising :)
– samcarter
yesterday
@samcarter I know right? Therefore, I am proud of this image as my first looped creation :D
– Raaja
yesterday
1
@samcarter, not like this one
– Sigur
yesterday
2
@Sigur I would answer your comment, but I cannot stop staring at those wheels :)
– samcarter
yesterday
1
@samcarter specially when we try to focus on a circle center...
– Sigur
23 hours ago
|
show 3 more comments
8
This image is kind of hypnotising :)
– samcarter
yesterday
@samcarter I know right? Therefore, I am proud of this image as my first looped creation :D
– Raaja
yesterday
1
@samcarter, not like this one
– Sigur
yesterday
2
@Sigur I would answer your comment, but I cannot stop staring at those wheels :)
– samcarter
yesterday
1
@samcarter specially when we try to focus on a circle center...
– Sigur
23 hours ago
8
8
This image is kind of hypnotising :)
– samcarter
yesterday
This image is kind of hypnotising :)
– samcarter
yesterday
@samcarter I know right? Therefore, I am proud of this image as my first looped creation :D
– Raaja
yesterday
@samcarter I know right? Therefore, I am proud of this image as my first looped creation :D
– Raaja
yesterday
1
1
@samcarter, not like this one
– Sigur
yesterday
@samcarter, not like this one
– Sigur
yesterday
2
2
@Sigur I would answer your comment, but I cannot stop staring at those wheels :)
– samcarter
yesterday
@Sigur I would answer your comment, but I cannot stop staring at those wheels :)
– samcarter
yesterday
1
1
@samcarter specially when we try to focus on a circle center...
– Sigur
23 hours ago
@samcarter specially when we try to focus on a circle center...
– Sigur
23 hours ago
|
show 3 more comments
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%2f479232%2fwhat-has-been-your-most-complicated-tikz-drawing%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
5
@Sebastiano OP wants us to show our most proudest
TikZ
diagram.– Raaja
2 days ago
13
Not sure how suitable this question is for this site. It is quite broad and does not have a definitive answer (cf. tex.stackexchange.com/help/dont-ask). texample.net has a collection of complex (and maybe also not so complex) TikZ drawings.
– moewe
2 days ago
3
It is true that this site is very lenient with (some) big-list questions, but I feel that the current formulation "your most complicated" is just too subjective.
– moewe
2 days ago
4
I think this question should be made a community wiki, if it is not closed.
– JouleV
yesterday
2
None of my TikZ drawings are complex since I was able to make them. Some TikZ drawings seem very complex to realize for me, but as they were made by others, I can not share them.
– Paul Gaborit
yesterday