Step 55: Software: Cube virtual space
Now that we have a cube buffer and a nice little collection of low level draw functions to populate it, we need to agree on which ways is what, and what is up and what is down ;)
From now on, the native position of the LED cube will be with the cables coming out to the left.
In this orientation, the Y axis goes from left to right. The X axis goes from front to back. The Z axis goes from bottom to top.
Coordinates in this instructable is always represented as x,y,z.
Position 0,0,0 is the bottom left front corner. Position 7,7,7 is the top right back corner.
Why did we use the Y axis for left/right and X for back/front? Shouldn't it be the other way around? Yes, we think so too. We designed the the LED cube to be viewed from the "front" with the cables coming out the back. However, this was quite impractical when having the LED cube on the desk, it was more practical to have the cables coming out the side, and having cube and controller side by side. All the effect functions are designed to be viewed from this orientation.
Remove these ads by
Signing Up



























































































Not Nice















Visit Our Store »
Go Pro Today »



