Yvan on Nostr: Hmmm... is there something fucky about how the ctx.rgb function represents colours... ...
Hmmm... is there something fucky about how the ctx.rgb function represents colours... seems to be wrong on the #emfcamp #tildagon hardware if 1-255 range values are used, but correct if the 0-1 range is used. The emulator is correct for the 1-255 range.
Published at
2024-06-08 13:35:30Event JSON
{
"id": "22a3c5d72815fbe7d7ee55f71d853eeb2d83087102cf711408eda947fbecf5d6",
"pubkey": "390c934899155ad1361f83c6d1cbb0cfd2a9f1d85b0525fbf359ca9725e397e7",
"created_at": 1717853730,
"kind": 1,
"tags": [
[
"t",
"emfcamp"
],
[
"t",
"tildagon"
],
[
"proxy",
"https://toot.ale.gd/users/yvan/statuses/112581262103269614",
"activitypub"
]
],
"content": "Hmmm... is there something fucky about how the ctx.rgb function represents colours... seems to be wrong on the #emfcamp #tildagon hardware if 1-255 range values are used, but correct if the 0-1 range is used. The emulator is correct for the 1-255 range.",
"sig": "9edd2ca4ef565900e07d3d9f9e55ca999b794fde3b9128af31051a7f36188a82170f73392e92c7136569c4339e72629174d881bb333304801d662728731053dc"
}