9

Can anyone recommend a good 2D animation package for Scala? I prefer something which already have some basic events handling, more like JavaFX than like processing.org.

2
  • 1
    Since Scala runs on the JVM and interoperates with Java very well, you could just use a Java library and use that from Scala.
    – Jesper
    Oct 19, 2009 at 15:00
  • Pure Java libraries don't take advantage of all scala's goodies. But I'll be glad for a recommendation. Oct 19, 2009 at 21:28

4 Answers 4

2

I used piccolo2d with Scala, and it worked out nicely. Here's another thread along those lines, or visit www.piccolo2d.org for a more general introduction.

1

Have you look at Wiggle?

1
  • Demo code looks nice, but (1) there's no documentation and (2) it's rendered with openGL only. (3) It's library looks pretty thin too (the only shape is rectangle in trunk). Thanks Oct 16, 2009 at 4:57
1

Instead of looking for something like processing, you can use processing directly. It's called SPDE and you can get it here. It's really nice.

Here are a couple of applets written in Scala using SPDE (Rosetta Clock, Starlings).

2
  • Thanks, as I wrote processing.org has no event handling, and thus I prefer something which is more abstract. (quoting myself "more like JavaFX than like processing.org") Dec 23, 2009 at 14:08
  • I misread you. Sorry for the confusion.
    – MPG
    Dec 24, 2009 at 16:11
1

There's a nice scala api wrapper for JavaFX: http://code.google.com/p/scalafx/

Not the answer you're looking for? Browse other questions tagged or ask your own question.