js/index.js
// morphs random points to the OBJs

morphs random points to the OBJs
morphs random points to the OBJs
function morphTo ( newParticals ) {
        for ( var i = 0; i < particalLength; i++ ){
            TweenMax.to(particals.vertices[i], 2.5, 
                {ease:Expo.easeIn,
                x: newParticals.vertices[i].x, 
                y: newParticals.vertices[i].y, 
                z: newParticals.vertices[i].z} )
        }
    }
function morphTo ( newParticals ) { for ( var i = 0 ; i < particalLength ; i ++ ) { TweenMax . to ( particals . vertices [ i ] , 2.5 , { ease : Expo . easeIn , x : newParticals . vertices [ i ] . x , y : newParticals . vertices [ i ] . y , z : newParticals . vertices [ i ] . z } ) } }
morphs random points to the OBJs
morphs random points to the OBJs