Pixel Art Neutral
Pixel Art Neutral is the gender-neutral variant of the Pixel Art vector avatar style, offering abstract pixel-based customizable profile icons in a retro aesthetic.
Pixel Art Neutral by DiceBear, licensed under CC0 1.0 .
LICENSE
While our code is MIT licensed, the design of this avatar style is licensed under CC0 1.0. See details for more information.
Usage
Use this URL to request this avatar style via our HTTP API.
https://api.dicebear.com/9.x/pixel-art-neutral/svg
You can use the URL directly as image source.
See HTTP-API docs for more information.
First install the required packages via npm:
npm install @dicebear/core @dicebear/collection --save
Then you can create this avatar as follows:
import { createAvatar } from '@dicebear/core';
import { pixelArtNeutral } from '@dicebear/collection';
const avatar = createAvatar(pixelArtNeutral, {
// ... options
});
const svg = avatar.toString();
See JS-Library docs for more information.
First install the CLI package via npm:
npm install --global dicebear
Then you can create this avatar as follows:
dicebear pixelArtNeutral
See CLI docs for more information.
Options
seed
TypestringThe seed determines the initial value for the built-in PRNG. With the PRNG you can create the same avatar over and over again based.
FelixAnekahttps://api.dicebear.com/9.x/pixel-art-neutral/svg?seed=Felix
createAvatar(pixelArtNeutral, {
seed: "Felix"
});dicebear pixelArtNeutral --seed "Felix"
flip
Typebooleanfalsetruefalsehttps://api.dicebear.com/9.x/pixel-art-neutral/svg?flip=false
createAvatar(pixelArtNeutral, {
flip: false
});dicebear pixelArtNeutral --flip false
rotate
TypeintegerMinimum 0Maximum 3600901802700https://api.dicebear.com/9.x/pixel-art-neutral/svg?rotate=0
createAvatar(pixelArtNeutral, {
rotate: 0
});dicebear pixelArtNeutral --rotate 0
scale
TypeintegerMinimum 0Maximum 20050100200100https://api.dicebear.com/9.x/pixel-art-neutral/svg?scale=50
createAvatar(pixelArtNeutral, {
scale: 50
});dicebear pixelArtNeutral --scale 50
radius
TypeintegerMinimum 0Maximum 50010203040500https://api.dicebear.com/9.x/pixel-art-neutral/svg?radius=0
createAvatar(pixelArtNeutral, {
radius: 0
});dicebear pixelArtNeutral --radius 0
size
TypeintegerMinimum 13248648096https://api.dicebear.com/9.x/pixel-art-neutral/svg?size=32
createAvatar(pixelArtNeutral, {
size: 32
});dicebear pixelArtNeutral --size 32
backgroundColor
TypearrayItem Pattern ^(transparent|[a-fA-F0-9]{6})$b6e3f4c0aeded1d4f9ffd5dcffdfbf8d5524a26d3db68655cb9e6ee0b687eac393f5cfa0ffdbachttps://api.dicebear.com/9.x/pixel-art-neutral/svg?backgroundColor=b6e3f4,c0aede,d1d4f9
createAvatar(pixelArtNeutral, {
backgroundColor: ["b6e3f4","c0aede","d1d4f9"]
});dicebear pixelArtNeutral --backgroundColor "b6e3f4" "c0aede" "d1d4f9"
backgroundType
TypearraygradientLinearsolidsolidhttps://api.dicebear.com/9.x/pixel-art-neutral/svg?backgroundType=gradientLinear,solid
createAvatar(pixelArtNeutral, {
backgroundType: ["gradientLinear","solid"]
});dicebear pixelArtNeutral --backgroundType "gradientLinear" "solid"
backgroundRotation
Typearray Specify an array of two numbers for this option. The PRNG will generate a number between the two values, which will be used as the rotation degree. The rotation is only visible if backgroundType is set to ['gradientLinear'].
0360https://api.dicebear.com/9.x/pixel-art-neutral/svg?backgroundRotation=0,360
createAvatar(pixelArtNeutral, {
backgroundRotation: [0,360]
});dicebear pixelArtNeutral --backgroundRotation 0 360
translateX
TypeintegerMinimum -100Maximum 100-50-25025500https://api.dicebear.com/9.x/pixel-art-neutral/svg?translateX=-50
createAvatar(pixelArtNeutral, {
translateX: -50
});dicebear pixelArtNeutral --translateX -50
translateY
TypeintegerMinimum -100Maximum 100-50-25025500https://api.dicebear.com/9.x/pixel-art-neutral/svg?translateY=-50
createAvatar(pixelArtNeutral, {
translateY: -50
});dicebear pixelArtNeutral --translateY -50
clip
Typebooleantruehttps://api.dicebear.com/9.x/pixel-art-neutral/svg?clip=true
createAvatar(pixelArtNeutral, {
clip: true
});dicebear pixelArtNeutral --clip true
randomizeIds
TypebooleanThis option randomize the IDs in the generated SVG / XML. This can be useful for example if the avatars are included directly in the HTML and you want to avoid ID collisions.
falsehttps://api.dicebear.com/9.x/pixel-art-neutral/svg?randomizeIds=false
createAvatar(pixelArtNeutral, {
randomizeIds: false
});dicebear pixelArtNeutral --randomizeIds false
eyes
Typearrayvariant01variant02variant03variant04variant05variant06variant07variant08variant09variant10variant11variant12variant01variant02variant03variant04variant05variant06variant07variant08variant09variant10variant11variant12https://api.dicebear.com/9.x/pixel-art-neutral/svg?eyes=variant01,variant02,variant03
createAvatar(pixelArtNeutral, {
eyes: ["variant01","variant02","variant03"]
});dicebear pixelArtNeutral --eyes "variant01" "variant02" "variant03"
eyesColor
TypearrayItem Pattern ^(transparent|[a-fA-F0-9]{6})$5b7c8b647b90697b9476778b588387876658https://api.dicebear.com/9.x/pixel-art-neutral/svg?eyesColor=5b7c8b,647b90,697b94
createAvatar(pixelArtNeutral, {
eyesColor: ["5b7c8b","647b90","697b94"]
});dicebear pixelArtNeutral --eyesColor "5b7c8b" "647b90" "697b94"
glasses
Typearraydark01dark02dark03dark04dark05dark06dark07light01light02light03light04light05light06light07dark01dark02dark03dark04dark05dark06dark07light01light02light03light04light05light06light07https://api.dicebear.com/9.x/pixel-art-neutral/svg?glasses=dark01,dark02,dark03
createAvatar(pixelArtNeutral, {
glasses: ["dark01","dark02","dark03"]
});dicebear pixelArtNeutral --glasses "dark01" "dark02" "dark03"
glassesColor
TypearrayItem Pattern ^(transparent|[a-fA-F0-9]{6})$4b4b4b5f705c43677d191919323232a04b5dhttps://api.dicebear.com/9.x/pixel-art-neutral/svg?glassesColor=4b4b4b,5f705c,43677d
createAvatar(pixelArtNeutral, {
glassesColor: ["4b4b4b","5f705c","43677d"]
});dicebear pixelArtNeutral --glassesColor "4b4b4b" "5f705c" "43677d"
glassesProbability
TypeintegerMinimum 0Maximum 100010010https://api.dicebear.com/9.x/pixel-art-neutral/svg?glassesProbability=0
createAvatar(pixelArtNeutral, {
glassesProbability: 0
});dicebear pixelArtNeutral --glassesProbability 0
mouth
Typearrayhappy01happy02happy03happy04happy05happy06happy07happy08happy09happy10happy11happy12happy13sad01sad02sad03sad04sad05sad06sad07sad08sad09sad10happy01happy02happy03happy04happy05happy06happy07happy08happy09happy10happy11happy12happy13sad01sad02sad03sad04sad05sad06sad07sad08sad09sad10https://api.dicebear.com/9.x/pixel-art-neutral/svg?mouth=happy01,happy02,happy03
createAvatar(pixelArtNeutral, {
mouth: ["happy01","happy02","happy03"]
});dicebear pixelArtNeutral --mouth "happy01" "happy02" "happy03"
mouthColor
TypearrayItem Pattern ^(transparent|[a-fA-F0-9]{6})$c98276d29985de0f0de35d6ahttps://api.dicebear.com/9.x/pixel-art-neutral/svg?mouthColor=c98276,d29985,de0f0d
createAvatar(pixelArtNeutral, {
mouthColor: ["c98276","d29985","de0f0d"]
});dicebear pixelArtNeutral --mouthColor "c98276" "d29985" "de0f0d"
Details
| Naming | |
|---|---|
| Collection Import | import { pixelArtNeutral } from '@dicebear/collection'; |
| Package Import | import * as style from '@dicebear/pixel-art-neutral'; |
| CLI | dicebear pixelArtNeutral |
| HTTP-API | https://api.dicebear.com/9.x/pixel-art-neutral/svg |
| JSON Schema | https://api.dicebear.com/9.x/pixel-art-neutral/schema.json |
| Source | |
|---|---|
| Title | Pixel Art Neutral |
| Creator | DiceBear |
| Website | https://www.dicebear.com |
| License | CC0 1.0 |
| Source | https://www.figma.com/community/file/1198754108850888330 |