kerner1000 / AnimateFX

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

Home Page:https://typhon0.github.io/AnimateFX/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status License Bintray Join the chat at https://gitter.im/AnimateFX/Lobby HitCount

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

dependencies {
compile 'io.github.typhon0:AnimateFX:1.2.1'
}

Maven

<dependency>
  <groupId>io.github.typhon0</groupId>
  <artifactId>AnimateFX</artifactId>
  <version>1.2.1</version>
  <type>pom</type>
</dependency>

Snapshot

Gradle

repositories {
	maven { url 'https://oss.jfrog.org/artifactory/oss-snapshot-local' }
}

dependencies {
    compile('group.id:animatefx:1.2.1-SNAPSHOT')
}

Maven

 <repositories>
 	<repository>
            <id>snapshots</id>
            <name>libs-snapshot</name>
            <url>https://oss.jfrog.org/artifactory/libs-snapshot</url>
        </repository>
    </repositories>
    
 <dependencies>
        <dependency>
            <groupId>io.github.typhon0</groupId>
            <artifactId>AnimateFX</artifactId>
            <version>1.2.1-SNAPSHOT</version>
        </dependency>
 </dependencies>

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 for more information.

Credits

Animations are inspired from the awesome project Animate.css

About

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

https://typhon0.github.io/AnimateFX/

License:Apache License 2.0


Languages

Language:Java 100.0%