Skip to content

Instantly share code, notes, and snippets.

@errkk
Created December 16, 2014 22:18
Show Gist options
  • Save errkk/ae3d74a740de4efeba01 to your computer and use it in GitHub Desktop.
Save errkk/ae3d74a740de4efeba01 to your computer and use it in GitHub Desktop.
fadecandy.json
{
"listen": ["0.0.0.0", 7890],
"verbose": true,
"color": {
"gamma": 2.5,
"whitepoint": [0.4, 0.4, 0.4]
},
"devices": [
{
"type": "fadecandy",
"serial": "KSPBYUZZLPOXOLAF",
"map": [
[ 0, 0, 0, 60 ],
[ 0, 60, 64, 60 ],
[ 0, 120, 128, 60 ],
[ 0, 180, 192, 60 ],
[ 0, 240, 256, 60 ],
[ 0, 300, 320, 60 ],
[ 0, 360, 384, 60 ],
[ 0, 420, 448, 60 ]
]
},
{
"type": "fadecandy",
"serial": "LDSSBXYQLTIHKTUH",
"map": [
[ 0, 480, 0, 60 ],
[ 0, 540, 64, 60 ],
[ 0, 600, 128, 60 ],
[ 0, 660, 192, 60 ],
[ 0, 720, 256, 60 ],
[ 0, 780, 320, 60 ],
[ 0, 840, 384, 60 ],
[ 0, 900, 448, 60 ]
]
},
{
"type": "fadecandy",
"serial": "WIJRAOFXLHALSLSB",
"map": [
[ 0, 960, 0, 60 ],
[ 0, 1020, 64, 60 ],
[ 0, 1080, 128, 60 ],
[ 0, 1140, 192, 60 ],
[ 0, 1200, 256, 60 ],
[ 0, 1260, 320, 60 ],
[ 0, 1320, 384, 60 ],
[ 0, 1380, 448, 60 ]
]
},
{
"type": "fadecandy",
"serial": "LTYOPXQKHXWFUDKT",
"map": [
[ 0, 1440, 0, 60 ],
[ 0, 1500, 64, 60 ],
[ 0, 1560, 128, 60 ],
[ 0, 1620, 192, 60 ],
[ 0, 1680, 256, 60 ],
[ 0, 1740, 320, 60 ],
[ 0, 1800, 384, 60 ],
[ 0, 1860, 448, 60 ]
]
},
{
"type": "fadecandy",
"serial": "KMBXMEWEPNWTIJYJ",
"map": [
[ 0, 1920, 0, 60 ],
[ 0, 1980, 64, 60 ],
[ 0, 2040, 128, 60 ],
[ 0, 2100, 192, 60 ],
[ 0, 2160, 256, 60 ],
[ 0, 2220, 320, 60 ],
[ 0, 2280, 384, 60 ],
[ 0, 2340, 448, 60 ]
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment