js/index.js
/* computing the random points on OBJs and 
    morphing them to OBJ points*/
computing the random points on OBJs and
morphing them to OBJ points
computing the random points on OBJs and morphing them to OBJ points
function computeObj( compute ){
        compute.traverse( function ( child ) {
            if ( child instanceof THREE.Mesh ) {
                bodyPoints = THREE.GeometryUtils.randomPointsInBufferGeometry( child.geometry, pCount );
                createVertices( bodyParticals, bodyPoints, 0 );
                morphTo( bodyParticals );
            }
        });
    }
function computeObj ( compute ) { compute . traverse ( function ( child ) { if ( child instanceof THREE . Mesh ) { bodyPoints = THREE . GeometryUtils . randomPointsInBufferGeometry ( child . geometry , pCount ) ; createVertices ( bodyParticals , bodyPoints , 0 ) ; morphTo ( bodyParticals ) ; } } ) ; }
computing the random points on OBJs and
morphing them to OBJ points
computing the random points on OBJs and morphing them to OBJ points