2D scene graphics library for graphical user interface

I am looking for a 2D scene graph library for creating graphical applications. It should be fast using Java2D and be compatible with Swing (built-in to the Swing application, as well as display Swing components). Animation support is a plus.

  • Do you have experience with some of the libraries?
  • Are there any libraries that I missed?
  • I must add that I am not completely offended by the Scala library.

Project scenario graph

  • seems fast enough
  • GPL only (without LGPL)
  • supports animation
  • abandoned 2 years ago
  • as the previous part of JavaFX is a Sun product

G

  • I don't know if he is fast
  • LGPL
  • no animations
  • latest version Dec 09

Piccolo2d

  • for "scalable user interfaces"
  • looks like an academic project
  • high activity google code project
  • BSD License
  • dunno if he is fast
  • dunno if it performs animation

Pulpcore

  • - game library
  • designed to deploy applets (using it as a hacker application)
  • very fast
  • supports animation
  • no development for 2-3 years
  • maybe Swing support in general

jTem

  • part of a larger project (at first glance)
  • freeBSD license
  • animation support
  • looks very minimal
+4
source share
2 answers

Amino is another created by Joshua Marinacci. This is very new, but there are some interesting features like CSS skin, 2D or 3D backends. I am also very intrigued by the fact that he uses event towing, not listeners, as this is fully consistent with the fact that I am currently working on a Scala + actor.

However, I have not played with him (yet), so I do not know how good this is.

http://leonardosketch.org/amino

+2
source

Piccolo2D, "academic work" or not, is well written. It is somewhat limited, but it does what it promises (a scalable graph) and does it quickly. It can be used, at least for basic animations, such as moving, resizing, color transitions, etc., But more can be done, since this also allows a "normal picture". It has quite extensive support for events for customization (the "UI aspect" really shines here).

It might be a good idea to try a few with the β€œworn out” scene to check performance / features if this is really considered a problem. Piccolo is flexible enough to be manually operated if necessary. at different scales, smaller and / or aggregate objects are displayed.

Happy coding.

+2
source

Source: https://habr.com/ru/post/1336379/


All Articles