The helper behind the character argument of mascot(). Tessa and Sela
are stable built-in characters; Knurl and Neer are experimental.
Arguments
- id
A non-empty string naming a known character, or checked
mascot_character_datafrommascot_read_character()ormascot_check_character(). Defaults to"tessa";NULLis not accepted. A checked object is used as passed and is not stored anywhere; pass it each time you choose that character.
Value
A mascot_character helper carrying the character's identity and,
for a custom character, its checked drawing data.
The returned object's fields are internal; pass the object on rather than reading its fields.
Details
Tessa and Sela are stable: their ids, names, five shared moods, gesture names, colour-role names and palette names stay the same in every release. Their drawings, motion and exact palette colours may be polished. Knurl and Neer are experimental: any part may change, and neither will be removed without a warning one release earlier. The character file format and character authoring functions are experimental too.
See also
Other mascot helpers:
mascot_action(),
mascot_anchors(),
mascot_bubble(),
mascot_characters(),
mascot_check_character(),
mascot_colour_roles(),
mascot_families(),
mascot_gesture(),
mascot_gestures(),
mascot_mood(),
mascot_moods(),
mascot_motion_settings(),
mascot_palettes(),
mascot_placement(),
mascot_popup_menu(),
mascot_preview(),
mascot_read_character(),
mascot_size(),
mascot_status(),
mascot_theme()
Experimental characters
Experimental Knurl and Neer.
Examples
mascot_character()
#> mascot_character("tessa")
mascot_character("tessa")
#> mascot_character("tessa")
path <- system.file("examples", "characters", "study_bot.json", package = "mascot")
mascot_character(mascot_read_character(path))
#> <mascot_character: study_bot (checked custom character)>
