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
.
Asked
Active
Viewed 2,652 times
9

PhiLho
- 40,535
- 6
- 96
- 134

Elazar Leibovich
- 32,750
- 33
- 122
- 169
-
1Since 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 Answers
1
There's a nice scala api wrapper for JavaFX: http://code.google.com/p/scalafx/

Konstantin Solomatov
- 10,252
- 8
- 58
- 88
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 – 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
-
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") – Elazar Leibovich Dec 23 '09 at 14:08
-