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 to cause the animation, and make use of a callback.
for a quick look online ::: go here