1. What this tool does and who it is for

一、这个工具做什么、适合谁用

The input is two dropdowns, one for each parent, each offering curly, wavy or straight. Pressing Calculate calls hairType() in js/tools-genetics.js, which sorts the pair, looks up one of six stored rows, and returns three percentages that total 100. There is no upload, no account and no server round trip.

输入是两个下拉框,分别对应父母一方,选项为卷发、波浪、直发。点击“计算”会调用 js/tools-genetics.js 中的 hairType():先对组合排序,再查六行存值中的一行,返回合计 100% 的三个百分比。不上传、不注册、不经过服务器。

This is the tool for the “whose curls will the baby get?” conversation. It suits expectant parents comparing family traits, relatives placing bets at a baby shower, and students who want a simple example of a trait that does not follow a clean single-gene rule. It is deliberately not a tool for planning hair care, buying products, or predicting anything medical.

这个工具适合“宝宝会遗传谁的卷发?”这类对话。它面向比较家族特征的准父母、在宝宝派对上打赌的亲友,以及想找一个“不遵循干净单基因规则”的例子的学生。它刻意不用于规划护发、购买产品,或预测任何医疗问题。

One reading tip before the numbers: the three categories are coarse. “Wavy” covers everything from a loose beach wave to a strong S-curl, and “curly” covers ringlets through to tight coils. A real head of hair rarely matches a single label, which is why the result is a distribution rather than one answer.

在给出数字前先记一个读法:这三个类别很粗。“波浪”涵盖从松散的海滩波到明显的 S 形卷,“卷发”涵盖从环形小卷到紧密卷曲。真实的一头头发很少只符合一个标签,这也是结果是分布而不是单一答案的原因。

2. What actually decides hair shape

二、真正决定发质的是什么

Hair shape is largely geometry. The follicle — the small pocket in the scalp where each hair grows — can be round, oval or crescent-shaped, and the fibre it produces tends to follow that cross-section. A round follicle tends to make straight hair; a strongly oval or asymmetric one tends to make hair that curls as it grows. The angle at which the fibre leaves the scalp adds a second layer of variation.

发质在很大程度上是几何问题。毛囊——头皮上每根头发长出的小口袋——可以是圆形、椭圆形或新月形,它产生的纤维会倾向于跟随这个横截面。圆形毛囊倾向于直发;明显椭圆或不对称的毛囊倾向于长出会卷曲的头发。纤维离开头皮的角度又叠加了一层变化。

Genetics influences that geometry, but not through one “curl gene”. Variants in genes such as TCHH (trichohyalin) have been associated with curly hair in large studies, and other loci influence fibre thickness and shape. The inheritance is not a clean dominant/recessive pair, which is why real families produce mixtures: two curly-haired parents can have a straight-haired child, and two straight-haired parents can have a wavy one.

遗传会影响这个几何结构,但不是通过一个“卷发基因”。大规模研究中,TCHH(trichohyalin,毛透明蛋白)等基因的变异与卷发相关,其他位点则影响纤维粗细与形状。这种遗传不是干净的显性/隐性配对,所以现实家庭会出现混合结果:两位卷发父母可能生出直发孩子,两位直发父母也可能生出波浪发孩子。

The tool therefore uses a rank ladder — curly > wavy > straight — as a teaching simplification. It assumes curly is the most “dominant-looking” outcome, wavy is intermediate, and straight is the least, but it never returns 100% or 0% for the middle category. That is a deliberate hedge: the middle is where real biology lives.

因此工具采用一条等级阶梯——卷 > 波浪 > 直——作为教学简化。它假设卷发是“最像显性”的结果,波浪居中,直发最弱,但中间类别永远不会出现 100% 或 0%。这是刻意的保留:真实生物学恰恰住在中间地带。

3. The full table the tool uses

三、工具实际使用的完整表格

Six rows cover every pair the dropdowns allow. Order does not matter; the code sorts the inputs first.

六行覆盖下拉框允许的所有组合。顺序不影响结果;代码会先排序。

ParentsCurlyWavyStraight
Curly × Curly62%31%7%
Curly × Wavy46%40%14%
Curly × Straight34%54%12%
Wavy × Wavy26%50%24%
Wavy × Straight14%50%36%
Straight × Straight5%35%60%
父母卷发波浪直发
卷 × 卷62%31%7%
卷 × 波46%40%14%
卷 × 直34%54%12%
波 × 波26%50%24%
波 × 直14%50%36%
直 × 直5%35%60%

Every row totals 100%. Two rows surprise people most. Straight × straight still gives 35% wavy, because straight-haired parents can carry hidden curl-associated variants. And curly × straight gives wavy 54% — wavy is the single most likely outcome, not curly. That is not a bug; it is the model treating the middle as the most likely meeting point.

每一行都合计 100%。最让人意外的两行是:直 × 直仍有 35% 波浪,因为直发父母可能携带隐藏的卷发相关变异;卷 × 直给出波浪 54%——最可能的单一结果是波浪,而不是卷发。这不是 bug,而是模型把“中间态”当作最可能的汇合点。

These numbers are teaching conventions, not measured frequencies. Real curl patterns vary widely by ancestry, and no single table like this is calibrated to a specific population. Treat the table as a structured way to talk about possibility, not as a survey result.

这些数字是教学约定,不是实测频率。真实卷曲模式随族源差异极大,没有哪张这样的表能校准到某个具体人群。请把表格当作“有结构地讨论可能性”的方式,而不是调查结果。

4. A worked example

四、一个算例

