public static void main(String[] args) {
RealtimeCanvas canvas = new CanvasFactory().createRealtimeCanvasWindow(512, 512);
canvas.setWindowTitle("bla");
final Image image = canvas.getImageFactory().createBufferedImage(521, 512, BufferTypes.RGB_3Byte);
canvas.setGraphicsListener(new GraphicsListener() {
public void draw(View view, Graphics renderer) {
renderer.drawImage(image, 512, 512);
}
public void init(View view, Graphics renderer) {
view.setCamera(256, 256, 0);