• Stars
    star
    423
  • Rank 98,764 (Top 3 %)
  • Language
    Kotlin
  • License
    MIT License
  • Created over 5 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A lightweight Particle Animation Library for Android

Android Particles

Particle animation library for Android

Example

Setup

allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}
dependencies {
      implementation 'com.github.ibrahimsn98:android-particles:2.0'
}

Attributions

<me.ibrahimsn.particle.ParticleView
    android:id="@+id/particleView"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    app:particleCount="60"
    app:particleMinRadius="3"
    app:particleMaxRadius="10"
    app:particlesBackgroundColor="#23262a"
    app:particleColor="@android:color/holo_green_dark"
    app:particleLineColor="@android:color/holo_green_dark"
    app:particleLinesEnabled="true" />

Usage

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 for sharing that awesome javascript library

TODO

  • Performance optimizations
  • RAM optimizations
  • Touch Event Animations

License

MIT

Follow me on Twitter @ibrahimsn98

More Repositories

1

SmoothBottomBar

A lightweight Android material bottom navigation bar library
Kotlin
1,888
star
2

speedometer

A lightweight circular indicator view library for Android
Kotlin
262
star
3

web-dev-tools-android

Sample Android Application - MVVM, Clean Architecture, Modularization, Repository Pattern
Kotlin
260
star
4

NiceBottomBar

A lightweight Android material bottom navigation bar library
Kotlin
186
star
5

PhoneNumberKit

Android Kotlin library to parse and format international phone numbers. Country code picker.
Kotlin
156
star
6

taskprogressview

A lightweight task progress calendar view library for Android
Kotlin
128
star
7

android-mvvm-dagger-2-rxjava-example

Sample Android Application - MVVM, Dagger 2, RxJava, Retrofit
Java
113
star
8

Freya

A lightweight, simplified form validation library for Android
Kotlin
88
star
9

CirclesLoadingView

Android Google Style Loading Animation Library (Needs performance optimizations!!)
Kotlin
84
star
10

live-preferences

Live Shared Preferences library for Android
Kotlin
72
star
11

achilles

A Simple Retrofit Inspired Android Websocket Client (In Development)
Kotlin
43
star
12

android-eth-wallet

Android cryptocurrency wallet app with clean architecture
Kotlin
37
star
13

android-datausage

An Android library to monitor cellular and wifi data usage easily
Kotlin
30
star
14

blockchain-in-go

A basic blockchain implementation in Golang
Go
21
star
15

android-live-broadcasts

Live broadcast receiver library for Android
Kotlin
21
star
16

sdwebui-kotlin

Kotlin API client for AUTOMATIC1111/stable-diffusion-webui
Kotlin
17
star
17

InputValidator

A Lightweight input validation library for Android
Kotlin
9
star
18

android-preference-editor

Edit the preferences of the Android applications
Python
5
star
19

gradle-maven-publish-example

Kotlin
4
star
20

aucc-game

Cyber security quiz game
Kotlin
4
star
21

github-explorer

A startup page Chrome extension which shows GitHub repositories that are related with your interests
JavaScript
4
star
22

yazgig

JavaScript
1
star
23

maven-version-fetcher

Go
1
star
24

pocketmine-mp-worldguard-plugin

Minecraft PE - PocketMine-MP-WorldGuard-Plugin
PHP
1
star
25

opencv-trials

Python
1
star
26

intellij-idea-plugin-trial

first intellij idea plugin
1
star