{"id":15132452,"url":"https://github.com/omkar-tenkale/ExplodingComposable","last_synced_at":"2025-09-29T00:32:08.019Z","repository":{"id":145075521,"uuid":"604084562","full_name":"omkar-tenkale/ExplodingComposable","owner":"omkar-tenkale","description":"Explosive dust effect animation for your composables!","archived":false,"fork":false,"pushed_at":"2023-04-12T19:20:22.000Z","size":4657,"stargazers_count":165,"open_issues_count":1,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-18T22:38:10.792Z","etag":null,"topics":["android","android-library","animation","compose-animation","jetpack-compose","jetpack-compose-library","kotlin","kotlin-android","library"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/omkar-tenkale.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-20T09:54:05.000Z","updated_at":"2024-12-01T09:21:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"8aa01795-3f74-4fc8-b920-194963572590","html_url":"https://github.com/omkar-tenkale/ExplodingComposable","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/omkar-tenkale/ExplodingComposable","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omkar-tenkale%2FExplodingComposable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omkar-tenkale%2FExplodingComposable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omkar-tenkale%2FExplodingComposable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omkar-tenkale%2FExplodingComposable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/omkar-tenkale","download_url":"https://codeload.github.com/omkar-tenkale/ExplodingComposable/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omkar-tenkale%2FExplodingComposable/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277450938,"owners_count":25819971,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-28T02:00:08.834Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","android-library","animation","compose-animation","jetpack-compose","jetpack-compose-library","kotlin","kotlin-android","library"],"created_at":"2024-09-26T04:04:46.020Z","updated_at":"2025-09-29T00:32:06.987Z","avatar_url":"https://github.com/omkar-tenkale.png","language":"Kotlin","readme":"\u003cdiv align=\"center\"\u003e\u003cimg width=\"300px\" height=\"300px\"  src=\"https://raw.githubusercontent.com/omkar-tenkale/ExplodingComposable/master/art/exploding-composable.webp\"/\u003e\u003c/div\u003e\n\u003ch1 align=\"center\"\u003e💢 Exploding Composable\u003c/h1\u003e\n\u003ch4 align=\"center\"\u003eA Jetpack Compose utility library to add explosive dust effect animation to any composable\u003c/h4\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://jitpack.io/v/omkar-tenkale/ExplodingComposable.svg\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/license-Apache%202.0-blue.svg?style=flat)](http://www.apache.org/licenses/LICENSE-2.0.html\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/PRs-welcome-brightgreen.svg\" /\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003csub\u003eBased on \n  \u003ca href=\"https://github.com/tyrantgit/ExplosionField\"\u003eExplosionField\u003c/a\u003e by\n  \u003ca href=\"https://github.com/tyrantgit\"\u003e@tyrantgit\u003c/a\u003e\n\u003c/div\u003e\n\n\u003cbr/\u003e\n\n## 💻 Installation\n  \n1. Add this to `build.gradle` of project gradle dependency\n\n```groovy\nallprojects {\n\trepositories {\n\t\t...\n \t\tmaven { url 'https://jitpack.io' }\n\t}\n}\n```\n  \n2. In `build.gradle` of `app` module, include this dependency\n        \n```groovy\nimplementation \"com.github.omkar-tenkale:ExplodingComposable:1.0.1\"\n```\n\nFind latest version and changelogs in the [releases](https://github.com/omkar-tenkale/ExplodingComposable/releases).\n\n\u003cbr/\u003e\n        \n## ❓ Usage\n\nWrap the content to explode in [`Explodable`](https://github.com/omkar-tenkale/ExplodingComposable/blob/master/explodable/src/main/java/dev/omkartenkale/explodable/Explodable.kt) and trigger the explosion with `explosionController.explode()`\n\n```kotlin\nval explosionController = rememberExplosionController()\n\nExplodable(controller = explosionController) {\n    //Content to explode\n    Box(modifier = Modifier\n        .size(100.dp)\n        .background(Color.Black)\n        .clickable { explosionController.explode() })\n}\n```\n\n\u003cbr/\u003e\n    \n## 🎨 Customization\nExplodingComposable offers a variety of customizations\n\n\u003cimg width=\"300px\" height=\"600px\"  src=\"https://raw.githubusercontent.com/omkar-tenkale/ExplodingComposable/master/art/exploding-composable-configuration.webp\"/\u003e\n\n```kotlin\nval explosionController = rememberExplosionController()\n\nExplodable(\n    //Standard compose modifier\n    modifier = Modifier,\n\n    // Control the explosion state with an instance of ExplosionController\n    // You can access it using rememberExplosionController() method\n    // Provides methods controller.explode() and controller.reset()\n    controller = explosionController,\n\n    // Control the animation with these params\n    animationSpec = ExplosionAnimationSpec(\n        // The higher the number, the bigger the explosion\n        explosionPower = 2f,\n        // Duration for the particle explosion\n        explosionDurationMs = 750,\n        // Duration for the shake effect before explosion\n        shakeDurationMs = 250\n    ),\n\n    // Callback to fire when explosion is finished\n    onExplode = {\n                \n    },\n\n    // To control the explosion manually, use this param [0f-1f]\n    currentProgress = progress,\n\n    // The composable to explode\n    content = {\n        \n    }\n)\n```\n\n## 📱 Demo\n\nDownload the [sample app](https://github.com/omkar-tenkale/ExplodingComposable/releases/download/1.0.1/ExplodingComposableDemo.apk)\nor explore the [sample project](https://github.com/omkar-tenkale/ExplodingComposable/tree/master/app/src/main/java/dev/omkartenkale/explodable/sample)\n\n## How it Works 🔧\nCurious about how the library works under the hood?\nCheck out this in-depth [Medium article](https://proandroiddev.com/creating-a-particle-explosion-animation-in-jetpack-compose-4ee42022bbfa) for all the details\n\n## Discuss 💬\n\nHave any questions, doubts or want to present your opinions, views? You're always welcome. You can [start a discussion](https://github.com/omkar-tenkale/ExplodingComposable/discussions)\n\n## 📃 License\nLicensed under Apache license 2.0\n\nThis work is derived from [ExplosionField](https://github.com/tyrantgit/ExplosionField)\n \n","funding_links":[],"categories":["Libraries"],"sub_categories":["UI"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomkar-tenkale%2FExplodingComposable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fomkar-tenkale%2FExplodingComposable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomkar-tenkale%2FExplodingComposable/lists"}