#Dynamic Color?

1 messages · Page 1 of 1 (latest)

celest lark
#

Can we do dynamic color on JSON-UI? bao_comm_hatchi_what

celest lark
#

after some riset, the answer is no bao_ext_toldyouso

crude oasis
#

If i understood you correctly, it is possible
I had provided an answer for this before somewhere here

crude oasis
#
"property_bag": {
  "#color_0": [0, 0, 0, 1],
  "#color_1": [1, 1, 1, 1]
},
"bindings": [
  {
    "binding_type": "view",
    "source_property_name": "('#color_' + (#score < 100) * 1)",
    "target_property_name": "#color"
  }
]
#

you have to use your own bindings here

celest lark
crude oasis
#

kind of but it's incomplete. just to show how it works

celest lark
#

My fried brain say, like incomplete logic for some reason bao_foxxo_monocle