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

Re : Saved PDF is blank :(

that's pretty much identical to the example in the reference herehttp://processing.org/reference/libraries/pdf/index.htmlwhich i assume works.so i think your problem is that you're drawing offscreen...

View Article


Re : Saved PDF is blank :(

That's right! Found out that too! Those lines are being drawn far off screen!And keeps getting even farther as it goes!Since the screen isn't cleared after all, it displays the initial drawings which...

View Article


Parsing constant stream of bytes from Serial

Hi, I need your advice as i am trying to write a sketch to receive data from external box.Box  sends constant stream of bytes.xxxx 255 255 255 255   124  86  107 11   0  31  0  1   23 15  2 240 76 255...

View Article

update XML from XMLelement from processing 1.5

Hi,I'm using this code in 1.5 to get the number of children, where e is XMLElementint n = e.getChildCount();Then when I update my code to 2.0, I just replace XMLElement with XML, the same code get...

View Article

Re : Parsing constant stream of bytes from Serial

bufferUntil() only defines the byte to detect before calling the serialEvent() callback.I think you have to read the data in a buffer by chunks, perhaps accumulating all of it in a bigger buffer, and...

View Article


Re : update XML from XMLelement from processing 1.5

https://github.com/processing/processing/issues/1013In short, change your way of parsing XML...

View Article

help: procesing 2.0 + external webcam, don't work

hi all,I'm using processing 2.0, but I can't capture with a external webcam (I'm working on a mac osx)Both, the video library  and the external camera only works for me in Processing 1.5.1any...

View Article

Re : Disable antialiasing on images. P3D Processing 2.0a6

Talking about late replies... (sorry...)9 months later...import processing.opengl.*;import javax.media.opengl.*; PGraphics buffer;GL2 gl; PGraphicsOpenGL pgl;void setup() {  size(320, 240, OPENGL);...

View Article


Re : update XML from XMLelement from processing 1.5

Thanks for your reply.So I should use the function parseXML(), not loadXML().But I met the following errors...[Fatal Error] :1:1: Content is not allowed in prolog.

View Article


Re : update XML from XMLelement from processing 1.5

Hello,I tried to read all the xml file into a String and use parseXML() function. It still does read the white space as #text...Please help me !!!Can you provide any example to explain your...

View Article

Re : update XML from XMLelement from processing 1.5

Looks like you haven't understood the comments of the issue.loadXML() is fine, and parseXML() won't change the behavior with regard to whitespace.The idea is not to try and process each and every node...

View Article

Re : update XML from XMLelement from processing 1.5

Thanks. I got it.But for us, we do not want to hardcode the name of the elements into the code. We just parse the xml file and create our tree structure in our code.I just detect the space with "#text"...

View Article

Re : Export video without SaveFrame?

The movies from the UMovieMaker beta release are encoded with Quicktime Animation, which is lossless, quick to export and easily processed to other formats. It means huge files, but that's not...

View Article


Re : PShape SVG displaying differently in P3D Processing 2

Same problem here in windows with *.obj files loaded in PShape instances and using P3D.

View Article

Re : minim, AudioOutput and AudioRecorder

Hi,I have exactly the same problem.

View Article


Record all audio played in a processing program

Hi,I'm using Minim and one sample code that I found to record all sounds played in the program.Here is the code:import ddf.minim.*;import ddf.minim.ugens.*;Minim minim;AudioOutput out;AudioRecorder...

View Article

Re : minim, AudioOutput and AudioRecorder

Bonjour/hi,Ho good, it's alive.We are two.I think it's a limitation in java implementation.But it is: the sound of each running sketch exist on it own, before beeing mix.So...

View Article


Is something like this WebGL fluid simulation shader possible with processing...

Hello, In processing example librady, there is an example how to import WebGL examples of glsl shaders from shaderToy (which is working very well)I wonder if it is possible to do something more complex...

View Article

Audio In with Minim?

Hello guys,      I'm trying to accomplish what I'm sure so many have done before, yet I'm not able to find anything of use when I've done my searches. What I want is to be able to manipulate values...

View Article

Re : Audio In with Minim?

there are minim examples for this:http://code.compartmental.net/tools/minim/manual-audioinput/but, increasingly, pcs don't come with the ability of using what you can hear as an input. mic input should...

View Article
Browsing all 1768 articles
Browse latest View live