Built-in Assets
Kamoji's own pictures, animations, sounds and fonts are free to use in your mini apps. They are already on every Kamoji, so your mini app stays small: refer to them by name.
- Images and animations:
"src": "builtin:<name>"in animageorgifwidget, orc:image("builtin:<name>", x, y)when drawing. - Sounds:
kamoji.play("<name>")(see Sound). - Fonts:
"font": "builtin:<name>"on alabel, orfont = "builtin:<name>"inc:text.
The names below stay the same in future firmware: new ones may be added, none are renamed.
Most of them need Kamoji firmware 0.3.4 or later
(marked "firmware 0.3.4").
Older firmware has only kamoji_yellow,
exciteometer_vignette, the fonts exciteometer_value,
exciteometer_unit and status, and all the sounds.
A mini app that uses a newer one sets
"min_firmware": "0.3.4".
On older firmware an unknown name is skipped
(the widget stays hidden) with a warning in the log.
The previews show each file as Kamoji does, at its real size in pixels. Kamoji's screen is 240 × 240 pixels, a rounded rectangle. The checkered background shows transparent parts.
Images
Pictures built into Kamoji's firmware. They show at once: there is nothing to load.




Eye frames
Kamoji's eyes, in 50 frames from angry (eyes_00)
to wide open (eyes_49):
the eyes mode picks one by how hard the car brakes or speeds up.
Each frame is 240 px wide; their heights differ.
They have a black background, not a transparent one.
{ "type": "image", "src": "builtin:eyes_30", "align": "center" }
To animate them, bind the src to a name you build:
{ "type": "image", "align": "center",
"src": "{{ 'builtin:eyes_' .. string.format('%02d', state.eye) }}" }
c:image(string.format("builtin:eyes_%02d", i), 120, 120, { align = "center" })
All 50 frames, there and back
eyes_00 240 × 43
eyes_01 240 × 40
eyes_02 240 × 39
eyes_03 240 × 38
eyes_04 240 × 37
eyes_05 240 × 35
eyes_06 240 × 33
eyes_07 240 × 33
eyes_08 240 × 32
eyes_09 240 × 31
eyes_10 240 × 30
eyes_11 240 × 28
eyes_12 240 × 27
eyes_13 240 × 25
eyes_14 240 × 24
eyes_15 240 × 23
eyes_16 240 × 23
eyes_17 240 × 25
eyes_18 240 × 25
eyes_19 240 × 26
eyes_20 240 × 28
eyes_21 240 × 27
eyes_22 240 × 29
eyes_23 240 × 31
eyes_24 240 × 32
eyes_25 240 × 34
eyes_26 240 × 35
eyes_27 240 × 38
eyes_28 240 × 41
eyes_29 240 × 44
eyes_30 240 × 47
eyes_31 240 × 49
eyes_32 240 × 51
eyes_33 240 × 53
eyes_34 240 × 55
eyes_35 240 × 58
eyes_36 240 × 60
eyes_37 240 × 62
eyes_38 240 × 64
eyes_39 240 × 66
eyes_40 240 × 68
eyes_41 240 × 69
eyes_42 240 × 71
eyes_43 240 × 72
eyes_44 240 × 74
eyes_45 240 × 75
eyes_46 240 × 76
eyes_47 240 × 76
eyes_48 239 × 77
eyes_49 240 × 78Animations
The animated GIFs of Kamoji's own expressions and screens. They come from Kamoji's asset set, the files the Kamoji app keeps up to date on Kamoji, so they always match what Kamoji itself shows.
Needs Kamoji firmware 0.3.4 or later.
- Use them like your own GIFs:
a
gifwidget (with"loop": falseto play once and stop on the last frame), animagewidget (always loops), orc:image(shows the current frame).zoom,angleandopacitywork too. - All are 240 × 240 px, with a black background.
- They load in the background when the mini app needs them (well under 0.1 s), and count toward the memory for images like your own GIFs: 4 GIFs at a time.
- If a Kamoji does not have one yet (its asset set was never updated), the widget stays hidden, with a warning in the log, once.


































