Repository navigation
v0.1.0
Initial release
Morphkit is a client-side genetic calculation engine for ball python morph breeding.
What's included
- MK-1 Validation — normalizes raw input, fills implicit single-allele loci, validates sex presence for sex-linked morphs
- MK-2 Punnett Engine — Cartesian matrix across all loci, Hardy-Weinberg probability verification
- MK-3/4 Aggregator — phenotype resolution, allelic combo matching, poss-het math, lethality and congenital defect flagging
- MK-5 Web Worker — off-main-thread calculation with typed message protocol
- MK-6 Network —
syncDictionarywith stale-while-revalidatelocalStoragecache
Install
npm install @trailofdad/morphkitDictionary
Trait data is maintained separately in morphkit-dictionary and fetched at runtime via CDN — no rebuild required when morphs are added or updated.