Skip to content
Discussion options

You must be logged in to vote

Not with text - it only takes one colour for the whole string (checked on 2.5.6). It reads one hexColor/color and every letter gets it - there's no inline colour markup (source).

The start screen cheats: it's seven seperate draw calls, one letter each with its own colour (source), and the API only takes one text per screen. You can send the word as a 32x8 bitmap instead. This one is the finished start screen, pixel for pixel - just POST it to /api/screen:

{
  "bitmap": {
    "data": [
      0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
      0, 0, 0, 0, 63903, 63903, 63903, 0, 2021, 0, 63683, 0, 63683, 0, 8191, 8191, 8191, 0, 65254, 0, 0, 0, 

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by foorschtbar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants