# New to pixel mapping - map a cylinder

Hello, newbie here quite stumped about mapping. Read the Github page explaining the concept but fail to understand the concept enough to actually get anything written. My array is as cylinder 12 LEDs across by 22 high. How would I write that down so that Pixelblaze understands the shape of this matrix?
Thank you all.

So this thread is really about the photo mapper, not mapping in general. Letâ€™s move your question to a better place. (New thread? @wizard?)

1 Like

https://forum.electromage.com/t/cylinder-pixel-map/641/33

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.

I have read the Github page on setting up a â€śworld unitsâ€ť Matrix for Pixelblaze to exacute however the page was as â€śclear as mudâ€ť and I still donâ€™t have any understanding of how to actually set up a matrix which makes Pixelblaze useless to me for the time being. Where is the Pixelblaze for Dummies documentation? Something that anyone can understand?

@FredEBear ,

This is a tutorial on mapping that will help cover the concepts like world units:

The github page for pixel mapping is a brief reference, which is also available on Mapper tab in Pixelblaze