多边形寓言
Parable of the Polygons,Vi Hart & Nicky Case,2014 年

正在布展…
它是怎么做的
- 第 1 步网格上的每个形状根据邻居中同类比例决定是否「不开心」。
- 第 2 步用户可以手动拖动形状,也可以开启自动迁移模拟。
- 第 3 步滑杆调整偏好阈值,实时显示隔离指数曲线。
- 第 4 步文字与交互穿插,构成叙事。
复刻配方
一段技术配方,可以直接交给 AI 编程助手,也可以自己照着写。想指定技术栈、位置和性能预算,就把它加入实现方案。
Lay out a grid of agents of two types with some empty cells and draw each as a simple shape with a face whose expression reflects happiness. An agent is unhappy if the share of same-type neighbors in its 8-neighborhood falls below a threshold from a slider. Let users drag agents to empty cells, and add a run button that repeatedly moves random unhappy agents to random empty cells. Plot a segregation metric over time in a small line chart beside the grid, and interleave the interactive panels with short narrative paragraphs.


