I have a sketch which renders many lines of very small (1pt) text. They are too small to read on the screen, but are legible when I export to PDF. (details on the project can be seen here:
http://www.autodeskresearch.com/projects/citeology)
I'm running into an issue where the program looks one way when I run it from the Processing IDE, but looks slightly different when I run it after exporting as an application. Here is an image of what I mean.
You'll notice some extra whiter pixels in the exported as application version. I am using Processing 2.0.2 right now, but noticed this problem with 2.0b9 as well.
Any ideas on how to fix this so the rendering when exported as an application is the same as when viewed within the IDE? Or any ideas in general about how such a difference could even happen?
I understand that the "edit in external editor" option was dropped due to the addition of command line support. I have the builds working properly in "Java" mode now from my external editor, so this is ok.
However, when I'm developing in Javascript mode, the changes in my external editor are not reflected in the Processing IDE window. So my current workflow options before running the Javascript version are to copy the text from my external editor and paste it into the IDE, or, to switch from Javascript mode to Java mode, then back to Javascript, which has the effect of re-loading the content of the IDE.
My question is, is there a way to force the Processing IDE to reload a document in the editor, or some other way to make using an external text editor easier for doing processing.js development.
The big win with using Processing for this project was that almost for free, I am able to generate high-res PDF files of the graphics so you can zoom in and see all of the details, or make a nice big print out.
Hi, I'm having trouble with tint() when drawing an off-screen PGraphics object. The tint() function doesn't seem to have any effect unless I am continually updating the off-screen buffer (which in my case negates the purpose of using the buffer). This is a sample program to demonstrate the problem. I would expect the code as it is now to change the tint level every time the mouse is clicked, but it only has a visible effect if I uncomment line 14.
Any idea how to get this working? Using offScreen.get() doesn't quite work since I believe that returns an image where the pixels have either 0 or 1 for opacity, and that makes the text all aliased.