# Big Ears Big Ears is a playful vector avatar style of cartoon heads with oversized round ears, varied hairstyles, and simple expressive faces. Generate cheerful profile icons for community apps, kids' platforms, and casual social products. - **Style name:** `big-ears` - **Category:** Characters - **Animated:** no - **Creator:** The Visual Team (https://thevisual.team/) - **Source:** https://www.figma.com/community/file/986078800058673824 - **License:** CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) ## Usage Every library below produces the same SVG for the same seed and options. HTTP API: ``` https://api.dicebear.com/10.x/big-ears/svg?seed=John ``` JavaScript: ``` npm install @dicebear/core @dicebear/styles --save ``` ```js import { Style, Avatar } from '@dicebear/core'; import definition from '@dicebear/styles/big-ears.json' with { type: 'json' }; const style = new Style(definition); const avatar = new Avatar(style, { seed: 'John' }); const svg = avatar.toString(); ``` PHP: ``` composer require dicebear/core dicebear/styles ``` ```php 'John']); $svg = (string) $avatar; ``` Python: ``` pip install dicebear-core dicebear-styles ``` ```python from importlib.resources import files from dicebear import Avatar, Style style = Style.from_json( files("dicebear_styles").joinpath("big-ears.json").read_text("utf-8") ) avatar = Avatar(style, {"seed": "John"}) svg = avatar.to_string() ``` Rust: ``` cargo add dicebear-core serde_json cargo add dicebear-styles --features big-ears ``` ```rust use dicebear_core::{Avatar, Style}; use serde_json::json; let style = Style::from_str(dicebear_styles::BIG_EARS)?; let avatar = Avatar::new(&style, json!({ "seed": "John" }))?; let svg = avatar.to_svg(); ``` Go: ``` go get github.com/dicebear/dicebear-go/v10 go get github.com/dicebear/styles/v10 ``` ```go import ( dicebear "github.com/dicebear/dicebear-go/v10" "github.com/dicebear/styles/v10" ) style, _ := dicebear.NewStyle([]byte(styles.BigEars)) avatar, _ := dicebear.NewAvatar(style, map[string]any{"seed": "John"}) svg := avatar.SVG() ``` Dart: ``` dart pub add dicebear_core dicebear_styles ``` ```dart import 'package:dicebear_core/dicebear_core.dart'; import 'package:dicebear_styles/big_ears.dart'; final style = Style.parse(bigEars); final avatar = Avatar(style, {'seed': 'John'}); final svg = avatar.svg; ``` CLI: ``` npm install --global dicebear ``` ``` dicebear big-ears ``` ## Options Every option below works in all libraries and as a query parameter of the HTTP API. The ones built from a component name (`Variant`, `Probability`) or from a color group (`Color`, `ColorFill`, `ColorFillStops`, `ColorAngle`, `ColorOrder`) belong to this style; the rest are [core options](https://www.dicebear.com/guides/core-options/) that every style accepts. | Option | Type | Values | | --- | --- | --- | | `seed` | string | | | `size` | number | 1 to 4096 | | `idRandomization` | boolean | | | `title` | string | | | `flip` | enum (array allowed) | `none`, `horizontal`, `vertical`, `both` | | `fontFamily` | string (array allowed) | | | `fontWeight` | number (array allowed) | 1 to 1000 | | `scale` | range | 0 to 10 | | `borderRadius` | range | 0 to 50 | | `rotate` | range | -360 to 360 | | `translateX` | range | -1000 to 1000 | | `translateY` | range | -1000 to 1000 | | `detailsVariant` | enum (array allowed) | `variant01`, `variant02`, `variant03`, `variant04`, `variant05`, `variant06` | | `detailsProbability` | number | 0 to 100 | | `earsVariant` | enum (array allowed) | `variant01`, `variant02`, `variant03`, `variant04`, `variant05`, `variant06`, `variant07`, `variant08` | | `earsProbability` | number | 0 to 100 | | `eyesVariant` | enum (array allowed) | `variant01`, `variant02`, `variant03`, `variant04`, `variant05`, `variant06`, `variant07`, `variant08`, `variant09`, `variant10`, `variant11`, `variant12`, `variant13`, `variant14`, `variant15`, `variant16`, `variant17`, `variant18`, `variant19`, `variant20`, `variant21`, `variant22`, `variant23`, `variant24`, `variant25`, `variant26`, `variant27`, `variant28`, `variant29`, `variant30`, `variant31`, `variant32` | | `eyesProbability` | number | 0 to 100 | | `frontHairVariant` | enum (array allowed) | `variant01`, `variant02`, `variant03`, `variant04`, `variant05`, `variant06`, `variant07`, `variant08`, `variant09`, `variant10`, `variant11`, `variant12` | | `frontHairProbability` | number | 0 to 100 | | `hairVariant` | enum (array allowed) | `long01`, `long02`, `long03`, `long04`, `long05`, `long06`, `long07`, `long08`, `long09`, `long10`, `long11`, `long12`, `long13`, `long14`, `long15`, `long16`, `long17`, `long18`, `long19`, `long20`, `short01`, `short02`, `short03`, `short04`, `short05`, `short06`, `short07`, `short08`, `short09`, `short10`, `short11`, `short12`, `short13`, `short14`, `short15`, `short16`, `short17`, `short18`, `short19`, `short20` | | `hairProbability` | number | 0 to 100 | | `headVariant` | enum (array allowed) | `variant01`, `variant02`, `variant03`, `variant04`, `variant05`, `variant06`, `variant07`, `variant08`, `variant09`, `variant10` | | `headProbability` | number | 0 to 100 | | `mouthVariant` | enum (array allowed) | `variant0101`, `variant0102`, `variant0103`, `variant0104`, `variant0105`, `variant0201`, `variant0202`, `variant0203`, `variant0204`, `variant0205`, `variant0301`, `variant0302`, `variant0303`, `variant0304`, `variant0305`, `variant0401`, `variant0402`, `variant0403`, `variant0404`, `variant0405`, `variant0501`, `variant0502`, `variant0503`, `variant0504`, `variant0505`, `variant0601`, `variant0602`, `variant0603`, `variant0604`, `variant0605`, `variant0701`, `variant0702`, `variant0703`, `variant0704`, `variant0705`, `variant0706`, `variant0707`, `variant0708` | | `mouthProbability` | number | 0 to 100 | | `noseVariant` | enum (array allowed) | `variant01`, `variant02`, `variant03`, `variant04`, `variant05`, `variant06`, `variant07`, `variant08`, `variant09`, `variant10`, `variant11`, `variant12` | | `noseProbability` | number | 0 to 100 | | `sideburnsVariant` | enum (array allowed) | `variant01`, `variant02`, `variant03`, `variant04`, `variant05`, `variant06`, `variant07` | | `sideburnsProbability` | number | 0 to 100 | | `hairColor` | color (array allowed) | Hex color, `#` optional | | `hairColorFill` | enum (array allowed) | `solid`, `linear`, `radial` | | `hairColorFillStops` | range | | | `hairColorAngle` | range | -360 to 360 | | `hairColorOrder` | enum | `random`, `fixed` | | `skinColor` | color (array allowed) | Hex color, `#` optional | | `skinColorFill` | enum (array allowed) | `solid`, `linear`, `radial` | | `skinColorFillStops` | range | | | `skinColorAngle` | range | -360 to 360 | | `skinColorOrder` | enum | `random`, `fixed` | | `backgroundColor` | color (array allowed) | Hex color, `#` optional | | `backgroundColorFill` | enum (array allowed) | `solid`, `linear`, `radial` | | `backgroundColorFillStops` | range | | | `backgroundColorAngle` | range | -360 to 360 | | `backgroundColorOrder` | enum | `random`, `fixed` | The same table is available as JSON at `https://api.dicebear.com/10.x/big-ears/options.json`, and the raw definition at `https://api.dicebear.com/10.x/big-ears/definition.json`.