# FlexiPix configuration file

# the address to bind the local socket to
#  - the FlexiPix network 10.70.80.0/16 must be reachable from this address
bindAddr = 0.0.0.0:0

# the size of the display
#  - <width>,<height> in pixels
size = 18,8

# this line adds a new distributor
#  - the general format is: distributor <distributor number> = <number of outputs>,<number of pixel per output>
distributor 0 = 6,64

# those lines introduce a mapping between the channel values in the video and the values transmitted to the display
#  - mapping is done per distributor and applies to all pixels connected to it
#  - the general format is: mapping <distributor number> (red|green|blue) = <base> <factor> <gamma>
#  - the mapping formula is: <display value> := <base> + <factor> * <original value> ^ (1 / <gamma>)
mapping 0 red = 0.0 1.0 1.0
mapping 0 green = 0.0 1.0 1.0
mapping 0 blue = 0.0 1.0 1.0

# these lines specify the logical positions of the pixels at an output in movie coordinates
#  - the general format is: output <distributor number>,<output number> = <pixel x>,<pixel y> ...
#  - the order of the pixels is the order they are connected in the chain
output 0,0 = 1,0 1,1 1,2 1,3 1,4 1,5 1,6 1,7 0,7 0,6 0,5 0,4 0,3 0,2 0,1 0,0
output 0,1 =
output 0,2 = 2,0 2,1 2,2 2,3 2,4 2,5 2,6 2,7 3,7 3,6 3,5 3,4 3,3 3,2 3,1 3,0 4,0 4,1 4,2 4,3 4,4 4,5 4,6 4,7 5,7 5,6 5,5 5,4 5,3 5,2 5,1 5,0 6,0 6,1 6,2 6,3 6,4 6,5 6,6 6,7 7,7 7,6 7,5 7,4 7,3 7,2 7,1 7,0 8,0 8,1 8,2 8,3 8,4 8,5 8,6 8,7 9,7 9,6 9,5 9,4 9,3 9,2 9,1 9,0
output 0,3 =
output 0,4 = 10,0 10,1 10,2 10,3 10,4 10,5 10,6 10,7 11,7 11,6 11,5 11,4 11,3 11,2 11,1 11,0 12,0 12,1 12,2 12,3 12,4 12,5 12,6 12,7 13,7 13,6 13,5 13,4 13,3 13,2 13,1 13,0 14,0 14,1 14,2 14,3 14,4 14,5 14,6 14,7 15,7 15,6 15,5 15,4 15,3 15,2 15,1 15,0 16,0 16,1 16,2 16,3 16,4 16,5 16,6 16,7 17,7 17,6 17,5 17,4 17,3 17,2 17,1 17,0
output 0,5 =