facesjs
Version:
A JavaScript library for generating vector-based cartoon faces
37 lines (36 loc) • 7.6 kB
TypeScript
export declare const svgsIndex: {
readonly accessories: readonly ["eye-black", "hat", "hat2", "hat3", "headband-high", "headband", "none"];
readonly body: readonly ["body", "body2", "body3", "body4", "body5"];
readonly ear: readonly ["ear1", "ear2", "ear3"];
readonly eye: readonly ["eye1", "eye10", "eye11", "eye12", "eye13", "eye14", "eye15", "eye16", "eye17", "eye18", "eye19", "eye2", "eye3", "eye4", "eye5", "eye6", "eye7", "eye8", "eye9", "female1", "female10", "female11", "female12", "female13", "female14", "female15", "female16", "female2", "female3", "female4", "female5", "female6", "female7", "female8", "female9"];
readonly eyeLine: readonly ["line1", "line2", "line3", "line4", "line5", "line6", "none"];
readonly eyebrow: readonly ["eyebrow1", "eyebrow10", "eyebrow11", "eyebrow12", "eyebrow13", "eyebrow14", "eyebrow15", "eyebrow16", "eyebrow17", "eyebrow18", "eyebrow19", "eyebrow2", "eyebrow20", "eyebrow3", "eyebrow4", "eyebrow5", "eyebrow6", "eyebrow7", "eyebrow8", "eyebrow9", "female1", "female10", "female2", "female3", "female4", "female5", "female6", "female7", "female8", "female9"];
readonly facialHair: readonly ["beard-point", "beard1", "beard2", "beard3", "beard4", "beard5", "beard6", "chin-strap", "chin-strapStache", "fullgoatee", "fullgoatee2", "fullgoatee3", "fullgoatee4", "fullgoatee5", "fullgoatee6", "goatee-thin-stache", "goatee-thin", "goatee1-stache", "goatee1", "goatee10", "goatee11", "goatee12", "goatee15", "goatee16", "goatee17", "goatee18", "goatee19", "goatee2", "goatee3", "goatee4-stache", "goatee4", "goatee5", "goatee6", "goatee7", "goatee8", "goatee9", "harley1-sb-1", "harley1-sb-2", "harley1", "harley2-sb-1", "harley2-sb-2", "harley2", "harly3-sb-1", "harly3-sb-2", "harly3", "honest-abe-stache", "honest-abe", "logan", "loganGoatee2", "loganGoatee2Stache", "loganGoatee3", "loganGoatee3soul", "loganGoatee3soulStache", "loganSoul", "mustache-thin", "mustache1", "mustache1SB1", "mustache1SB2", "mutton", "muttonGoatee1", "muttonGoatee1Stache", "muttonGoatee2", "muttonGoatee2Stache", "muttonGoatee5", "muttonGoatee5Stache", "muttonSoul", "muttonStache", "muttonStacheSoul", "neckbeard", "neckbeard2", "neckbeard2SB1", "neckbeard2SB2", "neckbeardSB1", "neckbeardSB2", "none", "sideburns1", "sideburns2", "sideburns3", "soul-stache", "soul", "wilt-sideburns-long", "wilt-sideburns-short", "wilt"];
readonly glasses: readonly ["facemask", "glasses1-primary", "glasses1-secondary", "glasses2-black", "glasses2-primary", "glasses2-secondary", "none"];
readonly hair: readonly ["afro", "afro2", "bald", "blowoutFade", "cornrows", "crop-fade", "crop-fade2", "crop", "curly", "curly2", "curly3", "curlyFade1", "curlyFade2", "dreads", "emo", "faux-hawk", "fauxhawk-fade", "female1", "female10", "female11", "female12", "female2", "female3", "female4", "female5", "female6", "female7", "female8", "female9", "hair", "high", "juice", "longHair", "messy-short", "messy", "middle-part", "parted", "shaggy1", "shaggy2", "short-bald", "short-fade", "short", "short2", "short3", "shortBangs", "spike", "spike2", "spike3", "spike4", "tall-fade"];
readonly hairBg: readonly ["female1", "female2", "female3", "female4", "female5", "longHair", "none", "shaggy"];
readonly head: readonly ["female1", "female2", "female3", "head1", "head10", "head11", "head12", "head13", "head14", "head15", "head16", "head17", "head18", "head2", "head3", "head4", "head5", "head6", "head7", "head8", "head9"];
readonly jersey: readonly ["baseball", "baseball2", "baseball3", "baseball4", "football", "football2", "football3", "football4", "football5", "hockey", "hockey2", "hockey3", "hockey4", "jersey", "jersey2", "jersey3", "jersey4", "jersey5"];
readonly miscLine: readonly ["blush", "chin1", "chin2", "forehead1", "forehead2", "forehead3", "forehead4", "forehead5", "freckles1", "freckles2", "none"];
readonly mouth: readonly ["angry", "closed", "mouth", "mouth2", "mouth3", "mouth4", "mouth5", "mouth6", "mouth7", "mouth8", "side", "smile-closed", "smile", "smile2", "smile3", "smile4", "straight"];
readonly nose: readonly ["honker", "nose1", "nose10", "nose11", "nose12", "nose13", "nose14", "nose2", "nose3", "nose4", "nose5", "nose6", "nose7", "nose8", "nose9", "pinocchio", "small"];
readonly smileLine: readonly ["line1", "line2", "line3", "line4", "none"];
};
export declare const svgsGenders: {
readonly accessories: readonly ["both", "both", "both", "both", "both", "both", "both"];
readonly body: readonly ["both", "both", "male", "both", "male"];
readonly ear: readonly ["both", "both", "male"];
readonly eye: readonly ["male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "female", "female", "female", "female", "female", "female", "female", "female", "female", "female", "female", "female", "female", "female", "female", "female"];
readonly eyeLine: readonly ["male", "male", "male", "male", "male", "male", "both"];
readonly eyebrow: readonly ["both", "both", "both", "both", "both", "both", "both", "both", "both", "both", "both", "both", "both", "both", "both", "both", "both", "both", "both", "both", "female", "female", "female", "female", "female", "female", "female", "female", "female", "female"];
readonly facialHair: readonly ["male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "male", "both", "male", "male", "male", "male", "male", "male", "male", "male"];
readonly glasses: readonly ["both", "both", "both", "both", "both", "both", "both"];
readonly hair: readonly ["male", "both", "male", "male", "both", "male", "male", "male", "both", "both", "both", "male", "male", "male", "both", "male", "male", "female", "female", "female", "female", "female", "female", "female", "female", "female", "female", "female", "female", "male", "male", "male", "both", "male", "male", "male", "male", "both", "both", "male", "male", "male", "male", "both", "male", "male", "male", "male", "male", "male"];
readonly hairBg: readonly ["female", "female", "female", "female", "female", "both", "both", "both"];
readonly head: readonly ["female", "female", "female", "male", "male", "male", "male", "both", "both", "male", "both", "male", "male", "both", "male", "male", "male", "both", "male", "male", "male"];
readonly jersey: readonly ["both", "both", "both", "both", "both", "both", "both", "both", "both", "both", "both", "both", "both", "both", "both", "both", "both", "both"];
readonly miscLine: readonly ["female", "both", "both", "male", "male", "male", "male", "male", "both", "both", "male"];
readonly mouth: readonly ["both", "both", "both", "both", "both", "both", "both", "both", "both", "both", "both", "both", "both", "both", "both", "both", "both"];
readonly nose: readonly ["both", "both", "both", "both", "both", "both", "both", "both", "both", "both", "both", "both", "both", "both", "both", "both", "both"];
readonly smileLine: readonly ["both", "both", "both", "both", "both"];
};