Skip to content

Instantly share code, notes, and snippets.

@jewelsea
jewelsea / LayoutAnimator.java
Last active May 24, 2020 09:53 — forked from teyc/LayoutAnimator.java
Animates transitions involved when relaying out nodes in a FlowPane
import javafx.animation.Transition;
import javafx.beans.property.DoubleProperty;
import javafx.beans.value.*;
import javafx.collections.*;
import javafx.event.*;
import javafx.scene.Node;
import javafx.scene.transform.Translate;
import javafx.util.Duration;
import java.util.*;