please help nub with arrays and for()
why i cant see diagonal line, instead i see only last rect (300,300)this my codeRing myRing;void setup(){ size (700, 400); background(0); myRing = new Ring();}void draw()...
View ArticleProcessing 2.0b8 / Disposing PGraphics objects and memory management
I'm working on a sketch that uses some PGraphics object as buffers that I draw on the screen with the image() method.My problem is that I've noticed a huge memory leak, 99% due to this buffers not...
View ArticleRe : please help nub with arrays and for()
your rects all are on top of one anotherif you give them more distance (in Massive) and noFill you could seethemthey wander down diagonally
View ArticleRe : please help nub with arrays and for()
Thanks...Why noFill() do this.. cose all rect was white and anyway thay could be visable...
View ArticleRe : How to destroy Movie threads?
am relatively new to processing and am working on a sketchwhich also loads movies one after the other i am finding that they loose sync around the 25-30th movietried inserting the g.removeCache(img)...
View ArticleHow to change color?
Hello, I am a processing starter. I am having trouble with making people's face that appear on Webcam to Lichtenstein's style face (pointillize). I have used the mirror2 example from the processing...
View Articlerotate image offscreen
hi, i would like to rotate an image offscreen (as in the background) and save it.i tried the following: size(640, 480); PGraphics printerImage; PImage img = loadImage("shot0.jpg"); printerImage =...
View ArticleRe : rotate image offscreen
The two main problems are that you change the rotation after drawing the image and you don't change the point of origin (around which the rotation takes place). To solve this use translate(width, 0);...
View ArticleRe : How to change color?
* Moved / Changed Topic Type / Changed Title *Read: https://forum.processing.org/topic/where-to-place-threads-and-other-forum-practicesSee: http://processing.org/reference/To change the color, you can...
View ArticleRe : Processing 2.0b8 / Disposing PGraphics objects and memory management
https://github.com/processing/processing/issues/1391
View ArticleRe : Processing 2.0b8 / Disposing PGraphics objects and memory management
Same problem here, sr.ritchie!My solution: stick to 1.5.1 till the 2.x memory issues (+many, many more issues!) have been resolved.When you run an artpiece in a gallery 24/7 and it crashes all the time...
View ArticleRe : Processing 2.0b8 / Disposing PGraphics objects and memory management
Thx PhiLho for your reply, I had already checked that thread and another one where you posted your solution, but unfortunately that doesn't work with me.I don't know if I'm going something very dumb...
View ArticleRe : Processing 2.0b8 / Disposing PGraphics objects and memory management
Well, I don't see where you tried the solution / workaround given in the page I link to...Beside, you load a font for each occurrence of your class, it wastes memory too.
View ArticleRe : Processing 2.0b8 / Disposing PGraphics objects and memory management
Sorry I deleted that lines, I tried to implement your solution below line 53, and later on line 60.Thanks for the font suggestion, you're right, unfortunately I don't think it's causing the problem....
View ArticleRe : Processing 2.0b8 / Disposing PGraphics objects and memory management
Have you tried running your code against the latest Processing build from GitHub? Because the leak issue has been fixed.If it's the same issue, your code should run without problems.If it's a different...
View ArticleRe : Processing 2.0b8 / Disposing PGraphics objects and memory management
If you were here in Italy, PhiLho, I would invite you to a beer.I've moved the font loading to the proper position, and the memory leaks has disappeared.I owe one, my friend.Thanks!
View ArticleRe : rotate image offscreen
I dont want to display the image. Just process it and save it. But will try the translation as soon as back on a computer!
View ArticleRe : rotate image offscreen
Updated above response to say draw (to the PGraphics) instead of display. Message stays the same.
View ArticleNative OpenGL in Processing for Oculus Rift
Hey everybody,I'm currently working with the Oculus Rift in Processing and want to port this code to work with Processing for now: http://pastebin.com/LVfpwXWV .I got it ported, the only functions I...
View ArticleRe : Creating PDF when using copy() and multiple images
You have to declare the image at the global level, and load it in setup(), because loadImage() at the global level doesn't know the data folder yet.See, for example, the example at...
View Article