https://brandonborkholder.github.io/glg2d/ This seems like it would improve performance and also maybe allow for more control over graphics.