https://forum.electromage.com/t/cylinder-pixel-map/641/33
See this linked thread for some discussion around mapping cylinders.
As you can see from the above (long) thread, there are pieces you didn’t list, we’d need to know. Like the order of the LEDs, for one thing.
Just the pure dimensions aren’t quite enough, there are many ways to do a cylinder. Are the pixels spiral (each pixel is slightly lower than the last) or actual true rows (a real flexible matrix wrapped around, where all of the row is the same height, then it drops to the next row)? And if so, do they zig zag?
That said, the actual order of pixels needs to be the order of the coordinates, and each coordinate can be in whatever units you like… So you could number the first pixel 0,0 for example, and literally measure (in any unit you like) the rest relative to that…or you could pick any pixel or point and measure relative to that…so some pixels might be -3,5 or 10.75,12…or even 10035,9745, etc… The secret is that the PB will take your coordinates, all of them, and do math so they all fall into a range of 0 to 1 (and decimals between) in each axis you give.