PGraphics vs SVG in terms of performance

edited April 2015 in General Discussion

Hi all, i'm working with a processing made g-code sender for a 2d machine. To keep trace of the evolving drawing, i have a thread updating a PGraphics, adding a new line on the existing raster each time that a movement command is sent to the machine. The PGraphics is then represented on the main applet each time there is a redraw(); Would be faster working with a svg maybe, adding each time a new segment? Thanks


  • SVG is probably slower, but in all cases, difference in performance shouldn't be perceptible.

Sign In or Register to comment.