# Mapping Complex Objects

**URL:** <https://forum.electromage.com/t/mapping-complex-objects/1525>\
**Category:** Patterns and Code\
**Created:** [August 30, 2021, 1:27am UTC](https://forum.electromage.com/t/mapping-complex-objects/1525 "2021-08-30T01:27:22Z")\
**Posts on this page:** 1\
**Showing post:** 33

<div class="post-metadata">

**Author:** ![Scruffynerf](https://forum.electromage.com/letter_avatar_proxy/v4/letter/s/34f0e0/32.png) [@Scruffynerf](https://forum.electromage.com/u/Scruffynerf)\
**Post date:** [September 3, 2021, 4:54am UTC](https://forum.electromage.com/t/mapping-complex-objects/1525/33 "2021-09-03T04:54:19Z")

</div>

I would tweak it by hand to figure out what it should be, is that the very first pixel?or the last?

If first, you can modify map[0] and see what to tweak it to, and then we could modify the mapping. Same with last (whatever number that is? 511?).

You can do that in javascript, just use:

Px = map[0][0] + whatever  
Py = map[0][1] + whatever  
Pz = map[0][2] - whatever  
map[0] = [Px,Py,Pz]

I think that’s correct, didn’t test it, off the top of my head.

Also Jeff’s [Hack for the mapper spinning](https://forum.electromage.com/t/manually-adjusting-spin-in-mapper/640/2) might be useful until we get something like custom spinning of the model.

---

_[View the full topic](https://forum.electromage.com/t/mapping-complex-objects/1525)._
