# Gallery thumbs positioning - need good mathematicians :)

**URL:** <https://forum.kirupa.com/t/gallery-thumbs-positioning-need-good-mathematicians/286738>\
**Category:** Uncategorized\
**Created:** [April 20, 2009, 12:55pm UTC](https://forum.kirupa.com/t/gallery-thumbs-positioning-need-good-mathematicians/286738 "2009-04-20T12:55:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![regbolD](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@regbolD](https://forum.kirupa.com/u/regbolD)\
**Post date:** [April 20, 2009, 12:55pm UTC](https://forum.kirupa.com/t/gallery-thumbs-positioning-need-good-mathematicians/286738/1 "2009-04-20T12:55:34Z")

</div>

[http://s3.envato.com/files/70858/index.html](http://s3.envato.com/files/70858/index.html) -\> PD XML GALLERY

There are 3 categories: vertical, horizontal and random, I would like to know the math behind these positioning and repositioning 😃  
So all the thumbs start at same position and then start tweening, it looks simple but I think there is a lot of coding to achieve that.
