← 全部示例All examples natural-selection.html
  • 生物 · 演化Biology · evolution
  • 种群遗传模型Population genetics model
  • 约 10 分钟~10 min

树皮变黑之后,一只浅色桦尺蛾会怎样?The bark turns black. What happens to a light peppered moth?

19 世纪的英国工业城市里,煤烟把长着地衣的浅色树干熏成了黑色。桦尺蛾白天停在树干上,靠和树皮颜色相近躲过鸟。几十年后,曼彻斯特附近的桦尺蛾几乎全变成了黑色。“变成”这个词,到底是谁变了?

In 19th-century industrial Britain, coal smoke blackened tree trunks that had been pale with lichen. Peppered moths rest on trunks by day and escape birds by matching the bark. Within decades, almost every peppered moth near Manchester was black. But what exactly “became” black?

01预测Predict

煤烟让树皮一年年变黑。一只停在黑树皮上的浅色桦尺蛾,接下来会怎样?Soot darkens the bark year after year. What happens next to one light moth resting on the dark bark?

02繁殖几代Breed the population

左边是一片树皮上的桦尺蛾,右边是每一代的记录。黑色由显性等位基因 C 决定(CC 和 Cc 都是黑色),浅色是 cc。每一代,颜色和树皮差得越多的蛾越容易被鸟吃掉,活下来的蛾产下下一代。

On the left, moths on a patch of bark; on the right, the record of every generation. Black is set by a dominant allele C (both CC and Cc are black); light moths are cc. Each generation, birds eat more of the moths that stand out from the bark, and the survivors breed the next generation.

你来当鸟Be the bird

8 秒内点击你能找到的蛾,被点中的就被吃掉了。下一代由你没找到的蛾繁殖。You have 8 seconds to click every moth you can spot; each click eats one. The moths you miss breed the next generation.

换一个种群Change the population

改变下面三项会从第 0 代重新开始。Changing these three starts again from generation 0.

这个模型的适用范围Where this model applies

只有一个基因座、两个等位基因,世代不重叠,随机交配(每代开始时符合哈迪–温伯格比例)。存活只取决于颜色和树皮的差别,用一个“捕食强度”参数表示;真实的存活还受迁入迁出、蛾的停歇位置和其他天敌影响,所以真实的下降比这里快。

突变率 0.1% 比真实值大得多,只为在几十代内看到效果。随机漂变用固定随机种子抽样,同样的设置每次得到同样的结果。“你来当鸟”是一个游戏,屏幕上的 40 只蛾代表整个种群的比例,不是数据。

One locus with two alleles, non-overlapping generations, random mating (Hardy–Weinberg proportions at the start of each generation). Survival depends only on the mismatch between moth and bark, set by one “predation strength” parameter. Real survival also depends on migration, resting sites and other predators, which is why the real decline was faster than here.

The 0.1% mutation rate is far higher than real rates, so its effect shows within decades. Drift is sampled from a fixed random seed, so the same settings always give the same run. “Be the bird” is a game: the 40 moths on screen stand for the population’s proportions, not data.

离线可用。用 Tab 切换控件,方向键调节滑块;捕食时蛾也可以用 Tab 选中、回车吃掉。没有快捷键会干扰你的写作。Works offline. Use Tab to reach controls and arrow keys on sliders; during a hunt, moths can be reached with Tab and eaten with Enter. No keyboard shortcuts override your writing.

Peppered moths on bark, and the share of black moths in each generation
世代Generation
黑色等位基因 CDark allele C
黑色蛾Black moths
上一代存活率Last survival
平均适合度Mean fitness