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

PostFX library not working, error: InvalidPathException: Illegal char

There is an error in running the example codes of PostFX library, the error is: InvalidPathException: Illegal char <:> Please help me how to resolve this???????

View Article


Image may be NSFW.
Clik here to view.

How to use video capture when developing in Eclipse

I want to develop a Java project using Eclipse that utilizes some Processing graphics elements and in particular video capture. The two Processing tutorials related to using video and using the Eclipse...

View Article


Creating an array with movie files, and shuffling it.

Hey everyone, I'm creating a movie player program with an Arduino board. I've successfully made the program play one movie file when I wave my hand in front of the Arduino PIR monitor, I just want it...

View Article

How to send HTTP-PUT-request?

Hello all, I am trying to make use of the REST interface in processing, I am currently using the "HTTP Requests for Processing" and I'm successfully able to read the information I want using the GET...

View Article

Having trouble with a method in G4P

Hi. So, I'm pretty much a noob here, and I was trying to get some flashlight effect code but it won't run. I have to use loadPixels but it won't recognize the image variable, saying "sala3 is not a...

View Article


Play sound

Hey guys, how exactly do I play the sound file only when the ball hits the base (the rect)? Because all I'm doing is to make it play whenever it hits the whole bottom .. Thank you import ddf.minim.*;...

View Article

How should I use the networking library to efficiently sync coordinates of...

I have something that technically works, but currently I can choose between two problems, neither of them good. Either the movement seems laggy, and skips multiple steps. This seems to be caused by the...

View Article

missing library

when trying to run SENTRY GUN TURRET VERSION 5 CODE 16 i get the error message... the package "ddf" does not exist. you might be missing a library i could not find the said library under library...

View Article


How to run a segment of code uninterrupted

Hello! I am hooking up my electric piano to processing using The MidiBus library. I'm basically playing around with visualising the notes played in different ways. This often includes adding some sort...

View Article


Is it possible to listen to a portion of an audio file using minim?

Lets say I have an audio file..I have a start time and an end time...I want to play that file from that start point till that end point..Any help? TIA

View Article

Modbus Class...

Dear All, I am using this Class to manage a ModBus RTU connection; the sketch is available in this link: https://code.google.com/archive/p/processing-modbus/downloads I found in this forum someone that...

View Article

How to use the Box2D library in Python mode?

I know just a little bit of java, but I know a lot more in python and it's my favorite language. I want to use the Box2D library in python, but I've tried just to make a body... It did not work. I...

View Article

The constructor is undefinded .. how can I solve it?

Hey! I'm trying to make a game for my programming class and I want to use the AI for 2D Games library. I'm working at the guide at the moment and copied some code from the page, but unfortunately i get...

View Article


Importing 3D models into Processing

Dear all, I would like to import a 3D model into Processing that was made in SolidWorks. I saw that there are options of importing 3D models with the .obj format; however, what about another neutral...

View Article

Image may be NSFW.
Clik here to view.

Shading of imported 3D objects

Hello, I would like to know how to achieve shading like presented in the picture - case C. If I import a 3D object (.obj) and then turn on the stroke, Processing determines the edges where the meshing...

View Article


Image may be NSFW.
Clik here to view.

How can I determine which spectrum is generated from which file on mouseclick?

I have two audio files..One contains some voice messages and other contains a continuous sound of 10khz..Spectrum is generated from two files and is plotted..I want to determine which spectrum is...

View Article

Playing movie clips after after another at volume 0, there's sound for a...

Hi, i'm struggling to completely mute movie clips. Here's the code (I guess the problem lies in the new_movie() function at the bottom): import processing.video.*; Movie movie; String[] filenames; void...

View Article


Pinball: Ball collision with Bumpers(objects) causes a crash. Using Box2D and...

Hey, I am making Pinball game that utilizes a camera to detect "buttons" that control the flippers. I got the code for the game here. Now, the buttons are actually two pieces of felt fabric, it looks...

View Article

I'm using Minim, and dont know how to make it noloop...Help me.

hi Im writing code with minim. import ddf.minim.*; AudioPlayer player; Minim minim; int change = 0; String [] bgm = { "error.wav", "coin.wav"}; void setup(){ minim = new Minim(this); String [] bgm = {...

View Article

Image may be NSFW.
Clik here to view.

How can I show the image on my silhouette when I appear on the screen?

I want to show this sea image that I attached (only)when I (or some people) appear on the screen. (I mean, the image should appear in my silhouette.) I tried to make the code by using the example...

View Article
Browsing all 2896 articles
Browse latest View live