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.

PhiLho
  • 40,535
  • 6
  • 96
  • 134
Elazar Leibovich
  • 32,750
  • 33
  • 122
  • 169
  • 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 '09 at 15:00
  • Pure Java libraries don't take advantage of all scala's goodies. But I'll be glad for a recommendation. – Elazar Leibovich Oct 19 '09 at 21:28

4 Answers4

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.

Sam Reid
  • 21
  • 2
1

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

Konstantin Solomatov
  • 10,252
  • 8
  • 58
  • 88
1

Have you look at Wiggle?

Bostone
  • 36,858
  • 39
  • 167
  • 227
  • 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 – Elazar Leibovich Oct 16 '09 at 04: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).

MPG
  • 835
  • 4
  • 10