Quantcast
Channel: Processing Forum
Browsing all 1768 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Cube Mapping with OpenGL in Processing 2.07b

i came across this thead and wantto achiev the effekt in processing 2.0:https://forum.processing.org/topic/cube-mapi wrote a small sketch demonstrating what should happen in in processing 1.5. it is...

View Article


Simple Question About minim: MonitorInput

I'm new and confused.There is a get() function in the code of MonitorInput and when i look what it does in the reference it says it relates to color and pixels. So why would they use this function in...

View Article


Re : Simple Question About minim: MonitorInput

I can see why you are confused.Quite simply, the get() call you see above and the get() function described in the reference are two totally different functions.A plain old call to get() returns...

View Article

Re : Help with Serial read

Can you make a example code for me??Thanks!!!!

View Article

Cant get my processing sketch to wait for a response from the arduino

The code below, does exactly as i want in terms of processing the image, and converting it into a stream of values.however i want it to1) wait for an initial "ready" command from the ardunio2) wait for...

View Article


Re : frameRate() can crash 2.0b7

I can notice the jerkiness you are referring to in your sketch (https://dl.dropbox.com/u/95395455/sphereofpoints6.zip, I'm testing it on a MacBook Pro with OS X 10.8.2 and a Radeon HD 6490M). My guess...

View Article

Re : frameRate() can crash 2.0b7

If that were the case and it was the rendering of points, I would expect to see the same jerkiness in Processing 1.x since it would be a GPU bottleneck, but I don't.  It runs perfectly fine in prior...

View Article

Re : error, disabling serialEvent() for //./COM3

Hi Thank you for your reply...You were right,  code crashed before reaching this lineprintln(inByte);I am sending data from arduino by this method Serial.println(average*10/1023);and getting in...

View Article


Serial Library and Arduino

Hi to everyone.So, I'm using Processing to communicate with an Arduino through a Bluetooth serial port.I'm trying to understand why when I write bytes to the Serial port, it's very slow.Here's an...

View Article


Re : frameRate() can crash 2.0b7

I removed the point size in the shader and it didn't make it any faster that I could tell.. It was still jerky.  Commenting out the section you mentioned (which is in there twice) would seem to defeat...

View Article

Re : frameRate() can crash 2.0b7

ok, not sure at this point what could be the reason... I will look at it a bit more and let you know what I find.

View Article

High resolution frames from an animation

Hi. This is my first attempt at Processing, sorry for the silly questions.I need to save frames at 300 dpi minimum for professional printing. I tried to use a frame 4 times the size of my monitor, but...

View Article

Re : High resolution frames from an animation

You draw white lines on the default PDF background which is white...A solution is to do: if (record) {    // #### will be replaced with the frame number.     beginRecord(PDF, "H:/Temp/frame-####.pdf");...

View Article


Re : High resolution frames from an animation

Hey, thanks for the super fast response!"A PDF recorder must record drawing orders from the start, if you want a kind of "screenshot" effect."So I should put a recorder in my void set up? (sorry to...

View Article

Re : Serial Library and Arduino

I think it seems exactly the same because it is exactly the same. Think about what might cause that. You may have demonstrated a valuable lesson if this is what I think it is. The draw loop executes at...

View Article


Re : Serial Library and Arduino

Yes, I thought that too but.. if I use a while(true) {code} loop the result is exactly the same. 

View Article

serial problem in reading a string

I am trying to send a string from arduino to processing but that didn't work for me.I am sending data from arduino by this method Serial.println(average*10/1023);and getting in processing by  void...

View Article


Re : High resolution frames from an animation

Don't use my path in the beginRecord() line, I added it because I don't save most sketches I try from the forum.You probably don't have a H drive... I forgot to remove the path.Just add the background...

View Article

How do I make the white square stay over the webcam?

Hi everyone!! Anyone who could help me out with this? I am trying to make the trail of the white square stay over the webcam's image. How can i do that??this is the code I have written so far....import...

View Article

Re : How do I make the white square stay over the webcam?

Just draw the cam image before drawing the rectangle.

View Article
Browsing all 1768 articles
Browse latest View live