Skip to content

MohamedRejeb/Pencil-Loader-Animation

Repository files navigation

slide

Pencil Loader Animation

Pencil Loader Animation with jetpack compose, The pencil is drawn with canvas 🖌 , I used a circular progress indicator with some linked keyframes for the animation 😄

Animation Preview

Pencil.loader.animation.preview.mp4

Maven Central

Gradle

You can use this loader in your own projects.

If you are using Groovy:

Add the dependency below to your module's build.gradle file:

dependencies {
    implementation "io.github.m0coding:pencilloader:1.0.0"
}

If you are using Kotlin:

Add the dependency below to your module's build.gradle.kts file:

dependencies {
    implementation("io.github.m0coding:pencilloader:1.0.0")
}

How to Use

You can simply call the PencilLoader composable function with fixed size and stroke size:

PencilLoader(
    strokeWidth = 14.dp,
    modifier = Modifier
        .size(200.dp)
)

Acknowledgements

Authors

🔗 Links

linkedin

Releases

No releases published

Packages

No packages published

Languages