# Recursive Hexagaon

**URL:** <https://forum.kirupa.com/t/recursive-hexagaon/327894>\
**Category:** open source\
**Created:** [April 4, 2012, 11:15am UTC](https://forum.kirupa.com/t/recursive-hexagaon/327894 "2012-04-04T11:15:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeancnicolas](https://avatars.discourse-cdn.com/v4/letter/j/7bcc69/32.png) [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Post date:** [April 4, 2012, 11:15am UTC](https://forum.kirupa.com/t/recursive-hexagaon/327894/1 "2012-04-04T11:15:34Z")

</div>

Hello, I’ve been having a go with a recursive animation, where my hexagons shrink and spawn their relatively scaled offspring, which repeat this action.

There’s a nice snowflake pattern emerging, and I wish to make it interactive, activating a ‘shrink and spawn’ with roll over.

Anyhow -\> to the code … It works to an extent. You will certainly see the effect Im trying to achieve… its good - but gets out of hand, and i dont know why! it seems to start getting bigger and bigger - but each recursion is meant to get smaller, like the first couple of instances do…

Is there any hands to help!? download the source

ps source is using [Tweenmax](http://www.greensock.com/tweenmax/) to cause the animation, and make use of a callback.

for a quick look online ::: go [here](http://atomicircus.org/Version2.html)
