We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi, I'd like to add settings (controlp5) to create and edit grapichs: sliders to the left and the graphic to the right. What is the easiest way to make it?something like that:
Answers
and then I'd like to export only the graphic...
Render everything to a separate PGraphics. Simple example:
PGraphics pg;
in setup:
pg = createGraphics(width-200, height);
in draw:
You can export this PGraphics separately.
Hi, to arrange and draw controllers like in the screenshot you posted, have a look at the accordion example that comes with controlP5.
thanks a lot! I think that PGraphics could be a good solution... how can I export a vectorial file (pdf, ai, obj) from a PGraphics?! I know that there are several libraries, but how it works with PGraphics? Could you show me a code example?!
http://forum.processing.org/one/topic/save-pdf-from-pgraphic.html
Thank you!!