Skip to content

Commit 6d4a091

Browse files
authored
Merge pull request #113 from ComplexData-MILA/stamina-diagram
STAMINA: add a Venn diagram of the three research areas
2 parents f856241 + d712d66 commit 6d4a091

3 files changed

Lines changed: 211 additions & 0 deletions

File tree

‎_includes/stamina-diagram.html‎

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
{% comment %}
2+
"What STAMINA works on" diagram for the STAMINA page (styles: stamina/css/plain-style.css).
3+
Plain HTML + inline SVG: real text, scales cleanly, stacks on narrow screens.
4+
{% endcomment %}
5+
<figure class="stam-diagram">
6+
<figcaption class="sr-only">The three research areas STAMINA brings together, and the disciplines its members come from.</figcaption>
7+
8+
<svg class="stam-venn" viewBox="0 0 550 524" role="img"
9+
aria-label="Venn diagram: STAMINA sits where social interaction technologies, social simulations and modelling, and AI agents and safety overlap.">
10+
<defs>
11+
<clipPath id="stam-clip-tech"><circle cx="175" cy="175" r="155"/></clipPath>
12+
<clipPath id="stam-clip-sim"><circle cx="375" cy="175" r="155"/></clipPath>
13+
</defs>
14+
<g class="stam-venn-lobes">
15+
<circle cx="175" cy="175" r="155" class="stam-venn-tech"/>
16+
<circle cx="375" cy="175" r="155" class="stam-venn-sim"/>
17+
<circle cx="275" cy="349" r="155" class="stam-venn-ai"/>
18+
</g>
19+
<g clip-path="url(#stam-clip-tech)">
20+
<g clip-path="url(#stam-clip-sim)">
21+
<circle cx="275" cy="349" r="155" class="stam-venn-core-shape"/>
22+
</g>
23+
</g>
24+
<text class="stam-venn-label stam-venn-label--tech" x="121" y="170">
25+
<tspan x="121">Social interaction</tspan>
26+
<tspan x="121" dy="23">technologies</tspan>
27+
</text>
28+
<text class="stam-venn-label stam-venn-label--sim" x="429" y="170">
29+
<tspan x="429">Social simulations</tspan>
30+
<tspan x="429" dy="23">&amp; modelling</tspan>
31+
</text>
32+
<text class="stam-venn-label stam-venn-label--ai" x="275" y="395">
33+
<tspan x="275">AI agents &amp; safety</tspan>
34+
</text>
35+
</svg>
36+
37+
38+
<div class="stam-flow">
39+
<div class="stam-flow-end">
40+
<svg class="stam-net" viewBox="0 0 120 80" role="img" aria-hidden="true" focusable="false">
41+
<g stroke="currentColor" stroke-width="1.5" opacity="0.5">
42+
<path d="M18 60 46 24M46 24 88 44M88 44 62 66M62 66 18 60M46 24 70 14M100 24 88 44"/>
43+
<path d="M28 30 52 48" stroke-dasharray="4 4"/>
44+
<path d="M70 14 104 60" stroke-dasharray="4 4"/>
45+
</g>
46+
<g fill="currentColor">
47+
<circle cx="18" cy="60" r="4"/><circle cx="46" cy="24" r="5"/><circle cx="88" cy="44" r="4.5"/>
48+
<circle cx="62" cy="66" r="3.5"/><circle cx="70" cy="14" r="3"/><circle cx="100" cy="24" r="3"/>
49+
<circle cx="28" cy="30" r="2.5"/><circle cx="104" cy="60" r="2.5"/><circle cx="52" cy="48" r="2.5"/>
50+
</g>
51+
</svg>
52+
<span>Epistemic &amp; social crises</span>
53+
</div>
54+
55+
<svg class="stam-arrow" viewBox="0 0 64 24" role="img" aria-hidden="true" focusable="false">
56+
<path d="M2 12h50M44 5l9 7-9 7" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
57+
</svg>
58+
59+
<div class="stam-flow-end stam-flow-end--good">
60+
<svg class="stam-net" viewBox="0 0 120 80" role="img" aria-hidden="true" focusable="false">
61+
<g stroke="currentColor" stroke-width="1.5" opacity="0.6">
62+
<path d="M60 40 26 22M60 40 94 22M60 40 26 58M60 40 94 58M60 40 60 10M60 40 60 70"/>
63+
<path d="M26 22 60 10M60 10 94 22M26 58 60 70M60 70 94 58"/>
64+
</g>
65+
<g fill="currentColor">
66+
<circle cx="26" cy="22" r="4"/><circle cx="94" cy="22" r="4"/><circle cx="26" cy="58" r="4"/>
67+
<circle cx="94" cy="58" r="4"/><circle cx="60" cy="10" r="4"/><circle cx="60" cy="70" r="4"/>
68+
</g>
69+
<circle cx="60" cy="40" r="7" fill="currentColor"/>
70+
</svg>
71+
<span>Pro-social, pro-truth applications</span>
72+
</div>
73+
</div>
74+
75+
<p class="stam-fields">
76+
<span class="stam-fields-label">Members come from</span>
77+
<span class="stam-chip">Computer science</span>
78+
<span class="stam-chip">Social sciences</span>
79+
<span class="stam-chip">Psychology</span>
80+
<span class="stam-chip">Policy</span>
81+
<span class="stam-chip">Industry &amp; start-ups</span>
82+
</p>
83+
</figure>

