This is a tool for randomly generating avatars for use in character sheets.
You will need node and npm installed. Then do:
npm install -g avataria
avataria
Once you have installed avataria you can generate an avatar by simply running the following:
avataria --race human
Currently there are 9 race available:
avataria --gender male
You can specify a gender by setting either male
or female
const Avataria = require('avataria');
// specify options, none are required
const opts = {
race: 'Human',
gender: 'male',
};
// call the method
const avataria = new Avataria();
const avatar = avataria.generate(opts);
- Race: defaults to random, you can set the race to any available
- Gender: defaults to random, you can set the gender to either male or female