Sounds
Kamoji's own sounds, played with kamoji.play(name [, volume]).
kamoji.sounds() lists the names a Kamoji has.
For driving reactions, use kamoji.motion_sound
(see Sound):
it respects the user's Motion Sound setting.
The players here are MP3 copies of Kamoji's WAV files.
kamoji.play("app_connected")0.9 skamoji.play("bright_to_dark")3.3 skamoji.play("dark_to_bright")0.9 skamoji.play("firmware_updating")0.9 skamoji.play("idle_are_we_there_yet")7.7 skamoji.play("idle_tire")4.8 skamoji.play("idle_whistle")4.0 skamoji.play("idle_wiper")5.0 skamoji.play("kamoji")0.6 skamoji.play("motion_accelerate_1")3.0 skamoji.play("motion_accelerate_2")2.1 skamoji.play("motion_accelerate_3")3.3 skamoji.play("motion_braking_1")0.7 skamoji.play("motion_braking_2")0.6 skamoji.play("motion_bumpy")3.4 skamoji.play("motion_grumpy_1")0.9 skamoji.play("motion_grumpy_2")1.2 skamoji.play("motion_lean_1")1.3 skamoji.play("motion_lean_2")0.7 skamoji.play("motion_lean_3")1.3 skamoji.play("motion_lean_4")1.4 skamoji.play("motion_lean_5")0.7 skamoji.play("motion_lean_6")1.2 skamoji.play("motion_puke_start_1")2.0 skamoji.play("motion_yawn_1")1.5 skamoji.play("motion_yawn_2")2.0 skamoji.play("motion_yawn_3")2.3 skamoji.play("peer_detected")0.9 skamoji.play("pinch_cheek")0.7 skamoji.play("pinch_cheek_1")0.2 skamoji.play("pinch_cheek_2")0.2 skamoji.play("race_mode_animation")6.8 skamoji.play("race_mode_idle")2.3 skamoji.play("race_mode_intro")4.8 skamoji.play("rebooting")0.9 skamoji.play("settings_dismissed")0.2 skamoji.play("settings_triggered")0.9 skamoji.play("tap_head")0.7 skamoji.play("tap_head_giggle_1")0.7 skamoji.play("tap_head_giggle_2")0.7 skamoji.play("touch_single")0.1 skamoji.play("wifi_connected")5.8 skamoji.play("zap")1.1 sFonts
Fonts of Kamoji's own screens, for labels and c:text.
The samples are drawn with the same font files
at the same sizes as on Kamoji.
A character a font does not have shows as a small box.
builtin:exciteometer_value
and the other characters
¢ £ ¥ © ® ° · × ÷ – — ‘ ’ “ ” • … € ™ −{ "type": "label", "font": "builtin:exciteometer_value", "text": "Kamoji" }
builtin:exciteometer_unitand the other characters
¢ £ ¥ © ® ° · × ÷ – — ‘ ’ “ ” • … € ™ −{ "type": "label", "font": "builtin:exciteometer_unit", "text": "Kamoji" }
builtin:status
and the other characters
¢ £ ¥ © ® ° · × ÷ – — ‘ ’ “ ” • … € ™ −{ "type": "label", "font": "builtin:status", "text": "Kamoji" }
builtin:regular_160.3.4
and the other characters
¢ £ ¥ © ® ° · × ÷ – — ‘ ’ “ ” • … € ™ −{ "type": "label", "font": "builtin:regular_16", "text": "Kamoji" }
builtin:roboto_bold_200.3.4
the characters
! " # % ( ) + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < > ? A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ ] a b c d e f g h i j k l m n o p q r s t u v w x y z À Á Â Ã È É Ê Ì Í Ò Ó Ô Õ Ù Ú Ý à á â ã è é ê ì í ò ó ô õ ù ú ý Ă ă Đ đ Ĩ ĩ Ũ ũ Ơ ơ Ư ư Ạ ạ Ả ả Ấ ấ Ầ ầ Ẫ ẫ Ậ ậ Ắ ắ Ằ ằ Ặ ặ Ẹ ẹ Ẻ ẻ Ẽ ẽ Ế ế Ề ề Ể ể Ễ ễ Ệ ệ Ỉ ỉ Ị ị Ọ ọ Ỏ ỏ Ố ố Ồ ồ Ổ ổ Ỗ ỗ Ộ ộ Ớ ớ Ờ ờ Ở ở Ỡ ỡ Ợ ợ Ụ ụ Ủ ủ Ứ ứ Ừ ừ Ử ử Ữ ữ Ự ự Ỳ ỳ Ỵ ỵ Ỷ ỷ Ỹ ỹ •{ "type": "label", "font": "builtin:roboto_bold_20", "text": "Kamoji" }
builtin:roboto_160.3.4
the characters
! " # % ( ) + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < > ? A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ ] a b c d e f g h i j k l m n o p q r s t u v w x y z À Á Â Ã È É Ê Ì Í Ò Ó Ô Õ Ù Ú Ý à á â ã è é ê ì í ò ó ô õ ù ú ý Ă ă Đ đ Ĩ ĩ Ũ ũ Ơ ơ Ư ư Ạ ạ Ả ả Ấ ấ Ầ ầ Ẫ ẫ Ậ ậ Ắ ắ Ằ ằ Ặ ặ Ẹ ẹ Ẻ ẻ Ẽ ẽ Ế ế Ề ề Ể ể Ễ ễ Ệ ệ Ỉ ỉ Ị ị Ọ ọ Ỏ ỏ Ố ố Ồ ồ Ổ ổ Ỗ ỗ Ộ ộ Ớ ớ Ờ ờ Ở ở Ỡ ỡ Ợ ợ Ụ ụ Ủ ủ Ứ ứ Ừ ừ Ử ử Ữ ữ Ự ự Ỳ ỳ Ỵ ỵ Ỷ ỷ Ỹ ỹ •{ "type": "label", "font": "builtin:roboto_16", "text": "Kamoji" }
builtin:icons_300.3.4{ "type": "label", "font": "builtin:icons_30", "text": "Kamoji" }
builtin:icons_600.3.4{ "type": "label", "font": "builtin:icons_60", "text": "Kamoji" }
The four text sizes
The default fonts every mini app uses,
written without builtin:.
small
and the other characters
¡ ¢ £ ¥ § ¨ © ª « ® ¯ ° ´ ¶ · ¸ º » ¿ À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï Ð Ñ Ò Ó Ô Õ Ö × Ø Ù Ú Û Ü Ý Þ ß à á â ã ä å æ ç è é ê ë ì í î ï ð ñ ò ó ô õ ö ÷ ø ù ú û ü ý þ ÿ Ā ā Ă ă Ą ą Ć ć Ċ ċ Č č Ď ď Đ đ Ē ē Ė ė Ę ę Ě ě Ğ ğ Ġ ġ Ģ ģ Ħ ħ Ĩ ĩ Ī ī Į į İ ı Ķ ķ Ĺ ĺ Ļ ļ Ľ ľ Ł ł Ń ń Ņ ņ Ň ň Ő ő Œ œ Ŕ ŕ Ř ř Ś ś Ş ş Š š Ť ť Ũ ũ Ū ū Ů ů Ű ű Ų ų Ŵ ŵ Ŷ ŷ Ÿ Ź ź Ż ż Ž ž Ơ ơ Ư ư Ș ș Ț ț ȷ ˆ ˇ ˘ ˙ ˚ ˛ ˜ ˝ ̀ ́ ̂ ̃ ̄ ̆ ̇ ̈ ̉ ̊ ̋ ̌ ̛ ̣ ̦ ̧ ̨ Ẁ ẁ Ẃ ẃ Ẅ ẅ Ạ ạ Ả ả Ấ ấ Ầ ầ Ẩ ẩ Ẫ ẫ Ậ ậ Ắ ắ Ằ ằ Ẳ ẳ Ẵ ẵ Ặ ặ Ẹ ẹ Ẻ ẻ Ẽ ẽ Ế ế Ề ề Ể ể Ễ ễ Ệ ệ Ỉ ỉ Ị ị Ọ ọ Ỏ ỏ Ố ố Ồ ồ Ổ ổ Ỗ ỗ Ộ ộ Ớ ớ Ờ ờ Ở ở Ỡ ỡ Ợ ợ Ụ ụ Ủ ủ Ứ ứ Ừ ừ Ử ử Ữ ữ Ự ự Ỳ ỳ Ỵ ỵ Ỷ ỷ Ỹ ỹ – — ‘ ’ ‚ “ ” „ • … ‹ › € ™ −ก ข ฃ ค ฅ ฆ ง จ ฉ ช ซ ฌ ญ ฎ ฏ ฐ ฑ ฒ ณ ด ต ถ ท ธ น บ ป ผ ฝ พ ฟ ภ ม ย ร ฤ ล ฦ ว ศ ษ ส ห ฬ อ ฮ ฯ ะ ั า ำ ิ ี ึ ื ุ ู ฺ ฿ เ แ โ ใ ไ ๅ ๆ ็ ่ ้ ๊ ๋ ์ ํ ๎ ๏ ๐ ๑ ๒ ๓ ๔ ๕ ๖ ๗ ๘ ๙ ๚ ๛{ "type": "label", "font": "small", "text": "Kamoji" }
medium
and the other characters
¡ ¢ £ ¥ § ¨ © ª « ® ¯ ° ´ ¶ · ¸ º » ¿ À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï Ð Ñ Ò Ó Ô Õ Ö × Ø Ù Ú Û Ü Ý Þ ß à á â ã ä å æ ç è é ê ë ì í î ï ð ñ ò ó ô õ ö ÷ ø ù ú û ü ý þ ÿ Ā ā Ă ă Ą ą Ć ć Ċ ċ Č č Ď ď Đ đ Ē ē Ė ė Ę ę Ě ě Ğ ğ Ġ ġ Ģ ģ Ħ ħ Ĩ ĩ Ī ī Į į İ ı Ķ ķ Ĺ ĺ Ļ ļ Ľ ľ Ł ł Ń ń Ņ ņ Ň ň Ő ő Œ œ Ŕ ŕ Ř ř Ś ś Ş ş Š š Ť ť Ũ ũ Ū ū Ů ů Ű ű Ų ų Ŵ ŵ Ŷ ŷ Ÿ Ź ź Ż ż Ž ž Ơ ơ Ư ư Ș ș Ț ț ȷ ˆ ˇ ˘ ˙ ˚ ˛ ˜ ˝ ̀ ́ ̂ ̃ ̄ ̆ ̇ ̈ ̉ ̊ ̋ ̌ ̛ ̣ ̦ ̧ ̨ Ẁ ẁ Ẃ ẃ Ẅ ẅ Ạ ạ Ả ả Ấ ấ Ầ ầ Ẩ ẩ Ẫ ẫ Ậ ậ Ắ ắ Ằ ằ Ẳ ẳ Ẵ ẵ Ặ ặ Ẹ ẹ Ẻ ẻ Ẽ ẽ Ế ế Ề ề Ể ể Ễ ễ Ệ ệ Ỉ ỉ Ị ị Ọ ọ Ỏ ỏ Ố ố Ồ ồ Ổ ổ Ỗ ỗ Ộ ộ Ớ ớ Ờ ờ Ở ở Ỡ ỡ Ợ ợ Ụ ụ Ủ ủ Ứ ứ Ừ ừ Ử ử Ữ ữ Ự ự Ỳ ỳ Ỵ ỵ Ỷ ỷ Ỹ ỹ – — ‘ ’ ‚ “ ” „ • … ‹ › € ™ −ก ข ฃ ค ฅ ฆ ง จ ฉ ช ซ ฌ ญ ฎ ฏ ฐ ฑ ฒ ณ ด ต ถ ท ธ น บ ป ผ ฝ พ ฟ ภ ม ย ร ฤ ล ฦ ว ศ ษ ส ห ฬ อ ฮ ฯ ะ ั า ำ ิ ี ึ ื ุ ู ฺ ฿ เ แ โ ใ ไ ๅ ๆ ็ ่ ้ ๊ ๋ ์ ํ ๎ ๏ ๐ ๑ ๒ ๓ ๔ ๕ ๖ ๗ ๘ ๙ ๚ ๛{ "type": "label", "font": "medium", "text": "Kamoji" }
large
and the other characters
¢ £ ¥ © ® ° · × ÷ – — ‘ ’ “ ” • … € ™ −{ "type": "label", "font": "large", "text": "Kamoji" }
huge
the characters
" % ' ( ) + , - . / 0 1 2 3 4 5 6 7 8 9 : ; °{ "type": "label", "font": "huge", "text": "Kamoji" }
Icons
Some built-in fonts carry icons from
Material Design Icons.
Put an icon in a text like any character:
in Lua with \u{...},
in layout.json with the two \u escapes shown,
or by pasting the character itself.
The icon fonts icons_30 and icons_60 have no letters and no space:
put each icon in its own label, or use x to space them.
{ "type": "label", "font": "builtin:icons_30", "text": "", "color": "red" }
c:text(120, 40, "\u{F02D1}", { font = "builtin:icons_30", color = "red", align = "center" })
| Icon | Name, code | Lua | JSON | In the fonts |
|---|---|---|---|---|
| alert-circle U+F0028 | \u{F0028} | \uDB80\uDC28 | status, menu, roboto_16, icons_30 | |
| bluetooth U+F00AF | \u{F00AF} | \uDB80\uDCAF | status, regular_16, menu, icons_30 | |
| bluetooth-connect U+F00B1 | \u{F00B1} | \uDB80\uDCB1 | regular_16 | |
| bowling U+F00D3 | \u{F00D3} | \uDB80\uDCD3 | menu, icons_30 | |
| check U+F012C | \u{F012C} | \uDB80\uDD2C | status | |
| checkbox-blank-outline U+F0131 | \u{F0131} | \uDB80\uDD31 | menu, roboto_16 | |
| checkbox-marked-circle U+F0133 | \u{F0133} | \uDB80\uDD33 | menu, roboto_16 | |
| cloud-download U+F0162 | \u{F0162} | \uDB80\uDD62 | status, menu, roboto_16, icons_30 | |
| cloud-upload U+F0167 | \u{F0167} | \uDB80\uDD67 | status, menu, roboto_16, icons_30 | |
| cursor-move U+F01BE | \u{F01BE} | \uDB80\uDDBE | roboto_16 | |
| dots-horizontal U+F01D8 | \u{F01D8} | \uDB80\uDDD8 | menu, icons_30 | |
| download U+F01DA | \u{F01DA} | \uDB80\uDDDA | status, menu, roboto_16, icons_30 | |
| bowl U+F028E | \u{F028E} | \uDB80\uDE8E | menu, icons_30 | |
| heart U+F02D1 | \u{F02D1} | \uDB80\uDED1 | menu, icons_30 | |
| led-on U+F032C | \u{F032C} | \uDB80\uDF2C | roboto_16 | |
| microphone U+F036C | \u{F036C} | \uDB80\uDF6C | roboto_16 | |
| play U+F040A | \u{F040A} | \uDB81\uDC0A | roboto_16 | |
| checkbox-blank-circle-outline U+F043D | \u{F043D} | \uDB81\uDC3D | menu, roboto_16 | |
| radiobox-marked U+F043E | \u{F043E} | \uDB81\uDC3E | menu, roboto_16 | |
| sleep U+F04B2 | \u{F04B2} | \uDB81\uDCB2 | menu, icons_30 | |
| sunglasses U+F04E0 | \u{F04E0} | \uDB81\uDCE0 | menu, icons_30 | |
| upload U+F0552 | \u{F0552} | \uDB81\uDD52 | status, menu, roboto_16, icons_30 | |
| volume-high U+F057E | \u{F057E} | \uDB81\uDD7E | menu, roboto_16, icons_30 | |
| volume-low U+F057F | \u{F057F} | \uDB81\uDD7F | menu, roboto_16, icons_30 | |
| volume-medium U+F0580 | \u{F0580} | \uDB81\uDD80 | menu, roboto_16, icons_30 | |
| white-balance-sunny U+F05A8 | \u{F05A8} | \uDB81\uDDA8 | roboto_16 | |
| chart-bubble U+F05E3 | \u{F05E3} | \uDB81\uDDE3 | menu, icons_30 | |
| cloud-sync U+F063F | \u{F063F} | \uDB81\uDE3F | status, menu, roboto_16, icons_30 | |
| restart U+F0709 | \u{F0709} | \uDB81\uDF09 | status, menu, icons_30 | |
| volume-mute U+F075F | \u{F075F} | \uDB81\uDF5F | menu, roboto_16, icons_30 | |
| car-sports U+F07AC | \u{F07AC} | \uDB81\uDFAC | menu, icons_30, icons_60 | |
| cards-diamond U+F08CF | \u{F08CF} | \uDB82\uDCCF | menu, icons_30 | |
| power-sleep U+F0904 | \u{F0904} | \uDB82\uDD04 | menu, icons_30 | |
| chevron-left-circle-outline U+F0B29 | \u{F0B29} | \uDB82\uDF29 | menu, roboto_16 | |
| chevron-right-circle-outline U+F0B2B | \u{F0B2B} | \uDB82\uDF2B | menu, roboto_16 | |
| card U+F0B6F | \u{F0B6F} | \uDB82\uDF6F | menu, icons_30 | |
| car-brake-alert U+F0C48 | \u{F0C48} | \uDB83\uDC48 | menu, icons_30 | |
| car-light-high U+F0C4C | \u{F0C4C} | \uDB83\uDC4C | menu, icons_30 | |
| checkbox-outline U+F0C52 | \u{F0C52} | \uDB83\uDC52 | menu, roboto_16 | |
| gesture-tap-hold U+F0D77 | \u{F0D77} | \uDB83\uDD77 | roboto_16 | |
| check-bold U+F0E1E | \u{F0E1E} | \uDB83\uDE1E | roboto_16 | |
| car-windshield U+F101B | \u{F101B} | \uDB84\uDC1B | menu, icons_30 | |
| lightning-bolt U+F140B | \u{F140B} | \uDB85\uDC0B | status, menu, roboto_16, icons_30 |
