val fixCircleCenterX = centerX val fixCircleCenterY = centerY val currentCircleRadius = pointRadius * (1f - linearProgress) drawCircle( color = pointColor, radius = currentCircleRadius, center = Offset(x = fixCircleCenterX, y = fixCircleCenterY) ) val bubbleCenterX = centerX val currentDist = gap * linearProgress * 1.25f val bubbleCenterY = fixCircleCenterY - currentDist val linearChangeBubbleCenterY = fixCircleCenterY - gap * linearProgress * 1.25f
val iAnchorX = bubbleCenterX val iAnchorY = (fixCircleCenterY + linearChangeBubbleCenterY) * 0.5f
val linearChangedBubbleRadius = pointRadius + (bubbleRadius - pointRadius) * linearProgress val currentBubbleRadius = pointRadius + (bubbleRadius - pointRadius) * progress
val angel = 30.0 val iBubStartX = bubbleCenterX + currentBubbleRadius * cos(angel * Math.PI / 180).toFloat() val iBubStartY = bubbleCenterY + currentBubbleRadius * sin(angel * Math.PI / 180).toFloat()