animation

Sprite animations using WPF/Silverlight and JavaFX

Posted by Macca on July 23, 2010 at 9:54 pm

Usually when you begin to write any sort of application that requires visual flare, animations are always on the cards.
Since WPF and JavaFX (and Apple’s Cocoa Touch) use a similar animation framework of a declarative nature, meaning, that the developer defines elements at time steps and then the framework works out the rest, it becomes [...]

Make a rectangle grow backwards in JavaFX

Posted by Macca on May 4, 2009 at 9:40 am

I came across a small issue when I was developing some home projects that I’ve got going (namely JFXtras) and I wanted to make a rectangle “grow backwards”.
i.e. the rectangle needs to grow upwards, not downwards when increasing the “height” of a rectangle.
Actually, the solution is quite simple, all you need to do is to [...]