Skip to content

buggyblues/buddy-maker

Repository files navigation

BuddyMaker

A monorepo for creating buddies.

@shadowob/buddy-maker

This package provides a library to generate fun and unique buddy SVGs.

Installation

pnpm add @shadowob/buddy-maker

Usage

import { BuddyMaker, patterns } from '@shadowob/buddy-maker';

// Get a random buddy
const randomBuddy = BuddyMaker.random();

// Get a buddy from a preset
const cyborg = BuddyMaker.preset('CyberBlack');

// Create a custom buddy using new options and pattern helpers
const customBuddy = BuddyMaker.create({
  id: 'custom',
  name: 'My Custom Buddy',
  colors: ['#c0ffee', '#bad', '#dad'],
  eye: 'eyeGreen',
  mouth: 'smile',
  accessories: ['glasses', 'bowTie'],
  patterns: patterns.tabbyM('rgba(0,0,0,0.2)'),
});

Customization

The King
The King
BuddyMaker.create({
  id: 'example_king',
  name: 'The King',

"accessories": [ "crown", "scarf" ], "mouth": "smile", "whiskers": true, "colors": [ "#f8b146", "#e07d24", "#b34d0b" ] "patterns": BuddyMaker.patterns.bengalMarks('rgba(80,20,0,0.4)')

});

Cool Cat
Cool Cat
BuddyMaker.create({
id: 'example_cool',
name: 'Cool Cat',

"accessories": [ "sunglasses" ], "colors": [ "#cfd4d8", "#a4aeb8", "#63717d" ], "mouth": "smile", "whiskers": true "patterns": BuddyMaker.patterns.tabbyM('rgba(0,0,0,0.3)')

});

DJ Paws
DJ Paws
BuddyMaker.create({
  id: 'example_dj',
  name: 'DJ Paws',

"accessories": [ "headphones", "sunglasses" ], "colors": [ "#283747", "#17202a", "#0b0f13" ], "whiskers": true "patterns": BuddyMaker.patterns.tuxedoPatch()

});

Gamer
Gamer
BuddyMaker.create({
id: 'example_gamer',
name: 'Gamer',

"accessories": [ "headphones" ], "mouth": "surprised", "colors": [ "#ecf0f1", "#bdc3c7", "#95a5a6" ], "whiskers": true "patterns": BuddyMaker.patterns.calicoPatch()

});

Gentleman
Gentleman
BuddyMaker.create({
  id: 'example_tophat',
  name: 'Gentleman',

"accessories": [ "topHat" ], "mouth": "smile", "whiskers": true, "colors": [ "#ecf0f1", "#bdc3c7", "#95a5a6" ] "patterns": BuddyMaker.patterns.gingerWhitePatch()

});

Party Time
Party Time
BuddyMaker.create({
id: 'example_smallhat',
name: 'Party Time',

"accessories": [ "smallHat", "bowTie" ], "mouth": "smile", "whiskers": true, "colors": [ "#ffffff", "#f4f6f7", "#dadddf" ] "patterns": BuddyMaker.patterns.cowSpots()

});

Distinguished
Distinguished
BuddyMaker.create({
  id: 'example_monocle',
  name: 'Distinguished',

"accessories": [ "monocle" ], "whiskers": true, "colors": [ "#633215", "#45210c", "#291205" ] "patterns": BuddyMaker.patterns.sphynxWrinkles()

});

Cozy
Cozy
BuddyMaker.create({
id: 'example_scarf',
name: 'Cozy',

"accessories": [ "scarf" ], "mouth": "smile", "whiskers": true, "colors": [ "#fdebd0", "#f5cba7", "#f0b27a" ]

});

Nerdy
Nerdy
BuddyMaker.create({
  id: 'example_glasses',
  name: 'Nerdy',

"accessories": [ "glasses" ], "whiskers": true, "colors": [ "#3498db", "#2980b9", "#1f618d" ]

});

Dapper
Dapper
BuddyMaker.create({
id: 'example_bowtie',
name: 'Dapper',

"accessories": [ "bowTie" ], "mouth": "smile", "whiskers": true, "colors": [ "#9b59b6", "#8e44ad", "#7d3c98" ]

});

Zany
Zany
BuddyMaker.create({
  id: 'example_custom_eyes',
  name: 'Zany',

"eyeLColor": "#ff00ff", "eyeRColor": "#00ffff", "whiskers": true, "colors": [ "#2ecc71", "#27ae60", "#1e8449" ]

});

Detective
Detective
BuddyMaker.create({
id: 'example_detective',
name: 'Detective',

"accessories": [ "topHat", "monocle" ], "colors": [ "#fdfefe", "#f5f5f5", "#ebebeb" ], "whiskers": true

});

