Page 1 of 1

JFXBuilder

Posted: Tue Dec 30, 2008 1:37 am
by human
http://www.reportmill.com/jfx/

Check the Samples page

Posted: Tue Dec 30, 2008 2:14 am
by human
If you have the latest version of Java installed, you can dynamically load and run JavaFXPad:

http://download.java.net/general/openjf ... fxpad.jnlp

Then paste the following code from

http://www.artima.com/forums/flat.jsp?f ... ead=207087

into JavaFXPad and choose Run from the menus:

import javafx.ui.*;
import javafx.ui.canvas.*;
import javafx.ui.filter.*;

Morph {

morph: bind [0,.01..1] dur 2000

fill: blue

start: Rect {
x: 10
y: 10
width: 460
height: 140
}

end: Circle {cx: 200, cy: 200, radius: 100}

}


This demonstrates a rect to circle morph.

Admittedly, that's a useless toy of an example, but... it would be interesting to see whether this can be adapted to morph between the arbitrary toon shapes of characters.

Posted: Wed Jan 21, 2009 8:20 pm
by human
Here's a more complicated example of morphing in JavaFX, with source code:

http://gihyo.jp/assets/files/dev/serial ... ation.html