Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Browsing all 2896 articles
Browse latest View live

Shapes3D is beyond Coool, But

I'm using Shapes3D with Processing 2. I downloaded a starmap and used the library to project onto an ellipsoid as a texture. If I zoom into the ellipsoid, I get a planetarium view of the stars. Now,...

View Article


Image may be NSFW.
Clik here to view.

How to display accents ?

Hi ! I have created a small soft to chat on a local network and every time someone type an accented letter, it doesn't display and I have this error : As my soft is for french users, we do need those...

View Article


Loading a mono file as a stereo file and adding different effects to either...

I am trying to load a single mono audio file which I could then convert into a stereo file with different convolvers applied to each channel. For testing purposes just to hear if the effects I apply...

View Article

Sound plays then stops?

I wrote a program to play audio randomly every 10 secs. It mostly works fine except after a few plays throught, even though my message comes in on the console, the audio stops playing. import...

View Article

How to initialize a variable in an array?

I'm trying to initialize my array so each ball in the array can be identified, yet I keep on getting errors. What I'm trying to do is, every time one of the balls bounce off the walls, it produces a...

View Article


Can I use a vector ImageTracer.java class inside processing.

Hello. I'm some what new to processing: Question? I recently came across a java class for vector image tracing on GitHub that I would like to use but I am not sure how to make it work inside...

View Article

I have a problem with 3D and 2D things using peasycam

Hello guys, with the help of Chrisir i'm developing a program that you have a 3D shape and it's allows you to click on the parts of the shape and each part shows you some information. The problem is...

View Article

Shapes3D library's Shape3D fill() method

Hello, I can't get the Shape3D fill() method to return anything other than white ((R,G,B)=(250.0,250.0,250.0)) when I'm picking a Box. A slightly adapted version of the Shapes3D example sketch...

View Article


Series of Videos triggered by time based clicks

Im trying to have a code where the user clicks and the video plays; then after the video is done, the user clicks again and so on and so on. My problem is how do I do this? I have the videos but they...

View Article


SoundFile is not looping

Basically running the sound example to load a file and loop it using sound file.loop(); it works with he example, but my file (an mp3 made with audacity) plays once and then stops. Not useful. Is there...

View Article

Sound Loops Not Working

Hello, I was just wondering if anyone knows why my sound won't loop, I am trying to make background music but it won't loop. Any help would be great, thanks. (I know it's just the default processing...

View Article

PixelFlow video frameRate

Hi, im using pixel flow to apply some effects in a video. The fps of the video is 24, when i saveframe the fps of processing is 1.2. and when i make a movie in 24 fps again, the video see like a lot of...

View Article

Why can't I use other cascades in OpenCV library

I try to use camera and opencv library to detect my fist. I can use the cascade file in example code , but when i tried to use other code on internet , it doesn't work. for example :...

View Article


Issue with pg graphic and font size

Hello, in this sketch I declare a font size in my constructor (write) and would like to change it according to the length of the text in my main program. But it seems to be uneffective when I change...

View Article

(Minim) How to Normalize FFT Data

I'm an intermediate-level programmer working on my first Processing project, using Minim. Before jumping into anything crazy, I'm just trying to get the basic FFT vertical bar visualizer (basically...

View Article


rotate a proscene camera around an aribtrary point

Hello All, There must be an easy way to rotate a proscene camera around a point, but I don't know how to do it. The regular rotation methods don't work on the proscene camera. I don't want to rotate...

View Article

How to move the solar system?

Hey guys, I´m Theresa, student of Visual Communication in Germany, so English is not my native language and I am new in processing but I will try my best, so here is my question. I try to simulate a...

View Article


(Minim) How to Limit Spectrum Range in FFT?

I have a successful FFT visualizer up and running, but I notice that with all the audio I test it with, the right half of the spectrum (roughly) is almost never being used, and it makes the thing look...

View Article

Get a 3D Vector from Box Object in P3D

Hello All, I'm wondering if there's an easy way to get a 3D (or 2D) vector from a box(); or sphere(); object in processing? I won't post my code, bc it is ENORMOUS, but basically I've placed a box...

View Article

G4P TextArea reading back text broken into lines

hello there, I have a G4P TextArea where I need to 'read back' the text, which is broken into lines according to the wrapWidth parameter. I need to know which part of the text is currently visible in...

View Article
Browsing all 2896 articles
Browse latest View live