# Cube mapping suggestions

**URL:** <https://forum.electromage.com/t/cube-mapping-suggestions/1093>\
**Category:** Patterns and Code\
**Created:** [March 22, 2021, 4:56am UTC](https://forum.electromage.com/t/cube-mapping-suggestions/1093 "2021-03-22T04:56:11Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![wizard](https://forum.electromage.com/user_avatar/forum.electromage.com/wizard/32/4_2.png) [@wizard](https://forum.electromage.com/u/wizard)\
**Post date:** [March 22, 2021, 5:10pm UTC](https://forum.electromage.com/t/cube-mapping-suggestions/1093/4 "2021-03-22T17:10:51Z")

</div>

Do you want it as a 2D surface, pre folding?

![Screen Shot 2021-03-22 at 10.05.04 AM](https://forum.electromage.com/uploads/default/original/1X/73ba09d62341105491f39e298cd7582d80099b76.png)

[This code may help](https://forum.electromage.com/t/mapping-matrix-displays/608/6) - it lets you arrange a number of 2D matrices and rotate as needed.

The problem with this of course is that the edges don’t always have adjacent 2D coordinates, as @Scruffynerf mentions.

Or as a 6 walls in 3D space, like the built in example?

 ![Screen Shot 2021-03-22 at 10.06.00 AM](https://forum.electromage.com/uploads/default/original/1X/1336ef474a03f5f74d9d3dd5184d5cd72b916314.png)

You could run that 3D cube through some transformations and get polar coordinates - treating it as a sphere, and get a 2D output (like lat + long on a globe).

---

_[View the full topic](https://forum.electromage.com/t/cube-mapping-suggestions/1093)._
