8x8 Walled Cube Help

Hey everyone,

New to the Pixelblaze and I’m having a lot of trouble creating a map for my cube. I built this thing a while back and it’s been running on WLED but I was never happy with how patterns would flow across the panels. WLED isn’t aware of anything other than a straight line much less anything 3D. So I invested a v3 Pico for it. I’ve got it running using the example walled cube map and it works well enough. Patterns are flowing across it and it looks good. Except that it’s not mapped correctly for the top and bottom so it just doesn’t look as seamless as it could.

I’ve been attempting to create a map for a few days and I’m not able to get it working right. I don’t really understand what is happening with the code editor for creating a map. I’m having trouble understanding the coordinate system and just can’t wrap my brain around it. I’m a hardware guy and I can build you batteries, circuits, and solutions to random problems all day long. But code has always confused the crap out of me and I’m beginning to get frustrated with it to the point where it’s just not fun anymore.

My 8x8 panels are wired, and arranged/installed with 2,3,4, & 5 in the middle. 1 is below 2 and 6 is above 5. Like this…

6
5 4 3 2
—,…1

I can’t figure out how to make a pattern that only lights up a each led in order so I know how to start creating a map with the online tools. I’m not sure how they are oriented or if that even matters.

I feel like this is asking a lot but is there any chance someone can just create one for me or share something premade? I can use it as it, it does look better than the WLED version, but I feel like its only ever going to live at 75% until I can figure this out. Perhaps I’m just not understanding something that someone can help me with. You don’t know what you don’t know right?

Thanks!

Hi and welcome!

To make a great map, you really will need to know the orientation and pixel order of each panel. Once you’ve got that, you should be able to change the stock walled cube mapper for your cube, or let us know what the order is, and we can help you with that.

Below is a quick bit of code to light all your pixels sequentially. Just paste this into the editor, and it should light one pixel at a time in green, for about 2 seconds!

// light all pixels sequentially 
export function render(index) {
  // light the current pixel in green
  // change the value passed to time() to control speed
  // smaller == faster, larger == slower.    
  v = (index == floor(time(2) * pixelCount))
  hsv(0.3333, 1, v)
}
1 Like

This is excellent and exactly what I needed to figure out the order. I’ll work on that when I’m able and then follow up. Thank you so much.

1 Like

@zranger1 So I hooked up a panel and found that they are ordered left to right from top to bottom. No zig-zag. Googling around, I found an LED mapper tool created by Jason Coon. Interestingly, I have a few of his fibonacci pieces. I created a spreadsheet of the order that I’ll have my panels wired in and pasted that into his mapper and it spat out a coordinate map that I was able to paste into the Pixelblaze and it worked just fine. Not sure if it’s the best way to do it or if it even matters but it does work. Happy to swap it out for cleaner code if you’re still willing to create a map. I certainly appreciate your previous reply.

[[0,0],[1,0],[2,0],[3,0],[4,0],[5,0],[6,0],[7,0],[0,1],[1,1],[2,1],[3,1],[4,1],[5,1],[6,1],[7,1],[0,2],[1,2],[2,2],[3,2],[4,2],[5,2],[6,2],[7,2],[0,3],[1,3],[2,3],[3,3],[4,3],[5,3],[6,3],[7,3],[0,4],[1,4],[2,4],[3,4],[4,4],[5,4],[6,4],[7,4],[0,5],[1,5],[2,5],[3,5],[4,5],[5,5],[6,5],[7,5],[0,6],[1,6],[2,6],[3,6],[4,6],[5,6],[6,6],[7,6],[0,7],[1,7],[2,7],[3,7],[4,7],[5,7],[6,7],[7,7],[0,8],[1,8],[2,8],[3,8],[4,8],[5,8],[6,8],[7,8],[0,9],[1,9],[2,9],[3,9],[4,9],[5,9],[6,9],[7,9],[0,10],[1,10],[2,10],[3,10],[4,10],[5,10],[6,10],[7,10],[0,11],[1,11],[2,11],[3,11],[4,11],[5,11],[6,11],[7,11],[0,12],[1,12],[2,12],[3,12],[4,12],[5,12],[6,12],[7,12],[0,13],[1,13],[2,13],[3,13],[4,13],[5,13],[6,13],[7,13],[0,14],[1,14],[2,14],[3,14],[4,14],[5,14],[6,14],[7,14],[0,15],[1,15],[2,15],[3,15],[4,15],[5,15],[6,15],[7,15],[8,8],[9,8],[10,8],[11,8],[12,8],[13,8],[14,8],[15,8],[8,9],[9,9],[10,9],[11,9],[12,9],[13,9],[14,9],[15,9],[8,10],[9,10],[10,10],[11,10],[12,10],[13,10],[14,10],[15,10],[8,11],[9,11],[10,11],[11,11],[12,11],[13,11],[14,11],[15,11],[8,12],[9,12],[10,12],[11,12],[12,12],[13,12],[14,12],[15,12],[8,13],[9,13],[10,13],[11,13],[12,13],[13,13],[14,13],[15,13],[8,14],[9,14],[10,14],[11,14],[12,14],[13,14],[14,14],[15,14],[8,15],[9,15],[10,15],[11,15],[12,15],[13,15],[14,15],[15,15],[16,8],[17,8],[18,8],[19,8],[20,8],[21,8],[22,8],[23,8],[16,9],[17,9],[18,9],[19,9],[20,9],[21,9],[22,9],[23,9],[16,10],[17,10],[18,10],[19,10],[20,10],[21,10],[22,10],[23,10],[16,11],[17,11],[18,11],[19,11],[20,11],[21,11],[22,11],[23,11],[16,12],[17,12],[18,12],[19,12],[20,12],[21,12],[22,12],[23,12],[16,13],[17,13],[18,13],[19,13],[20,13],[21,13],[22,13],[23,13],[16,14],[17,14],[18,14],[19,14],[20,14],[21,14],[22,14],[23,14],[16,15],[17,15],[18,15],[19,15],[20,15],[21,15],[22,15],[23,15],[24,8],[25,8],[26,8],[27,8],[28,8],[29,8],[30,8],[31,8],[24,9],[25,9],[26,9],[27,9],[28,9],[29,9],[30,9],[31,9],[24,10],[25,10],[26,10],[27,10],[28,10],[29,10],[30,10],[31,10],[24,11],[25,11],[26,11],[27,11],[28,11],[29,11],[30,11],[31,11],[24,12],[25,12],[26,12],[27,12],[28,12],[29,12],[30,12],[31,12],[24,13],[25,13],[26,13],[27,13],[28,13],[29,13],[30,13],[31,13],[24,14],[25,14],[26,14],[27,14],[28,14],[29,14],[30,14],[31,14],[24,15],[25,15],[26,15],[27,15],[28,15],[29,15],[30,15],[31,15],[24,16],[25,16],[26,16],[27,16],[28,16],[29,16],[30,16],[31,16],[24,17],[25,17],[26,17],[27,17],[28,17],[29,17],[30,17],[31,17],[24,18],[25,18],[26,18],[27,18],[28,18],[29,18],[30,18],[31,18],[24,19],[25,19],[26,19],[27,19],[28,19],[29,19],[30,19],[31,19],[24,20],[25,20],[26,20],[27,20],[28,20],[29,20],[30,20],[31,20],[24,21],[25,21],[26,21],[27,21],[28,21],[29,21],[30,21],[31,21],[24,22],[25,22],[26,22],[27,22],[28,22],[29,22],[30,22],[31,22],[24,23],[25,23],[26,23],[27,23],[28,23],[29,23],[30,23],[31,23]]


Screenshot 2023-12-13 231854