forked from ncase/polygons
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathindex.html
380 lines (317 loc) · 15 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
<!doctype html>
<html>
<head>
<!-- Place this data between the <head> tags of your website -->
<title>Parable of the Polygons - a playable post on the shape of society</title>
<meta name="description" content="A playable post on how harmless choices can make a harmful world." />
<link rel="icon" type="image/png" href="favicon.png">
<!-- Schema.org markup for Google+ -->
<meta itemprop="name" content="Parable of the Polygons">
<meta itemprop="description" content="A playable post on how harmless choices can make a harmful world.">
<meta itemprop="image" content="http://ncase.me/polygons/social/thumbnail.png">
<!-- Twitter Card data -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@ncasenmare">
<meta name="twitter:title" content="Parable of the Polygons">
<meta name="twitter:description" content="A playable post on how harmless choices can make a harmful world.">
<meta name="twitter:creator" content="@vihartvihart">
<meta name="twitter:image" content="http://ncase.me/polygons/social/thumbnail.png">
<!-- Open Graph data -->
<meta property="og:title" content="Parable of the Polygons">
<meta property="og:type" content="website">
<meta property="og:url" content="http://ncase.me/polygons">
<meta property="og:image" content="http://ncase.me/polygons/social/thumbnail.png">
<meta property="og:description" content="A playable post on how harmless choices can make a harmful world.">
<meta property="og:site_name" content="Parable of the Polygons">
<!-- CSS -->
<link href="css/index.css" rel="stylesheet" type="text/css">
</head>
<body>
<!-- CARTOONS -->
<div id="cartoon_container">
<img id="cartoon" width="270" src=""/>
<div id="cartoon_arrow"></div>
</div>
<!-- SPLASH -->
<div id="intro_container">
<div id="intro">
<iframe src="play/intro/intro.html" id="intro_background" scrolling="no"></iframe>
</div>
</div>
<!-- CHAPTER -->
<div class="chapter">
<p><strong>This is a story of how harmless choices can make a harmful world.</strong></p>
<p>
These little cuties are 50% Triangles, 50% Squares, and 100% slightly shapist.
<span cartoon="i_like_squares.png">But only slightly!</span>
In fact, every polygon <i>prefers</i> being in a diverse crowd:
</p>
<iframe id="mini_intro" playable src="play/mini/mini_intro.html" width="800" height="385" scrolling="no" style="margin:0 auto;display:block" embedded></iframe>
<p>
You can only move them if they're unhappy with their immediate neighborhood.
Once they're OK where they are, <i>you can't move them until they're unhappy with their neighbors again</i>.
They've got one, simple rule:
</p>
<p style="text-align:center">
<b>
“I wanna move if less than 1/3 of my neighbors are like me.”
</b>
</p>
<iframe playable src="play/mini/mini_unhappy.html" width="250" height="300" scrolling="no" style="float:left; margin:0; margin-left:10px; position:relative; left:-30px" embedded></iframe>
<iframe playable src="play/mini/mini_happy.html" width="250" height="300" scrolling="no" style="float:left; margin:0; margin-left:10px" embedded></iframe>
<iframe playable src="play/mini/mini_bored.html" width="250" height="300" scrolling="no" style="float:left; margin:0; margin-left:10px; position:relative; left:30px" embedded></iframe>
<div style="clear:both;height: 0;position: relative;">
<div style="width: 4px; height: 290px; background: #bbb;position: absolute;top: -292px;left: 245px;"></div>
<div style="width: 4px; height: 290px; background: #bbb;position: absolute;top: -292px;left: 537px;"></div>
</div>
<br>
<p>
Harmless, right?
Every polygon would be happy with a mixed neighborhood.
Surely their small bias can't affect the larger shape society that much?
Well...
</p>
<div class="instruction">
drag & drop unhappy polygons until nobody is unhappy:<br>
<span style="font-size:18px">(just move them to random empty spots. don't think too much about it.)</span>
</div>
</div>
<!-- PLAYABLE -->
<div class="playable">
<iframe playable src="play/manual/manual.html" width="550" height="650"></iframe>
</div>
<!-- CHAPTER -->
<div class="chapter">
<p>
And... our shape society becomes super segregated. Daaaaang.
</p>
<p>
Sometimes a neighborhood just becomes square,
and it's not their fault if no triangles wanna stick around.
And a triangular neighborhood would welcome a square, but
<span cartoon="square_left.png">they can't help it if squares ain't interested.</span>
</p>
<iframe id="mini_neighborhood" playable src="play/mini/mini_neighborhood.html" width="730" height="240" scrolling="no" style="margin:0 auto;display:block" embedded></iframe>
<p>
In this next bit, unhappy shapes automatically move to random empty spots.
There's also a graph that tracks how much segregation there is over time.
</p>
<div class="instruction">
run this simulation a few times. what happens?
</div>
</div>
<!-- PLAYABLE -->
<div class="playable">
<iframe playable src="play/automatic/automatic.html" style="position:relative;left:10px" width="1050" height="600"></iframe>
</div>
<!-- CHAPTER -->
<div class="chapter">
<p>
What's up with that? These are good shapes, <span cartoon="nice_triangle.jpg">nice shapes</span>.
And yet, though every individual only has a slight bias, the entire shape society cracks and splits.
</p>
<iframe id="mini_checkerboard" playable src="play/mini/mini_checkerboard.html" width="730" height="240" scrolling="no" style="margin:0 auto;display:block" embedded></iframe>
<p>
<strong>Small individual bias can lead to large collective bias.</strong>
</p>
<p>
Equality is an unstable equilibrium.
The smallest of bias can push a whole society past the tipping point.
Well, what if we taught these shapes to have zero bias?
(Or if you're feeling particularly nasty today, more bias?)
</p>
<div class="instruction">
use the slider to adjust the shapes' individual bias:
</div>
</div>
<!-- PLAYABLE -->
<div class="playable">
<iframe playable src="play/automatic/automatic2.html" style="position:relative;left:10px" width="1050" height="600"></iframe>
</div>
<!-- CHAPTER -->
<div class="chapter">
<p>
Notice how much more segregated things become, when you increase the bias beyond 33%.
What if the threshold was at 50%?
Seems reasonable for a shape to prefer not being in the minority...
</p>
<iframe id="mini_bias_1" playable src="play/mini/mini_bias_1.html" width="310" height="420" scrolling="no" style="float:left; margin:0; margin-left:50px" embedded></iframe>
<iframe id="mini_bias_2" playable src="play/mini/mini_bias_2.html" width="310" height="420" scrolling="no" style="float:right; margin:0; margin-right:50px" embedded></iframe>
<div style="clear:both;height: 0;position: relative;">
<div style="width: 6px; height: 400px; background: #bbb;position: absolute;top: -420px;left: 397px;"></div>
</div>
<p>
So yeah, just turn everyone's bias down to zero, right?
Haha, NOPE. The real world doesn't start anew with a random shuffling of citizens every day.
Everyday, you're not shuffling.
</p>
<div class="instruction">
world starts segregated. what happens when you lower the bias?
</div>
</div>
<!-- PLAYABLE -->
<div class="playable">
<iframe playable src="play/automatic/automatic3.html" style="position:relative;left:10px" width="1050" height="600"></iframe>
</div>
<!-- CHAPTER -->
<div class="chapter">
<p>
See what <i>doesn't</i> happen?
No change. No mixing back together.
In a world where bias ever existed, being unbiased isn't enough!
We're gonna need active measures.
What if shapes wanted to seek out just a lil' more variety?
</p>
<iframe id="mini_nonconform" playable src="play/mini/mini_nonconform.html" width="400" height="440" scrolling="no" style="margin:0 auto;display:block" embedded></iframe>
<p>
Woah. Even though each polygon would be okay with having up to 90% of their neighbors that are like them,
they all mix together!
Let's see this play out on a larger scale,
when we change the amount of bias and anti-bias for all shapes.
</p>
<div class="instruction">
world starts segregated. what happens when shapes demand even the smallest bit of diversity?
</div>
</div>
<!-- PLAYABLE -->
<div class="playable">
<iframe playable src="play/automatic/automatic4.html" style="position:relative;left:10px" width="1050" height="600"></iframe>
</div>
<!-- CHAPTER -->
<div class="chapter">
<p>
All it takes is a change in the perception of what an acceptable environment looks like.
So, fellow shapes, remember it's not about triangles vs squares,
it's about deciding what we want the world to look like, and settling for no less.
</p>
<p style="text-align:center">
<b>
GET THEM ALL IN THE BOX OF
<span style="color:hsl(0,90%,60%)">F</span>
<span style="color:hsl(36,90%,60%)">R</span>
<span style="color:hsl(72,90%,45%)">I</span>
<span style="color:hsl(108,90%,60%)">E</span>
<span style="color:hsl(144,90%,60%)">N</span>
<span style="color:hsl(180,90%,60%)">D</span>
<span style="color:hsl(216,90%,60%)">S</span>
<span style="color:hsl(252,90%,60%)">H</span>
<span style="color:hsl(288,90%,60%)">I</span>
<span style="color:hsl(324,90%,60%)">P</span>
<br>
<span style="font-size:18px">(hint: don't move them straight to the box; keep the pairs close together)</span>
</b>
</p>
<iframe playable src="play/mini/mini_cooperate.html" width="810" height="290" scrolling="no" style="margin:0 auto;display:block" embedded></iframe>
<p>
At first, going out on your own can be isolating...
but by working together, step by step, we'll get there.
</p>
<div class="instruction">
finally, a big ol' sandbox to play around in.
</div>
</div>
<!-- PLAYABLE -->
<div class="playable">
<iframe playable src="play/automatic/automatic_sandbox.html" style="position:relative;left:10px" width="1050" height="600"></iframe>
</div>
<!-- CHAPTER -->
<div class="chapter">
<div class="instruction" style="font-size:50px; line-height:50px">
WRAPPING UP:
</div>
<p>
<b>1. Small individual bias → Large collective bias.</b>
<br>
<!--Micromotives, macrobehaviour...-->
When someone says a culture is shapist, they're not saying the <i>individuals</i> in it are shapist.
They're not attacking you personally.
</p>
<p>
<b>2. The past haunts the present.</b>
<br>
Your bedroom floor doesn't stop being dirty just coz you stopped dropping food all over the carpet.
Creating equality is like staying clean: it takes work. And it's always a work in progress.
</p>
<p>
<b>3. Demand diversity near you.</b>
<br>
If small biases created the mess we're in, small anti-biases might fix it.
Look around you. Your friends, your colleagues, that conference you're attending.
If you're all triangles, you're missing out on some amazing squares in your life -
that's unfair to everyone. Reach out, beyond your immediate neighbors.
</p>
<iframe playable src="play/mini/mini_ending.html" width="600" height="80" scrolling="no" style="margin:0 auto;display:block" embedded></iframe>
</div>
<!-- References & Remixes (Writing|Professor|Infographic|Video|Music -->
<div style="width: 100%; background: #222; overflow: hidden; color:#ddd">
<div class="chapter">
<div class="instruction">
Thank you for playing this blog post!
</div>
<br>
<div style="font-size:16px; line-height:18px">
Our cute, adorable segregation simulator is based off the work of Nobel Prize-winning game theorist,
Thomas Schelling. Specifically, his mathematical model of racial segregation found in
<a target="_blank" href="http://www.stat.berkeley.edu/~aldous/157/Papers/Schelling_Seg_Models.pdf">
Dynamic Models of Segregation.</a>
We built on top of his model, by showing how adding a small cultural demand for diversity can help
desegregate a neighborhood. In other words, we gave his model a happy ending.
<br><br>
Schelling's model is a convincing demonstration of how
<span cartoon="hat.jpg">innocent-seeming</span> rules
can create very undesirable outcomes, but of course real-life situations are more complicated.
You might enjoy taking a closer look at real data in reference to Schelling's model.
W.A.V. Clark's 1991 paper <a target="_blank" href="http://smg.media.mit.edu/library/Clark.ResidentialSegregation.pdf">
Residential Preferences and Neighborhood Racial Segregation: A Test of the Schelling Segregation Model</a>
has a lot of interesting data in it.
<br><br>
Schelling's model explores one small aspect of how tiny bias can have large accumulative effects,
but there's other models that focus on other aspects.
<a target="_blank" href="http://www.ruf.rice.edu/~lane/papers/male_female.pdf">
Male-Female Differences: A Computer Simulation</a>
shows how extremely small differences in the perception of men and women's work can have huge effects.
<a target="_blank" href="http://iangent.blogspot.com/2013/10/the-petrie-multiplier-why-attack-on.html">
The Petrie Multiplier</a>
explores how small negative actions of
<span cartoon="not_all_triangles.jpg">a few bad apples</span>
can become multiplied by certain situations.
<br><br>
The takeaway from our variant of Schelling's simulator is that demanding a single bit of diversity
in your spaces makes a huge difference overall. For a real-world application of this idea,
see <a target="_blank" href="http://plzdiversifyyourpanel.tumblr.com/">Plz Diversify Your Panel</a>,
an initiative where overrepresented speakers refuse invitations
to speak on panels that don't include diverse representation.
<br><br>
The format of this playable post was inspired by Bret Victor's work on
<a target="_blank" href="http://worrydream.com/ExplorableExplanations/">
Explorable Explanations</a> and Ian Bogost's work on
<a target="_blank" href="http://bogost.com/books/persuasive_games/">
procedural rhetoric</a>.
<br><br>
<div style="border-bottom: 2px dashed #666"></div>
<span style="font-size:18px; line-height:22px">
<br>
<b>Thank you to our playreaders:</b><br>
Andreas, Astrid, Catherine, Chris, Emily, Glen, Jocelyn, Laura, Marc, Marko, Zak
<br><br>
<b>Also Seen On:</b><br>
<a target="_blank" href="http://www.wired.com/2014/12/empzeal-parable-polygons/">WIRED</a>,
<a target="_blank" href="http://boingboing.net/2014/12/08/parable-of-the-polygons-segre.html">BoingBoing</a>,
<a target="_blank" href="http://ccthing.tumblr.com/post/104764760336/parable-of-the-polygons-vi-hart-and-nicky-case">Creative Commons</a>
<br><br>
<b>Translations:</b><br>
<a target="_blank" href="http://ncase.me/polygons-es">Spanish</a>
</span>
</div>
</div>
</div>
<!-- SPLASH -->
<div id="outro_container">
<div id="outro">
<iframe src="play/outro/outro.html" id="outro_background" scrolling="no"></iframe>
</div>
</div>
</body>
<script src="js/Mouse.js"></script>
<script src="js/intro.js"></script>
</html>