@esmirnov.ai/sperm-lab 0.0.0-stage → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,192 @@
1
+ import type { Factor, FactorId } from "./types.js";
2
+ /** References for separate anatomy, movement, and energy concepts. The artwork is original. */
3
+ export declare const ANATOMY_SOURCES: readonly [{
4
+ readonly title: "WHO: Laboratory manual for human semen, sixth edition";
5
+ readonly url: "https://www.who.int/publications/i/item/9789240030787";
6
+ }, {
7
+ readonly title: "Separate assessment of head, midpiece, and tail in the WHO manual";
8
+ readonly url: "https://www.sciencedirect.com/science/article/pii/S0015028221022986";
9
+ }, {
10
+ readonly title: "Glycolysis and oxidative phosphorylation in sperm movement";
11
+ readonly url: "https://pmc.ncbi.nlm.nih.gov/articles/PMC3501448/";
12
+ }, {
13
+ readonly title: "Human sperm proportions and longitudinal rolling";
14
+ readonly url: "https://pmc.ncbi.nlm.nih.gov/articles/PMC9790903/";
15
+ }];
16
+ /** These records explain evidence. They do not assign clinical doses or personal risks. */
17
+ export declare const FACTORS: readonly [{
18
+ readonly id: "exercise";
19
+ readonly title: "Regular exercise";
20
+ readonly evidence: "Human association";
21
+ readonly summary: "Compare a sedentary example with regular physical activity over time.";
22
+ readonly mechanism: "Physical activity can support metabolic health and hormone balance. Some studies report better semen measures in active men.";
23
+ readonly timescale: "Weeks to months. This example represents a new sample after development.";
24
+ readonly limits: "Exercise does not guarantee better semen or pregnancy. Studies differ, and this example has no prescribed exercise dose.";
25
+ readonly sources: readonly [{
26
+ title: string;
27
+ url: string;
28
+ }, {
29
+ readonly title: "Paternal physical activity, semen quality, and reproductive outcomes";
30
+ readonly url: "https://pubmed.ncbi.nlm.nih.gov/25164027/";
31
+ }, {
32
+ readonly title: "Physical activity and semen quality in a clinic cohort";
33
+ readonly url: "https://pubmed.ncbi.nlm.nih.gov/21122845/";
34
+ }];
35
+ }, {
36
+ readonly id: "endurance";
37
+ readonly title: "High-volume running";
38
+ readonly evidence: "Mixed evidence";
39
+ readonly summary: "Explore a possible pathway during heavy endurance training with poor recovery.";
40
+ readonly mechanism: "Low energy availability, heat, and insufficient recovery can accompany heavy training. These conditions can affect reproductive hormone signals.";
41
+ readonly timescale: "Weeks to months. This example represents a later sample.";
42
+ readonly limits: "Running is not inherently harmful. Endurance studies report inconsistent results. The scene shows one possible pathway, without a mileage threshold.";
43
+ readonly sources: readonly [{
44
+ title: string;
45
+ url: string;
46
+ }];
47
+ }, {
48
+ readonly id: "cycling";
49
+ readonly title: "Long cycling sessions";
50
+ readonly evidence: "Mixed evidence";
51
+ readonly summary: "Explore exercise conditions during prolonged cycling.";
52
+ readonly mechanism: "Long sessions can involve local heat and pressure. Some studies report differences in semen measures among cyclists.";
53
+ readonly timescale: "Repeated exposure over weeks. This example represents a later sample.";
54
+ readonly limits: "Studies do not establish a universal cycling threshold. The scene shows a possible adverse example, not an inevitable effect.";
55
+ readonly sources: readonly [{
56
+ title: string;
57
+ url: string;
58
+ }, {
59
+ readonly title: "Physical activity and semen quality in a clinic cohort";
60
+ readonly url: "https://pubmed.ncbi.nlm.nih.gov/21122845/";
61
+ }];
62
+ }, {
63
+ readonly id: "smoking";
64
+ readonly title: "Smoking";
65
+ readonly evidence: "Human association";
66
+ readonly summary: "Inspect a possible effect of repeated tobacco smoke exposure.";
67
+ readonly mechanism: "Smoke constituents can contribute to oxidative stress and DNA damage. Membrane damage can interfere with active movement.";
68
+ readonly timescale: "Repeated exposure and sperm development. A new cohort replaces the initial sample.";
69
+ readonly limits: "A cigarette does not instantly reshape a sperm. The scene does not predict the effect of a cigarette count.";
70
+ readonly sources: readonly [{
71
+ readonly title: "ASRM: Tobacco or marijuana use and infertility";
72
+ readonly url: "https://www.asrm.org/practice-guidance/practice-committee-documents/tobacco-or-marijuana-use/";
73
+ }, {
74
+ title: string;
75
+ url: string;
76
+ }];
77
+ }, {
78
+ readonly id: "alcohol";
79
+ readonly title: "Heavy alcohol use";
80
+ readonly evidence: "Human association";
81
+ readonly summary: "Explore repeated heavy alcohol use during sperm development.";
82
+ readonly mechanism: "Chronic heavy alcohol use can disrupt hormone balance and sperm production. Studies also report changes in movement and shape.";
83
+ readonly timescale: "Repeated exposure over weeks to months. This scene uses a new sample.";
84
+ readonly limits: "Heavy use differs from moderate consumption. No established dose-response curve converts drinks into the counts in this scene.";
85
+ readonly sources: readonly [{
86
+ readonly title: "ASRM: Optimizing natural fertility";
87
+ readonly url: "https://www.asrm.org/practice-guidance/practice-committee-documents/optimizing-natural-fertility-a-committee-opinion-2021/";
88
+ }];
89
+ }, {
90
+ readonly id: "stress";
91
+ readonly title: "Chronic stress";
92
+ readonly evidence: "Mixed evidence";
93
+ readonly summary: "Explore one possible link between prolonged psychological stress and reproduction.";
94
+ readonly mechanism: "Stress-related hormone signals can affect reproductive pathways. Human studies report variable associations with semen measures.";
95
+ readonly timescale: "Prolonged exposure. This example represents a later sample.";
96
+ readonly limits: "Association does not prove cause. A stressful day does not determine sperm quality. This scene shows an uncertain pathway.";
97
+ readonly sources: readonly [{
98
+ readonly title: "Effects of work and life stress on semen quality";
99
+ readonly url: "https://pmc.ncbi.nlm.nih.gov/articles/PMC4382866/";
100
+ }, {
101
+ title: string;
102
+ url: string;
103
+ }];
104
+ }, {
105
+ readonly id: "sleep";
106
+ readonly title: "Disrupted sleep";
107
+ readonly evidence: "Human association";
108
+ readonly summary: "Explore research on disturbed sleep and semen quality.";
109
+ readonly mechanism: "Sleep patterns relate to daily hormone rhythms. Observational studies report associations between disturbed sleep and some semen measures.";
110
+ readonly timescale: "Habitual sleep patterns. This example represents a later sample.";
111
+ readonly limits: "These associations do not prove cause. The model does not prescribe sleep hours or predict damage after a poor night.";
112
+ readonly sources: readonly [{
113
+ readonly title: "Sleep disturbances and semen quality in 953 young men";
114
+ readonly url: "https://pubmed.ncbi.nlm.nih.gov/23568594/";
115
+ }, {
116
+ readonly title: "Sleep duration, quality, and semen quality";
117
+ readonly url: "https://pubmed.ncbi.nlm.nih.gov/31830732/";
118
+ }];
119
+ }, {
120
+ readonly id: "heat";
121
+ readonly title: "Prolonged heat";
122
+ readonly evidence: "Established mechanism";
123
+ readonly summary: "Explore sustained heat exposure during sperm development.";
124
+ readonly mechanism: "Increased testicular temperature can disturb sperm production and function. This example changes the later cohort, not the current fluid temperature.";
125
+ readonly timescale: "Sustained exposure, followed by delayed sample changes.";
126
+ readonly limits: "The slider is not a temperature scale. Exposure duration and individual responses differ. Normal warmth does not imply damage.";
127
+ readonly sources: readonly [{
128
+ title: string;
129
+ url: string;
130
+ }, {
131
+ readonly title: "Scrotal heat stress and sperm chromatin damage in fertile men";
132
+ readonly url: "https://pmc.ncbi.nlm.nih.gov/articles/PMC4429437/";
133
+ }];
134
+ }, {
135
+ readonly id: "fever";
136
+ readonly title: "Fever";
137
+ readonly evidence: "Human association";
138
+ readonly summary: "Explore a temporary disturbance after a febrile illness.";
139
+ readonly mechanism: "Fever can disrupt developing sperm. Changes in concentration, movement, and shape can appear after the illness.";
140
+ readonly timescale: "Delayed effects over subsequent weeks. Recovery also takes time.";
141
+ readonly limits: "Responses differ with the illness and its timing. This example does not set a recovery date or diagnose an infection.";
142
+ readonly sources: readonly [{
143
+ readonly title: "History of febrile illness and variation in semen quality";
144
+ readonly url: "https://pubmed.ncbi.nlm.nih.gov/14507826/";
145
+ }];
146
+ }, {
147
+ readonly id: "metabolic";
148
+ readonly title: "Obesity and metabolic health";
149
+ readonly evidence: "Human association";
150
+ readonly summary: "Explore one pathway that links metabolic conditions with sperm development.";
151
+ readonly mechanism: "Hormone balance, inflammation, and heat can differ with metabolic conditions. Population studies associate obesity with poorer semen measures.";
152
+ readonly timescale: "Longer-term conditions. This example represents a later sample.";
153
+ readonly limits: "Body size does not diagnose fertility. Individuals differ, and the scene does not assign a target weight or a fertility score.";
154
+ readonly sources: readonly [{
155
+ title: string;
156
+ url: string;
157
+ }, {
158
+ readonly title: "Obesity, sperm DNA integrity, and mitochondrial activity";
159
+ readonly url: "https://pubmed.ncbi.nlm.nih.gov/22300410/";
160
+ }];
161
+ }, {
162
+ readonly id: "androgens";
163
+ readonly title: "Testosterone and anabolic steroids";
164
+ readonly evidence: "Established mechanism";
165
+ readonly summary: "See why external testosterone can suppress sperm production.";
166
+ readonly mechanism: "External androgens suppress pituitary signals that support sperm production. A higher blood testosterone level does not guarantee more sperm.";
167
+ readonly timescale: "Suppression and recovery develop over months. Individual timing differs.";
168
+ readonly limits: "This scene does not give medication advice or a recovery schedule. Steroid-associated suppression differs from ordinary exercise.";
169
+ readonly sources: readonly [{
170
+ readonly title: "AUA and ASRM: Diagnosis and treatment of infertility in men";
171
+ readonly url: "https://www.auanet.org/documents/Guidelines/PDF/Male-Infertility-Guideline.pdf";
172
+ }, {
173
+ title: string;
174
+ url: string;
175
+ }];
176
+ }, {
177
+ readonly id: "pesticides";
178
+ readonly title: "Certain pesticides";
179
+ readonly evidence: "Human association";
180
+ readonly summary: "Explore an example of repeated exposure to a specific class of chemicals.";
181
+ readonly mechanism: "Some chemicals can disturb hormone signals or contribute to cellular stress. Effects depend on the substance and exposure.";
182
+ readonly timescale: "Substance-specific exposure and sperm development. This example uses a later sample.";
183
+ readonly limits: "Pesticides are not one substance. This scene is not an exposure calculator and does not represent all products.";
184
+ readonly sources: readonly [{
185
+ readonly title: "WHO: Factors in the diagnosis of male infertility";
186
+ readonly url: "https://www.ncbi.nlm.nih.gov/books/NBK620433/figure/ch5.fig3/";
187
+ }, {
188
+ readonly title: "Pyrethroid metabolites, semen quality, and sperm DNA damage";
189
+ readonly url: "https://pmc.ncbi.nlm.nih.gov/articles/PMC2733825/";
190
+ }];
191
+ }];
192
+ export declare function getFactor(id: FactorId): Factor;
@@ -0,0 +1,115 @@
1
+ const eau = { title: "EAU: Male infertility", url: "https://uroweb.org/guidelines/sexual-and-reproductive-health/chapter/male-infertility" };
2
+ const nichd = { title: "NICHD: Lifestyle and environmental factors", url: "https://www.nichd.nih.gov/health/topics/infertility/conditioninfo/causes/lifestyle" };
3
+ const endurance = { title: "Endurance exercise and semen quality: systematic review", url: "https://pubmed.ncbi.nlm.nih.gov/38861008/" };
4
+ /** References for separate anatomy, movement, and energy concepts. The artwork is original. */
5
+ export const ANATOMY_SOURCES = [
6
+ { title: "WHO: Laboratory manual for human semen, sixth edition", url: "https://www.who.int/publications/i/item/9789240030787" },
7
+ { title: "Separate assessment of head, midpiece, and tail in the WHO manual", url: "https://www.sciencedirect.com/science/article/pii/S0015028221022986" },
8
+ { title: "Glycolysis and oxidative phosphorylation in sperm movement", url: "https://pmc.ncbi.nlm.nih.gov/articles/PMC3501448/" },
9
+ { title: "Human sperm proportions and longitudinal rolling", url: "https://pmc.ncbi.nlm.nih.gov/articles/PMC9790903/" },
10
+ ];
11
+ /** These records explain evidence. They do not assign clinical doses or personal risks. */
12
+ export const FACTORS = [
13
+ {
14
+ id: "exercise", title: "Regular exercise", evidence: "Human association",
15
+ summary: "Compare a sedentary example with regular physical activity over time.",
16
+ mechanism: "Physical activity can support metabolic health and hormone balance. Some studies report better semen measures in active men.",
17
+ timescale: "Weeks to months. This example represents a new sample after development.",
18
+ limits: "Exercise does not guarantee better semen or pregnancy. Studies differ, and this example has no prescribed exercise dose.",
19
+ sources: [eau, { title: "Paternal physical activity, semen quality, and reproductive outcomes", url: "https://pubmed.ncbi.nlm.nih.gov/25164027/" }, { title: "Physical activity and semen quality in a clinic cohort", url: "https://pubmed.ncbi.nlm.nih.gov/21122845/" }],
20
+ },
21
+ {
22
+ id: "endurance", title: "High-volume running", evidence: "Mixed evidence",
23
+ summary: "Explore a possible pathway during heavy endurance training with poor recovery.",
24
+ mechanism: "Low energy availability, heat, and insufficient recovery can accompany heavy training. These conditions can affect reproductive hormone signals.",
25
+ timescale: "Weeks to months. This example represents a later sample.",
26
+ limits: "Running is not inherently harmful. Endurance studies report inconsistent results. The scene shows one possible pathway, without a mileage threshold.",
27
+ sources: [endurance],
28
+ },
29
+ {
30
+ id: "cycling", title: "Long cycling sessions", evidence: "Mixed evidence",
31
+ summary: "Explore exercise conditions during prolonged cycling.",
32
+ mechanism: "Long sessions can involve local heat and pressure. Some studies report differences in semen measures among cyclists.",
33
+ timescale: "Repeated exposure over weeks. This example represents a later sample.",
34
+ limits: "Studies do not establish a universal cycling threshold. The scene shows a possible adverse example, not an inevitable effect.",
35
+ sources: [endurance, { title: "Physical activity and semen quality in a clinic cohort", url: "https://pubmed.ncbi.nlm.nih.gov/21122845/" }],
36
+ },
37
+ {
38
+ id: "smoking", title: "Smoking", evidence: "Human association",
39
+ summary: "Inspect a possible effect of repeated tobacco smoke exposure.",
40
+ mechanism: "Smoke constituents can contribute to oxidative stress and DNA damage. Membrane damage can interfere with active movement.",
41
+ timescale: "Repeated exposure and sperm development. A new cohort replaces the initial sample.",
42
+ limits: "A cigarette does not instantly reshape a sperm. The scene does not predict the effect of a cigarette count.",
43
+ sources: [{ title: "ASRM: Tobacco or marijuana use and infertility", url: "https://www.asrm.org/practice-guidance/practice-committee-documents/tobacco-or-marijuana-use/" }, eau],
44
+ },
45
+ {
46
+ id: "alcohol", title: "Heavy alcohol use", evidence: "Human association",
47
+ summary: "Explore repeated heavy alcohol use during sperm development.",
48
+ mechanism: "Chronic heavy alcohol use can disrupt hormone balance and sperm production. Studies also report changes in movement and shape.",
49
+ timescale: "Repeated exposure over weeks to months. This scene uses a new sample.",
50
+ limits: "Heavy use differs from moderate consumption. No established dose-response curve converts drinks into the counts in this scene.",
51
+ sources: [{ title: "ASRM: Optimizing natural fertility", url: "https://www.asrm.org/practice-guidance/practice-committee-documents/optimizing-natural-fertility-a-committee-opinion-2021/" }],
52
+ },
53
+ {
54
+ id: "stress", title: "Chronic stress", evidence: "Mixed evidence",
55
+ summary: "Explore one possible link between prolonged psychological stress and reproduction.",
56
+ mechanism: "Stress-related hormone signals can affect reproductive pathways. Human studies report variable associations with semen measures.",
57
+ timescale: "Prolonged exposure. This example represents a later sample.",
58
+ limits: "Association does not prove cause. A stressful day does not determine sperm quality. This scene shows an uncertain pathway.",
59
+ sources: [{ title: "Effects of work and life stress on semen quality", url: "https://pmc.ncbi.nlm.nih.gov/articles/PMC4382866/" }, nichd],
60
+ },
61
+ {
62
+ id: "sleep", title: "Disrupted sleep", evidence: "Human association",
63
+ summary: "Explore research on disturbed sleep and semen quality.",
64
+ mechanism: "Sleep patterns relate to daily hormone rhythms. Observational studies report associations between disturbed sleep and some semen measures.",
65
+ timescale: "Habitual sleep patterns. This example represents a later sample.",
66
+ limits: "These associations do not prove cause. The model does not prescribe sleep hours or predict damage after a poor night.",
67
+ sources: [{ title: "Sleep disturbances and semen quality in 953 young men", url: "https://pubmed.ncbi.nlm.nih.gov/23568594/" }, { title: "Sleep duration, quality, and semen quality", url: "https://pubmed.ncbi.nlm.nih.gov/31830732/" }],
68
+ },
69
+ {
70
+ id: "heat", title: "Prolonged heat", evidence: "Established mechanism",
71
+ summary: "Explore sustained heat exposure during sperm development.",
72
+ mechanism: "Increased testicular temperature can disturb sperm production and function. This example changes the later cohort, not the current fluid temperature.",
73
+ timescale: "Sustained exposure, followed by delayed sample changes.",
74
+ limits: "The slider is not a temperature scale. Exposure duration and individual responses differ. Normal warmth does not imply damage.",
75
+ sources: [eau, { title: "Scrotal heat stress and sperm chromatin damage in fertile men", url: "https://pmc.ncbi.nlm.nih.gov/articles/PMC4429437/" }],
76
+ },
77
+ {
78
+ id: "fever", title: "Fever", evidence: "Human association",
79
+ summary: "Explore a temporary disturbance after a febrile illness.",
80
+ mechanism: "Fever can disrupt developing sperm. Changes in concentration, movement, and shape can appear after the illness.",
81
+ timescale: "Delayed effects over subsequent weeks. Recovery also takes time.",
82
+ limits: "Responses differ with the illness and its timing. This example does not set a recovery date or diagnose an infection.",
83
+ sources: [{ title: "History of febrile illness and variation in semen quality", url: "https://pubmed.ncbi.nlm.nih.gov/14507826/" }],
84
+ },
85
+ {
86
+ id: "metabolic", title: "Obesity and metabolic health", evidence: "Human association",
87
+ summary: "Explore one pathway that links metabolic conditions with sperm development.",
88
+ mechanism: "Hormone balance, inflammation, and heat can differ with metabolic conditions. Population studies associate obesity with poorer semen measures.",
89
+ timescale: "Longer-term conditions. This example represents a later sample.",
90
+ limits: "Body size does not diagnose fertility. Individuals differ, and the scene does not assign a target weight or a fertility score.",
91
+ sources: [nichd, { title: "Obesity, sperm DNA integrity, and mitochondrial activity", url: "https://pubmed.ncbi.nlm.nih.gov/22300410/" }],
92
+ },
93
+ {
94
+ id: "androgens", title: "Testosterone and anabolic steroids", evidence: "Established mechanism",
95
+ summary: "See why external testosterone can suppress sperm production.",
96
+ mechanism: "External androgens suppress pituitary signals that support sperm production. A higher blood testosterone level does not guarantee more sperm.",
97
+ timescale: "Suppression and recovery develop over months. Individual timing differs.",
98
+ limits: "This scene does not give medication advice or a recovery schedule. Steroid-associated suppression differs from ordinary exercise.",
99
+ sources: [{ title: "AUA and ASRM: Diagnosis and treatment of infertility in men", url: "https://www.auanet.org/documents/Guidelines/PDF/Male-Infertility-Guideline.pdf" }, eau],
100
+ },
101
+ {
102
+ id: "pesticides", title: "Certain pesticides", evidence: "Human association",
103
+ summary: "Explore an example of repeated exposure to a specific class of chemicals.",
104
+ mechanism: "Some chemicals can disturb hormone signals or contribute to cellular stress. Effects depend on the substance and exposure.",
105
+ timescale: "Substance-specific exposure and sperm development. This example uses a later sample.",
106
+ limits: "Pesticides are not one substance. This scene is not an exposure calculator and does not represent all products.",
107
+ sources: [{ title: "WHO: Factors in the diagnosis of male infertility", url: "https://www.ncbi.nlm.nih.gov/books/NBK620433/figure/ch5.fig3/" }, { title: "Pyrethroid metabolites, semen quality, and sperm DNA damage", url: "https://pmc.ncbi.nlm.nih.gov/articles/PMC2733825/" }],
108
+ },
109
+ ];
110
+ export function getFactor(id) {
111
+ const factor = FACTORS.find(item => item.id === id);
112
+ if (!factor)
113
+ throw new RangeError(`Unknown factor: ${String(id)}`);
114
+ return factor;
115
+ }
@@ -0,0 +1,4 @@
1
+ export { FACTORS, ANATOMY_SOURCES, getFactor } from "./factors.js";
2
+ export { DEFECT_CATALOG, MORPHOLOGY_SOURCES, cellMatchesDefect, getDefectCounts, getCellDefects } from "./defects.js";
3
+ export { createSimulation, createChallengeSimulation, createDefectSimulation, resolveFactors, getActiveFactors, isSlow, SLOW_SPEED_THRESHOLD, stepSimulation, getMetrics, getTailPoints, findCell } from "./simulation.js";
4
+ export type { Factor, FactorId, FactorSettings, ResolvedFactors, Evidence, Source, Point, SpermCell, Simulation, SimulationOptions, Metrics, Flow, ChallengeKind, FixtureKind, Defect, DefectId, HeadShape, TailShape, MidpieceShape } from "./types.js";
@@ -0,0 +1,3 @@
1
+ export { FACTORS, ANATOMY_SOURCES, getFactor } from "./factors.js";
2
+ export { DEFECT_CATALOG, MORPHOLOGY_SOURCES, cellMatchesDefect, getDefectCounts, getCellDefects } from "./defects.js";
3
+ export { createSimulation, createChallengeSimulation, createDefectSimulation, resolveFactors, getActiveFactors, isSlow, SLOW_SPEED_THRESHOLD, stepSimulation, getMetrics, getTailPoints, findCell } from "./simulation.js";
@@ -0,0 +1,19 @@
1
+ import type { ChallengeKind, Factor, FactorSettings, Flow, Metrics, Point, ResolvedFactors, Simulation, SimulationOptions, SpermCell } from "./types.js";
2
+ export { SLOW_SPEED_THRESHOLD } from "./constants.js";
3
+ /** Resolve all twelve independent strengths. Unknown keys are errors; invalid numeric values become zero. */
4
+ export declare function resolveFactors(settings?: FactorSettings): ResolvedFactors;
5
+ export declare function getActiveFactors(world: Simulation): Factor[];
6
+ /** Create a new fictional cohort. Progress is not elapsed biological time. */
7
+ export declare function createSimulation(options?: SimulationOptions): Simulation;
8
+ /** Make an explicitly prepared sample for a discovery challenge. Cell zero is the target. */
9
+ export declare function createChallengeSimulation(kind: ChallengeKind, options?: Pick<SimulationOptions, "seed" | "count">): Simulation;
10
+ /** Make prepared anatomy examples without assigning them to a lifestyle exposure. */
11
+ export declare function createDefectSimulation(options?: Pick<SimulationOptions, "seed" | "count">): Simulation;
12
+ /** Advance physical motion only. Sperm biology remains fixed within a cohort. */
13
+ export declare function stepSimulation(world: Simulation, dt: number, flow?: Flow): void;
14
+ export declare function getMetrics(world: Simulation): Metrics;
15
+ export declare function isSlow(cell: SpermCell): boolean;
16
+ /** Return schematic tail geometry in the same normalized plane as the cell. */
17
+ export declare function getTailPoints(cell: SpermCell, time: number, tailIndex?: number): Point[];
18
+ /** Select a nearby cell with a small, input-friendly hit target. */
19
+ export declare function findCell(world: Simulation, x: number, y: number, radius?: number): SpermCell | undefined;