Basic 2D geometry primitives OpenGL & videoplane OR jsui / mgraphics ???

    Sep 23 2012 | 3:30 pm
    I'd need to design visual for my next live performances. I need basic rectangle, circles, triangles moving on the screen. I can do that using OpenGL + videoplane for instance, but also using JSUI with sketch or mgraphics.
    afaik, jsui is more for ui stuff and in that case, I only need to display things, not to interact with them using the screen/mouse.
    What would be the best practice way according to you? I guess OpenGL is nice. I can touch it using JS. Even Gen (I guess it isn't the best way here except maybe for the positions of my primitives or something like that)
    any leads for me would be nice...

    • Sep 23 2012 | 3:42 pm
      I'd say OpenGL because of the hardware gfx acceleration, shaders, etc. Set ortho mode and everything is squashed to 2d for you.
    • Sep 23 2012 | 3:50 pm
      thanks for your feedback dtr! totally got it. I'm comfortable with JS to draw things, using a processing-style :p I'm going to make some small prototypes right now using JS and OpenGL
      Loading dynamically things is also a requirements. Basically, I'm triggering the load of my small visual snippets, all of them displaying things to the same jit.window