Take one curly parent and one straight parent. The tool returns Wavy 54%, Curly 34%, Straight 12%. Read that as: the middle outcome is most likely, curls are still a strong possibility at about one in three, and straight hair is the least likely but not absent.

取一位卷发父母与一位直发父母。工具返回波浪 54%、卷发 34%、直发 12%。可以读成:中间态最可能,卷发仍是约三分之一的有力可能,直发最不可能但并非不存在。

This is the row that best illustrates the model’s philosophy. If hair type followed a strict dominant/recessive rule, curly × straight would be one-sided. Instead, the tool deliberately spreads the answer across all three categories, because real inheritance of a physical trait like follicle shape is usually quantitative rather than binary.

这一行最能说明模型的设计哲学。如果发质遵循严格的显性/隐性规则,卷 × 直会是一边倒的。但工具刻意让答案分布在三类之间,因为像毛囊形状这样的身体性状,真实遗传通常是“量”的,而不是二元的。

Run the mirror case to confirm the implementation: straight mother × curly father and curly mother × straight father must return the same bars, because the key is built after sorting the two values. If they differ, reload the page and try again.

跑一次镜像组合以确认实现:妈妈直 × 爸爸卷 与 妈妈卷 × 爸爸直 必须返回相同的条,因为键是在排序之后构造的。若不同,刷新页面再试。

5. How to read the result without over-reading it

五、怎么读结果,避免过度解读

A percentage is the chance for one child. “54% wavy” does not mean the baby will be “half wavy”; it means that if this couple had many children, about half would fall into the wavy category in this model. With one baby, you get one outcome, and the 12% straight branch is possible on the first try.

百分比是“单个孩子”的概率。“54% 波浪”不意味着宝宝会“半波浪”,而是说如果这对父母有很多孩子,在这个模型下大约一半会落在波浪类别。只要一个孩子时,你只会得到一个结果,而 12% 的直发分支第一次就可能发生。

Three misreadings are common. First, reading the top bar as a guarantee. Second, believing curly always wins — in three of the six rows, wavy is actually the top outcome. Third, treating a newborn’s hair as the final answer. Many babies are born with one texture and develop another by age two; some change again around puberty when hormone levels shift.

有三种常见误读。第一,把最高的条当作保证。第二,以为卷发总会赢——六行中有三行的最高结果是波浪。第三,把新生儿头发当成最终答案。许多宝宝出生时是一种发质,到两岁发展成另一种;有些人在青春期激素变化时还会再变。

Texture can also change without any genetic change. Heat styling, chemical straightening, chlorine, humidity and haircut shape all change how hair looks day to day. None of them change the follicle, and none of them are predicted by this tool.

发质也可能在没有基因变化的情况下改变。热造型、化学拉直、泳池氯、湿度与修剪形状都会改变头发日常的样子。它们都不改变毛囊,也不在本工具的预测范围内。

6. Where the model stops

六、模型的边界在哪里

Hair type is not a single-gene trait, so this chart cannot tell you a child’s real pattern. It also ignores fibre thickness, density, porosity and the curl pattern systems used by hairdressers, which describe appearance rather than genetics. Two children with the same prediction can end up with very different heads of hair.

发质不是单基因性状,所以这张表无法告诉你孩子真实的卷曲模式。它也忽略了纤维粗细、密度、孔隙度,以及发型师使用的卷曲分类系统——那些描述的是外观,不是遗传。两个得到相同预测的孩子,最终可能长出完全不同的头发。

There is no medical decision attached to hair type. The clinical issues worth attention are different: sudden patchy hair loss, broken or brittle hair, an itchy scaly scalp, or a baby who never seems to grow hair. Rare conditions such as uncombable hair syndrome exist, but they are diagnosed by clinicians, not by a three-option quiz.

发质不挂钩任何医疗决定。真正值得注意的临床问题是另一类:突然的斑块状脱发、断发或极脆的头发、发痒起鳞屑的头皮,或宝宝似乎一直不长头发。像“难以梳理的头发综合征”这样的罕见情况确实存在,但由临床医生诊断,而不是三选一的小测验。

If a concern about your baby’s hair or scalp is persistent, raise it at a routine paediatric visit. That is a better use of worry than re-running a predictor until it gives a preferred answer.

如果对宝宝头发或头皮的担心持续存在,请在常规儿科就诊时提出。把焦虑用在这里,比反复运行预测器直到它给出你想要的答案更有价值。

7. How to actually use it

七、实际怎么用

Three light-touch uses. First, play the “family traits” game properly: enter all six combinations and see how the wavy column behaves. It is the fastest way to understand why the middle category matters.

三种轻量用法。第一,认真玩一次“家族特征”游戏:把六种组合都输一遍,观察波浪那一列如何变化。这是理解“中间类别为何重要”的最快方式。

Second, keep a photo series rather than a single prediction. One photo at birth, one at six months, one at two years, all in the same light, tells you more about your child’s hair than any percentage here.

第二,留下一组照片系列,而不是一个预测。出生、六个月、两岁各一张,用同样的光线,比这里任何百分比都更能说明你孩子的头发。

Third, do not shop by prediction. Buy soft, simple hats and gentle baby shampoo, and choose products when you can see the actual hair. For the color side of the same question, try the Hair Color Predictor; for a single-gene example, open the Trait Dominance Checker.

第三,不要按预测去购物。先买柔软简单的帽子和温和的婴儿洗发产品,等真正看到头发再选护理用品。若想看同一问题的颜色维度,可试发色预测;若想看单基因例子,可打开性状显隐性检测器。