Princess
Princess
BuddyMaker.create({
  id: 'example_princess',
  name: 'Princess',

"accessories": [ "crown", "blush", "pearlNecklace" ], "mouth": "smile", "colors": [ "#ffffff", "#eceff1", "#c7d0d6" ], "eye": "eyeCyan", "whiskers": true "patterns": BuddyMaker.patterns.tortoiseshellPatch()

});

Pop Idol
Pop Idol
BuddyMaker.create({
id: 'example_idol',
name: 'Pop Idol',

"accessories": [ "hairBow", "eyeshadowPink", "starHairpin" ], "colors": [ "#fdf5df", "#fae5b1", "#f3ca6f" ], "eye": "eyeBlue", "whiskers": true "patterns": BuddyMaker.patterns.bengalMarks('rgba(255,100,200,0.5)')

});

Fashionista
Fashionista
BuddyMaker.create({
  id: 'example_fashion',
  name: 'Fashionista',

"accessories": [ "smallHat", "earring", "blush", "eyeshadowBlue" ], "colors": [ "#cfd4d8", "#a4aeb8", "#63717d" ], "mouth": "smile", "whiskers": true "patterns": BuddyMaker.patterns.gingerWhitePatch()

});

Spring Love
Spring Love
BuddyMaker.create({
id: 'example_spring',
name: 'Spring Love',

"accessories": [ "flower", "blush", "ribbon" ], "colors": [ "#ffffff", "#f4f6f7", "#dadddf" ], "eye": "eyeGreen", "whiskers": true "patterns": BuddyMaker.patterns.calicoPatch()

});

Sweetheart
Sweetheart
BuddyMaker.create({
  id: 'example_sweetheart',
  name: 'Sweetheart',

"accessories": [ "heartHairpin", "pearlNecklace", "blush" ], "colors": [ "#f5cec9", "#e8a9a2", "#d68378" ], "eye": "eyeCopper", "whiskers": true "patterns": BuddyMaker.patterns.sphynxWrinkles()

});

Fancy Lady
Fancy Lady
BuddyMaker.create({
id: 'example_fancy',
name: 'Fancy Lady',

"accessories": [ "hairBow", "earring", "ribbon" ], "colors": [ "#fdfefe", "#f0f3f4", "#dfe5e8" ], "mouth": "smile", "whiskers": true "patterns": BuddyMaker.patterns.cowSpots()

});

Gamer Girl
Gamer Girl
BuddyMaker.create({
  id: 'example_gamer_girl',
  name: 'Gamer Girl',

"accessories": [ "headphones", "blush", "heartHairpin" ], "colors": [ "#ffffff", "#eceff1", "#c7d0d6" ], "mouth": "surprised", "eye": "eyeBlue", "whiskers": true "patterns": BuddyMaker.patterns.tabbyM('rgba(0,0,0,0.2)')

});

Magician
Magician
BuddyMaker.create({
id: 'example_magic',
name: 'Magician',

"accessories": [ "topHat", "bowTie" ], "colors": [ "#283747", "#17202a", "#0b0f13" ], "eye": "eyeCopper", "whiskers": true

});

Golden Scarf
Golden Scarf
BuddyMaker.create({
  id: 'example_golden',
  name: 'Golden Scarf',

"accessories": [ "scarf" ], "colors": [ "#fbe0a3", "#f3c47f", "#e69f4e" ], "eye": "eyeGreen", "whiskers": true

});

The Boss
The Boss
BuddyMaker.create({
id: 'example_boss',
name: 'The Boss',

"accessories": [ "sunglasses", "bowTie" ], "colors": [ "#fdf5df", "#fae5b1", "#f3ca6f" ], "mouth": "frown", "whiskers": true

});

Presets Gallery

原味赛博
CyberBlack
狸花猫
BrownTabby
橘猫
OrangeTabby
美短
AmShorthair
三花猫
Calico
玳瑁猫
Tortoiseshell
奶牛猫
Tuxedo
暹罗猫
Siamese
英短蓝猫
BritShorthair
俄罗斯蓝猫
RussianBlue
纯白猫
WhiteCat
纯黑猫
BlackCat
布偶猫
Ragdoll
豹猫
Bengal
橘白猫
GingerWhite
黑白花猫
CowCat
淡紫重点色
LilacPoint
蓝重点色
BluePoint
金渐层
GoldenChinchilla
银渐层
SilverChinchilla
乳色虎斑
CreamTabby
巧克力猫
Chocolate
灰黄猫
Fawn
烟色猫
Smoke
无毛猫
Sphynx

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors