Skip to content

Commit b86841d

Browse files
docs: add social preview image and TikZ source
1 parent bc05e8e commit b86841d

2 files changed

Lines changed: 127 additions & 0 deletions

File tree

Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
\documentclass[tikz,border=0pt]{standalone}
2+
\usepackage{tikz}
3+
\usetikzlibrary{calc}
4+
5+
\definecolor{navy}{HTML}{1D3557}
6+
\definecolor{teal}{HTML}{A8DADC}
7+
\definecolor{midblue}{HTML}{457B9D}
8+
9+
\begin{document}
10+
\begin{tikzpicture}
11+
12+
% --- Canvas: 2:1 ratio (matches banner width, double height) ---
13+
\fill[navy] (0,0) rectangle (20,10);
14+
15+
% =================================================================
16+
% Banner content, vertically centred (shifted up by 2.5)
17+
% Original banner occupies y=0..5 on a 20x5 canvas;
18+
% here it occupies y=2.5..7.5 on 20x10.
19+
% =================================================================
20+
21+
% --- Title (bottom-left, scaled up) ---
22+
\node[anchor=west, text=white, font=\fontfamily{phv}\selectfont\bfseries\fontsize{72}{72}\selectfont]
23+
at (0.8, 3.0) {bgms};
24+
\node[anchor=west, text=teal, font=\fontfamily{phv}\selectfont\fontsize{20}{20}\selectfont]
25+
at (0.9, 1.2) {Bayesian Analysis of Graphical Models};
26+
27+
% =================================================================
28+
% NETWORK (top-right, scaled up to fill)
29+
% =================================================================
30+
31+
\coordinate (n1) at (9.0, 8.5);
32+
\coordinate (n2) at (12.0, 9.1);
33+
\coordinate (n3) at (15.0, 8.1);
34+
\coordinate (n4) at (18.5, 8.8);
35+
\coordinate (n5) at (10.5, 5.5);
36+
\coordinate (n6) at (13.5, 4.5);
37+
\coordinate (n7) at (16.5, 5.8);
38+
\coordinate (n8) at (19.5, 4.8);
39+
\coordinate (n9) at (12.5, 7.1);
40+
\coordinate (n10) at (16.0, 6.6);
41+
42+
% --- SURVIVING EDGES: fuzzy band -> crisp line ---
43+
44+
% n1--n2
45+
\draw[teal, opacity=0.06, line width=6pt] (n1) -- (n2);
46+
\draw[teal, opacity=0.15, line width=3pt] (n1) -- ($(n1)!0.4!(n2)$);
47+
\draw[teal, opacity=0.25, line width=2pt] ($(n1)!0.3!(n2)$) -- ($(n1)!0.7!(n2)$);
48+
\draw[teal, opacity=0.70, line width=1.2pt] ($(n1)!0.5!(n2)$) -- (n2);
49+
50+
% n2--n9
51+
\draw[teal, opacity=0.06, line width=6pt] (n2) -- (n9);
52+
\draw[teal, opacity=0.15, line width=3pt] (n2) -- ($(n2)!0.4!(n9)$);
53+
\draw[teal, opacity=0.30, line width=2pt] ($(n2)!0.3!(n9)$) -- ($(n2)!0.7!(n9)$);
54+
\draw[teal, opacity=0.75, line width=1.2pt] ($(n2)!0.5!(n9)$) -- (n9);
55+
56+
% n9--n3
57+
\draw[teal, opacity=0.06, line width=6pt] (n9) -- (n3);
58+
\draw[teal, opacity=0.18, line width=3pt] (n9) -- ($(n9)!0.4!(n3)$);
59+
\draw[teal, opacity=0.35, line width=2pt] ($(n9)!0.3!(n3)$) -- ($(n9)!0.7!(n3)$);
60+
\draw[teal, opacity=0.75, line width=1.2pt] ($(n9)!0.5!(n3)$) -- (n3);
61+
62+
% n3--n10
63+
\draw[teal, opacity=0.06, line width=5pt] (n3) -- (n10);
64+
\draw[teal, opacity=0.20, line width=2.5pt] (n3) -- ($(n3)!0.5!(n10)$);
65+
\draw[teal, opacity=0.70, line width=1.2pt] ($(n3)!0.4!(n10)$) -- (n10);
66+
67+
% n10--n4
68+
\draw[teal, opacity=0.06, line width=5pt] (n10) -- (n4);
69+
\draw[teal, opacity=0.20, line width=2.5pt] (n10) -- ($(n10)!0.5!(n4)$);
70+
\draw[teal, opacity=0.65, line width=1.2pt] ($(n10)!0.4!(n4)$) -- (n4);
71+
72+
% n5--n9
73+
\draw[teal, opacity=0.06, line width=6pt] (n5) -- (n9);
74+
\draw[teal, opacity=0.15, line width=3pt] (n5) -- ($(n5)!0.4!(n9)$);
75+
\draw[teal, opacity=0.30, line width=2pt] ($(n5)!0.3!(n9)$) -- ($(n5)!0.7!(n9)$);
76+
\draw[teal, opacity=0.70, line width=1.2pt] ($(n5)!0.5!(n9)$) -- (n9);
77+
78+
% n5--n6
79+
\draw[teal, opacity=0.06, line width=5pt] (n5) -- (n6);
80+
\draw[teal, opacity=0.18, line width=2.5pt] (n5) -- ($(n5)!0.5!(n6)$);
81+
\draw[teal, opacity=0.65, line width=1.2pt] ($(n5)!0.4!(n6)$) -- (n6);
82+
83+
% n6--n7
84+
\draw[teal, opacity=0.06, line width=5pt] (n6) -- (n7);
85+
\draw[teal, opacity=0.20, line width=2.5pt] (n6) -- ($(n6)!0.5!(n7)$);
86+
\draw[teal, opacity=0.70, line width=1.2pt] ($(n6)!0.4!(n7)$) -- (n7);
87+
88+
% n7--n8
89+
\draw[teal, opacity=0.06, line width=5pt] (n7) -- (n8);
90+
\draw[teal, opacity=0.20, line width=2.5pt] (n7) -- ($(n7)!0.5!(n8)$);
91+
\draw[teal, opacity=0.65, line width=1.2pt] ($(n7)!0.4!(n8)$) -- (n8);
92+
93+
% --- DYING EDGES: fuzzy band -> fading to nothing ---
94+
95+
% n2--n3
96+
\draw[teal, opacity=0.08, line width=5pt] (n2) -- (n3);
97+
\draw[teal, opacity=0.04, line width=2pt] ($(n2)!0.3!(n3)$) -- ($(n2)!0.7!(n3)$);
98+
99+
% n3--n4
100+
\draw[teal, opacity=0.06, line width=4pt] (n3) -- (n4);
101+
\draw[teal, opacity=0.03, line width=1.5pt] ($(n3)!0.4!(n4)$) -- ($(n3)!0.8!(n4)$);
102+
103+
% n1--n5
104+
\draw[teal, opacity=0.07, line width=4pt] (n1) -- (n5);
105+
106+
% n4--n8
107+
\draw[teal, opacity=0.05, line width=4pt] (n4) -- (n8);
108+
109+
% n6--n10
110+
\draw[teal, opacity=0.06, line width=3.5pt] (n6) -- (n10);
111+
112+
% n9--n10
113+
\draw[teal, opacity=0.07, line width=4pt] (n9) -- (n10);
114+
115+
% --- Nodes ---
116+
\foreach \n/\s in {n1/4pt, n2/5pt, n3/6pt, n4/4.5pt, n5/5.5pt,
117+
n6/4pt, n7/5pt, n8/3.5pt, n9/6.5pt, n10/5pt} {
118+
\fill[teal] (\n) circle (\s);
119+
}
120+
121+
% Subtle glow on hub nodes
122+
\foreach \n/\s in {n9/6.5pt, n3/6pt} {
123+
\fill[teal, opacity=0.10] (\n) circle ({\s*2.0});
124+
}
125+
126+
\end{tikzpicture}
127+
\end{document}
104 KB
Loading

0 commit comments

Comments
 (0)