Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/samlss/bloom

πŸŽ‰An android library that display bloom effect for view.
https://github.com/samlss/bloom

androidanimation androidview bloom explosion particles

Last synced: about 2 months ago
JSON representation

πŸŽ‰An android library that display bloom effect for view.

Awesome Lists containing this project

README

        

![Bloom](https://github.com/samlss/Bloom/blob/master/screenshots/bloom.png)

[![Download](https://api.bintray.com/packages/samlss/maven/bloom/images/download.svg)](https://bintray.com/samlss/maven/bloom/_latestVersion) [![Api reqeust](https://img.shields.io/badge/API-11+-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=11#l11) [![Apache License 2.0](https://img.shields.io/hexpm/l/plug.svg)](https://github.com/samlss/Bloom/blob/master/LICENSE) [![Apk](https://img.shields.io/badge/apk-download-orange.svg)](https://github.com/samlss/Bloom/blob/master/apks/Bloom-V1.0.0.apk?raw=true)

[δΈ­ζ–‡](https://github.com/samlss/Bloom/blob/master/README_CN.md)

### What does this library do?
It can animate any view in the form of particles, so you can download it then review the effect

### Features
- Support any view
- Flexible configuration the size, shape of the particle
- Flexible configuration of particle animation

### Screenshots

![Bloom](https://github.com/samlss/Bloom/blob/master/screenshots/screenshot1.gif)


![Bloom](https://github.com/samlss/Bloom/blob/master/screenshots/screenshot2.gif)


![Bloom](https://github.com/samlss/Bloom/blob/master/screenshots/screenshot3.gif)


------
### Dependency

#### Gradle
Add it in your module build.gradle at the end of repositories:
```java
dependencies {
implementation 'me.samlss:bloom:1.0.0'
}
```

#### Maven
```java

me.samlss
bloom
1.0.0
pom

```

### Sample Usage

```java
Bloom.with('activity')
.setParticleRadius(5)
.setEffector(new BloomEffector.Builder()
.setDuration(800)
.setAnchor(view.getWidth() / 2, view.getHeight() / 2)
.build())
.boom(view);
```

Please read [wiki](https://github.com/samlss/Bloom/wiki) for more descriptions.

[Download](https://github.com/samlss/Bloom/blob/master/apks/Bloom-V1.0.0.apk?raw=true) the apk to review.

### License

```
Copyright 2018 samlss

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```