Controls
Presets
Parameters
Quality
Camera
Model checks
The science
Temperature-dependent sex determination (TSD). In sea turtles the sex of a hatchling is not set by chromosomes but by the temperature of the nest. Only a window of embryonic development, the thermosensitive period (TSP), counts; here it is the middle third of development, 1/3 ≤ F ≤ 2/3. The mean temperature during that window sets the probability of becoming female through a logistic curve, P(female) = 1 / (1 + exp(-(TTSP - Tpiv)/w)), with a pivotal temperature Tpiv = 29.2 C (50 % females) and a narrow transitional range (w = 0.3 C, 5 % to 95 % within about 1.8 C). Values are in the range reported for loggerhead nests and are illustrative, not a prediction for a particular beach.
Development rate. Warm eggs develop faster: dF/dt = 1/D(T) with D(T) = D0 Q10(T0 - T)/10, D0 = 55 d at 29 C and Q10 = 2.6. Temperature in the nest is T = Tm + warming + offseti + A sin(2πt) + heating·F²: sand temperature, a vertical gradient inside the clutch (eggs near the top are warmer), a daily swing and metabolic heating of the embryos late in development.
Why a daily swing matters. Because the development rate is convex in T, a symmetric swing makes eggs develop slightly faster than at the mean temperature: D = D(Tm) / I0(kA) with k = ln Q10/10 and I0 the modified Bessel function. This closed form is one of the checks.
Simplifications. No moisture, no heat conduction through the sand (the nest gradient is a prescribed Gaussian), the same parameters for every clutch, a sharp TSP, and no nest mortality at extreme temperatures (real eggs die above roughly 34 C). The TSP temperature is the time-weighted mean while 1/3 ≤ F ≤ 2/3. Checks: constant-temperature development time against its closed form, the Bessel formula for a daily swing, the logistic identities, a simulated 3000-egg clutch against a numerical quadrature of the logistic over the nest-temperature distribution, and the Q10 scaling of incubation time.