@Override
    protected void onDraw(Canvas canvas) {
        super.onDraw(canvas);
        circle = circlePaths.get(0);
        circle.center[0] = maxLength * mInterpolatedTime;

        RectF ball1 = new RectF();
        ball1.left = circle.center[0] - circle.radius;
        ball1.top = circle.center[1] - circle.radius;
        ball1.right = ball1.left + circle.radius * 2;
        ball1.bottom = ball1.top + circle.radius * 2;
        canvas.drawCircle(ball1.centerX(), ball1.centerY(), circle.radius, paint);


        for (int i = 1, l = circlePaths.size(); i < l; i++) {
            metaball(canvas, i, 0, 0.6f, handle_len_rate, radius * 4f);
        }
    }
@ Override protected void onDraw ( Canvas canvas ) { super . onDraw ( canvas ) ; circle = circlePaths . get ( 0 ) ; circle . center [ 0 ] = maxLength * mInterpolatedTime ; RectF ball1 = new RectF ( ) ; ball1 . left = circle . center [ 0 ] - circle . radius ; ball1 . top = circle . center [ 1 ] - circle . radius ; ball1 . right = ball1 . left + circle . radius * 2 ; ball1 . bottom = ball1 . top + circle . radius * 2 ; canvas . drawCircle ( ball1 . centerX ( ) , ball1 . centerY ( ) , circle . radius , paint ) ; for ( int i = 1 , l = circlePaths . size ( ) ; i < l ; i ++ ) { metaball ( canvas , i , 0 , 0.6f , handle_len_rate , radius * 4f ) ; } }
}