Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ibrahimsn98/android-particles
A lightweight Particle Animation Library for Android
https://github.com/ibrahimsn98/android-particles
android android-animations android-development android-library android-particle-animation android-particle-library android-particles-js particles
Last synced: 4 days ago
JSON representation
A lightweight Particle Animation Library for Android
- Host: GitHub
- URL: https://github.com/ibrahimsn98/android-particles
- Owner: ibrahimsn98
- License: mit
- Created: 2018-12-16T11:07:23.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-12-06T22:04:19.000Z (about 4 years ago)
- Last Synced: 2025-01-20T07:05:46.640Z (11 days ago)
- Topics: android, android-animations, android-development, android-library, android-particle-animation, android-particle-library, android-particles-js, particles
- Language: Kotlin
- Homepage:
- Size: 3.63 MB
- Stars: 432
- Watchers: 7
- Forks: 71
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Android Particles
Particle animation library for Android[![](https://jitpack.io/v/ibrahimsn98/android-particles.svg)](https://jitpack.io/#ibrahimsn98/android-particles)
# Example
# Setup
```gradle
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.ibrahimsn98:android-particles:2.0'
}
```# Attributions
```xml```
# Usage
```kotlin
class MainActivity : AppCompatActivity() {private lateinit var particleView: ParticleView
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)particleView = findViewById(R.id.particleView)
}override fun onResume() {
super.onResume()
particleView.resume()
}override fun onPause() {
super.onPause()
particleView.pause()
}
}
```# Inspired From
Thanks to [VincentGarreau](https://github.com/VincentGarreau) for sharing that awesome [javascript library](https://github.com/VincentGarreau/particles.js)# TODO
- [x] Performance optimizations
- [x] RAM optimizations
- [ ] Touch Event Animations# License
MIT> Follow me on Twitter [@ibrahimsn98](https://twitter.com/ibrahimsn98)