Zero-dependency JavaScript/ESModule reference functions for 3D craniofacial anthropometry on 478-point MediaPipe Face Landmarker meshes:
- Gaussian Bell-Curve CDF (
pslToTopPercentile): Abramowitz–Stegunerf(x)mapping standardized Z-scores to population percentiles without linear approximation drift. - Asymmetric Plateau Scoring (
asymPlateauScore): Perceptual sweet-spot kernel modeling clinical orthodontic & oculoplastic normal intervals. - Periorbital Geometry (
computeCanthalTiltDeg,classifyPalpebralFissure): Roll-normalized canthal inclination and Palpebral Fissure Ratio (PFR) classification. - 3D Ramus–Corpus Mandibular Angle (
compute3DGonialAngle): Vector cosine gonial angle across tragion, gonion, and lateral menton clusters.
You can test these equations interactively in your browser (zero server uploads) via FaceRatingScore:
- Overall 478-Point Harmony Atelier: https://faceratingscore.com/
- Bell-Curve Z-Score Reference: PSL Scale & Percentile Calculator
- 1–10 to Bell-Curve Tier Conversion: Looksmaxing Scale & Tier Chart
- Periorbital PFR & Tilt Matrix: AI Eye Shape Detector
import {
pslToTopPercentile,
asymPlateauScore,
classifyPalpebralFissure,
compute3DGonialAngle
} from "./index.js";
console.log(pslToTopPercentile(6.5)); // -> 7.66 (Top 7.66%)
console.log(asymPlateauScore(0.462, 0.445, 0.475, 0.025, 0.028)); // -> 100
console.log(classifyPalpebralFissure(31.4, 9.8, 3.6)); // -> { pfr: 3.2, shape: 'Hunter / Feline' }MIT