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

Help with client ip adress

How do I get the ip adress of a client, because client.ip() returns the ip adress of the connected server. when i create a server event handler, public void serverEvent(Server server, Client...

View Article


Drop library drag-and-drop not working in P2D or P3D mode

sDrop works fine with the default renderer, but if the sketch is running in P2D or P3D mode, drag-n-drop does not work anymore, for example : size(400, 400, P3D); Any workaround for this?

View Article


Memory leak or misunderstanding? (IPCapture)

Hi, The program below grabs frames from an MJPEG camera stuffs them in a circular buffer and displays them with a predefined delay. While visually this behaves as expected the problem I have is that...

View Article

How can I make it sound when I hit the keyboard not only when I entered.

Hi guys. I got some trouble in progress. import ddf.minim.*; import processing.video.*; Movie myMovie; Minim minim; AudioPlayer s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13, s14, bg1, bg2,...

View Article

Image may be NSFW.
Clik here to view.

showing an image and replacing it with another image if something happens

hey, i use a color tracking code for processing. what i want: eg. if red is detected show image 1 if green is detected show image 2 if blue is detected show image 3 the problem is: if the last color is...

View Article


Image may be NSFW.
Clik here to view.

Unfolding Maps: Can't initialize a map and set the size/position

Hi All, I'm relatively new at this so please be kind, I'm sorry if this is a super dumb question. I am trying to make a basic map using the unfolding maps library (which I intend to incorporate into...

View Article

urgent question about video related code! help me..

This is the main tab for my code. import ddf.minim.*; import processing.video.*; Movie mov; Minim minim; AudioPlayer s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13, s14, bg1, bg2, bg3, bg4,...

View Article

Problem drawing Text & Rect etc inside a oscEvent | oscP5 & Control P5

Hi there, I've written a little OSC controller for millumin. All my GUI & Osc sending works as expected. All calls made directly to the button Handler work fine, and I can display Text, shapes,...

View Article


How to respond with each point seperate in the spiral

Hello together, i am a student from Germany and my english isn´t the best. Sorry for that. I need your help for a project named visual music. I havent so much experience in processing, so i hope you...

View Article


Multiple windows and openGl Obj renderning

Hello, I am new in Processing. I would like to show on two windows a 3D object. The orientation of the object in each windows is given by roll pitch yaw comming from serial port. I succeed to launch a...

View Article

Can't use webcam with higher resolutions

Hello, processers! here I have this peculiar behaviour of my webcam (or pc) when trying to have a higher resolution web cam feed with these lines: Capture cam; import processing.video.*; void setup() {...

View Article

How use millis() in static methods?

Hello, I want to calculate the time within the Serialevent Methode. static class SerialPortReader implements SerialPortEventListener { public void serialEvent(SerialPortEvent event) { startLoop =...

View Article

Image may be NSFW.
Clik here to view.

Radio button labels in controlP5

Hi everyone! I have been using Processing for a couple of weeks now and am trying to develop a GUI where I can get user input via checkboxes, radiobuttons, dropdowns, etc. But I'm running into trouble...

View Article


PImage won't draw to screen (Involves Tables and Classes)

I'm trying to make a guitar hero/rock band like game where the player presses keys when the notes go over the hit boxes, but for some reason the images for the notes stopped displaying. I am currently...

View Article

[Basic]opencv processing + simpleopenNI

Hi forum, I am trying to use the new openCV for processing library.. Seems great! But all examples uses testImages.. I want to use simple OpenNI (kinect) with this library.. Can some help me with this?...

View Article


Problem capturing cam with external USB videocard

Good afternoon, I've a problem: I need to capture video from an external camera for my ROV. I've a camera (composite out) and an USB videocard, both working properly (I've checked them). I'm trying to...

View Article

Does unfolding works with P3?

It does not show up as compatible from within P3. But when I went to Github I noticed that it seems that it has already been updated for P3. But when I downloaded the package from Github and manually...

View Article


WebP load method?

Title says it all; is there a lib that ie adds a method to loadImage() to load webp images or something like that? ;;)

View Article

Image may be NSFW.
Clik here to view.

High Resolution Output for P3D

I'm using the following code snippet (from https://amnonp5.wordpress.com/2012/01/28/25-life-saving-tips-for-processing/ - number 16) to export a scaled-up high resolution file. Everything works...

View Article

Livestreaming: IPCapture (sdp file)

Basically, what I wanted to do is perform a livestreaming with IPCapture function in Processing. I have an external camera attached on a drone. My pc is connected to the controller's wifi. This is what...

View Article
Browsing all 2896 articles
Browse latest View live