Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/Typhon0/AnimateFX

A library of +70 ready-to-use animations for JavaFX
https://github.com/Typhon0/AnimateFX

List: AnimateFX

animated animation awesome gradle java java-library javafx library ui ui-design

Last synced: 25 days ago
JSON representation

A library of +70 ready-to-use animations for JavaFX

Awesome Lists containing this project

README

        

[![AnimateFX CI](https://github.com/Typhon0/AnimateFX/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/Typhon0/AnimateFX/actions/workflows/ci.yml)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.github.typhon0/AnimateFX/badge.svg)](https://maven-badges.herokuapp.com/maven-central/io.github.typhon0/AnimateFX)
[![javadoc](https://javadoc.io/badge2/io.github.typhon0/AnimateFX/javadoc.svg)](https://javadoc.io/doc/io.github.typhon0/AnimateFX)
[![JFXCentral](https://img.shields.io/badge/Find_me_on-JFXCentral-blue?logo=googlechrome&logoColor=white)](https://www.jfx-central.com/libraries/animatefx)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

# AnimateFX

A library of ready-to-use animations for JavaFX

Features:

- Custom animations
- Custom interpolators
- Play/Stop animation
- Play an animation after another
- More to come

# Installation

### Gradle (7.x)

```
plugins {
...
id 'java-library'
}

dependencies {
api 'io.github.typhon0:AnimateFX:1.3.0'
}
```

### Maven

```

io.github.typhon0
AnimateFX
1.3.0
pom

```

## Snapshot

### Gradle (7.x)

```
plugins {
...
id 'java-library'
}

repositories {
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
}

dependencies {
api 'io.github.typhon0:AnimateFX:1.3.0-SNAPSHOT'
}
```

### Maven

```


snapshots
libs-snapshot
https://oss.sonatype.org/content/repositories/snapshots/



io.github.typhon0
AnimateFX
1.3.0-SNAPSHOT


```

# Quick start

#### Basic

```
Text text = new Text("AnimateFX");
new Bounce(text).play();
```

#### Play an animation after another

```
Text text = new Text("AnimateFX");
public void HandleAnimation(ActionEvent actionEvent) {
new Bounce(text).setPlayOnFinished(new BounceIn(text)).play();
}
```

# Contributing

Please see [CONTRIBUTING.md](https://github.com/Typhon0/AnimateFX/blob/master/CONTRIBUTING.md) for more information.

# Credits

Animations are inspired from the awesome project [Animate.css](https://github.com/daneden/animate.css)