🌈 Create new beautiful Compose Gradients with our new wesite ->
Function

animateBy

Animate zoom, pan, and rotation simultaneously and suspend until the animation is finished.

TransformableAnimateBySample

@OptIn(ExperimentalFoundationApi::class)
@Sampled
@Composable
fun TransformableAnimateBySample() {
    /**
     * Rotates the given offset around the origin by the given angle in degrees.
     *
     * A positive angle indicates a counterclockwise rotation around the right-handed 2D Cartesian
     * coordinate system.
     *
     * See: [Rotation matrix](https://en.wikipedia.org/wiki/Rotation_matrix)
     */