‎stamina/css/plain-style.css‎

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,129 @@ font-size: 18pt;
9999
display: none;
100100
}
101101
}
102+
103+
/* ============================================================
104+
"What STAMINA works on" diagram (see _includes/stamina-diagram.html)
105+
============================================================ */
106+
107+
.stam-diagram {
108+
--stam-ink: #2f3e4e;
109+
--stam-muted: #5c6b7a;
110+
--stam-line: #dbe2e8;
111+
--stam-tech: #3d7ea6;
112+
--stam-sim: #2a9d8f;
113+
--stam-ai: #b07d3f;
114+
margin: 30px 0 10px;
115+
color: var(--stam-ink);
116+
}
117+
118+
/* crises -> applications */
119+
.stam-flow {
120+
display: flex;
121+
flex-wrap: wrap;
122+
align-items: center;
123+
justify-content: center;
124+
gap: 6px 18px;
125+
margin-top: 22px;
126+
padding-top: 18px;
127+
border-top: 1px solid var(--stam-line);
128+
}
129+
130+
.stam-flow-end {
131+
flex: 0 1 190px;
132+
text-align: center;
133+
color: var(--stam-muted);
134+
}
135+
136+
.stam-flow-end--good { color: var(--stam-sim); }
137+
138+
.stam-net {
139+
display: block;
140+
width: 100%;
141+
max-width: 128px;
142+
height: auto;
143+
margin: 0 auto 4px;
144+
}
145+
146+
.stam-flow-end span {
147+
display: block;
148+
font-size: 14px;
149+
font-weight: 600;
150+
line-height: 1.35;
151+
}
152+
153+
.stam-arrow {
154+
width: 54px;
155+
height: 22px;
156+
flex: 0 0 auto;
157+
color: var(--stam-line);
158+
}
159+
160+
/* disciplines */
161+
.stam-fields {
162+
margin: 18px 0 0;
163+
text-align: center;
164+
line-height: 2;
165+
}
166+
167+
.stam-fields-label {
168+
display: block;
169+
margin-bottom: 4px;
170+
font-size: 12px;
171+
text-transform: uppercase;
172+
letter-spacing: 0.06em;
173+
color: var(--stam-muted);
174+
}
175+
176+
.stam-chip {
177+
display: inline-block;
178+
margin: 0 2px;
179+
padding: 2px 9px;
180+
font-size: 12.5px;
181+
background: #f1f4f7;
182+
border: 1px solid var(--stam-line);
183+
border-radius: 999px;
184+
color: var(--stam-ink);
185+
white-space: nowrap;
186+
}
187+
188+
@media (max-width: 600px) {
189+
.stam-arrow { transform: rotate(90deg); }
190+
.stam-flow-end { flex-basis: 100%; }
191+
}
192+
193+
/* Venn: the three areas and their overlap */
194+
.stam-venn {
195+
display: block;
196+
width: 100%;
197+
max-width: 480px;
198+
height: auto;
199+
margin: 0 auto 22px;
200+
}
201+
202+
.stam-venn-lobes circle {
203+
mix-blend-mode: multiply;
204+
fill-opacity: 0.26;
205+
stroke-width: 1.8;
206+
}
207+
208+
.stam-venn-tech { fill: var(--stam-tech); stroke: var(--stam-tech); }
209+
.stam-venn-sim { fill: var(--stam-sim); stroke: var(--stam-sim); }
210+
.stam-venn-ai { fill: var(--stam-ai); stroke: var(--stam-ai); }
211+
212+
.stam-venn-label {
213+
font-size: 18px;
214+
font-weight: 600;
215+
text-anchor: middle;
216+
}
217+
218+
.stam-venn-label--tech { fill: var(--stam-tech); }
219+
.stam-venn-label--sim { fill: var(--stam-sim); }
220+
.stam-venn-label--ai { fill: var(--stam-ai); }
221+
222+
.stam-venn-core-shape {
223+
fill: #ffffff;
224+
fill-opacity: 0.55;
225+
stroke: none;
226+
}
227+

‎stamina/index.html‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ <h3 style="text-align:center">About STAMINA</h3>
122122
<p style="text-align:justify; font-size:16px; line-height:1.6;">
123123
Digital platforms and AI agents are increasingly shaping society. While these technologies contribute to epistemic and social crises, they may also help address them. Our goal is to build a research community focused on positive-outcome applications.
124124
</p>
125+
{% include stamina-diagram.html %}
126+
125127
<br>
126128
<div class="box">
127129
<p style="text-align:justify; font-size:16px; line-height:1.6;">

0 commit comments

Comments
 (0)