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

Re : How can I load these twitter URLs that load normally in my browser, but...

Ok, i got it. I suspected that I needed to pretend somehow I was "a real browser", so I looked for ways to do this. Man, it was difficult, but finally got it working. Here is one example of the code I...

View Article


Re : How can I load these twitter URLs that load normally in my browser, but...

For more info:https://forum.processing.org/topic/http-get-requests-strange-resultshttps://forum.processing.org/topic/xml-retrievaland some similar results by looking up client get http on the...

View Article


Could not register dispose + () for processing.serial.serial@94cb8b PLEASE...

import processing.opengl.*;import SimpleOpenNI.*;SimpleOpenNI kinect;import processing.serial.*;import cc.arduino.*;Arduino arduino;Serial myPort;int servo1pin = 11;int servo2pin = 10;int servo3pin =...

View Article

Re : Paint Music Application not working properly

Hi PhiLho,Thanks for reply. I know there is some logic glitch but can you tell me how to do it ?Expected result : It should play a continuous sound as soon as it detects the colors on the screen. The...

View Article

PongGame Errorcode: ArrayIndexOutOfBoundsException 1.

I got always after 1-2 minutes the same errorcode and just the client crashes. The Compiler marks always the line 94I rly dont know why. Here is my code for the client and server: //Serverimport...

View Article


Image may be NSFW.
Clik here to view.

Re : PongGame Errorcode: ArrayIndexOutOfBoundsException 1.

probably in this case the var input is empty after line 88 and so data is emptyCheck in line 94 whether data.length is >1if (data.length > 1) {    ellipse(data[0], data[1], data[2], data[3]);...

View Article

Is there a way to use Client.readString() propperly outside of the draw()...

Hi. Can you help me?Currently I have the following code, and everything is fine with it, except that I'd like to read the incoming data without recurring to the draw function. Specially since I don't...

View Article

Re : PongGame Errorcode: ArrayIndexOutOfBoundsException 1.

i have anyways the same errorcode .... can you pls help me ? :(

View Article


Image may be NSFW.
Clik here to view.

Re : PongGame Errorcode: ArrayIndexOutOfBoundsException 1.

Whenever something comes from an external source, be it a user input, a file, a URL, etc., always diligently parse that input whether it's in the format your code would expect it to be.That is so b/c...

View Article


Re : PongGame Errorcode: ArrayIndexOutOfBoundsException 1.

okay i try this version : if (data.length >= 4) no errors anymore. i will test it these days  with my main pong gamethx to you both :) im rly happy

View Article

Re : Paint Music Application not working properly

I am not a native English speaker, so I don't figure out how a sound can blink.I also fail to see where colors can be erased or mixed in your sketch.Is the sound intended to reflect the state of the...

View Article

Re : Is there a way to use Client.readString() propperly outside of the...

The setup() method is executed at once. You send a request and immediately try to get the answer, but it will take a while before the server answers, so the response isn't available right now.That's...

View Article

Re : Paint Music Application not working properly

Oh!  I am sorry PhiLho, Part 1: Blinking SoundHere is a link of similar kind of application http://vimeo.com/43306909  "also fail to see where colors can be erased or mixed in your sketch." PhiLho, I...

View Article


Crazy Serial overhead sending to USB CDC Serial devices on Mac

I'm currently sending data to an Arduino Leo from Processing (Mac OS X Mountain Lion) over the Serial port. Here's the relevant snippet of code:for(int q=1;...

View Article

Crop a Movie

Hi,i'm trying to crop a Movie.i searched a lot on this topic but i couldnt get an anserwer hopefully someone here can help me.I  have an ArrayList of Movies to switch between them. Playing the movies...

View Article


Re : Paint Music Application not working properly

Well, clearly, don't use the pixels array to make the sounds, but rather use the mouseDragged event and similar user events to generate them: they happen less often, so it is more usable.

View Article

Re : Paint Music Application not working properly

Ah, I see what you want to do after seeing the video. But clearly, the methods uses blob detection, and sets some variables, with several sine (or other) generators, driven by the detected blobs. But...

View Article


Re : PongGame Errorcode: ArrayIndexOutOfBoundsException 1.

glad to hear................

View Article

Can't save PDF: "beginRaw()/endRaw() is not available with this renderer"

Hi, I searched in the forum for someone with the same problem, but with no sucess.I need to save a frame in PDF from a animation, so I used the processing.PDF library. I writed my code based on the...

View Article

Re : Can't save PDF: "beginRaw()/endRaw() is not available with this renderer"

This post here have some related issue: http://forum.processing.org/topic/making-a-pdf-file And a working code I've got here w/ me: // http://forum.processing.org/topic/pdf-export-shapes-misaligned...

View Article
Browsing all 1768 articles
Browse latest View live