updateSize method
reduce the blob size according to time ratio
Implementation
updateSize(double radius, double time) {
assert(time <= 1.0 && time >= 0, "time must be between 0 and 1");
var newRadius = lerpDouble(radius, baseRadius, time);
if (newRadius != null) {
this.radius = newRadius;
}
}