Is it possible to draw simple 2D figures like line, rectangle or ellipse right to the screen, like in Processing, by doing something as simple as
stroke(255, 0, 0);
line(10, 20, 100, 200);
? By saying ‘right to the screen’ I mean that it is just enough to give these two instructions and the red line appears.. and there is no need to handle it with the rootNode or something like that.. just a plain 2D that simply directly alters pixels on the resulting image that is shown on the screen?