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

i want to play video on the base of motion tracking

i want to play video on the base of motion tracking but some how i cant play. import processing.video.*; Movie mov; // Variable for capture device Capture video; // Previous Frame PImage prevFrame; //...

View Article


Methods affecting other methods

Hi there, I have two methods, neither of which are in any classes, that seem to be affecting each other. One of them creates a sphere in the center of the screen and continuously rotates it. The other...

View Article


Controlp5 Basic Example - Text Input Field

I'm new to ControlP5 (and Processing), and want to allow the user to enter two strings (URLs) into a text field, which will then pass into a variable once a Submit button is pressed. In my example...

View Article

How to lock a textfield after it receives an input? (ControlP5)

I want the textfield to block once it receives a value. I've seen there is a Textfield lock() method but I don't know how to use it. import controlP5.*; ControlP5 cp5; color ccolor=color(250,...

View Article

Where can I edit contributed library source code?

I'm using Minim library and I need to do one of two things: I need to either extend a class in the library, or make some alterations to the minim source code. The problem is: I have no idea how to...

View Article


detecting motion in a videostream and finding pixel locations...

I wrote a sketch to find the motion outlines using opencv. I then use the getPoints function to find the PVectors to use for placing particles. It works quite well but I'm worried about performance...

View Article

HTTP POST request problem

Hi everyone! I have a problem with HTTP request library. I use this code: import http.requests.*; import java.net.*; import java.io.*; import java.util.*; String API="myApi"; // Api code String...

View Article

I need a library which can help me with realistic moves of some objects

Hello. First, I'm sorry for my English. I'm not a native speaker. Here is the subject. I want to create a game, which has some falling objects by physics laws. It must not be like in Tetris, I need...

View Article


how to use java classes in processing

Hi, I have a project that needs to send files to an FTP server and therefore need an FTP library. Apparently everything i need is in the java classes org.apache.commons.net.ftp.FTPClient and...

View Article


sound on a key press

hi guys, i'm working on my first interactive piece using makeymakey, i want to play a sound on a click / keyPressed. So far I've managed to get a sound played on a click, however it works only once...

View Article

recording video on a mouse click

I'm trying to record a sequence from the camera, but only a part of images when the mouse is clicked. On a mouse click there is a sound, I want to save only images from the camera from the period when...

View Article

Image may be NSFW.
Clik here to view.

PBox2D

I'm following "Nature of Code Chapter 5" It said my PBox2D is not existed class. Help me guys~ Thanks

View Article

geomerative RFont with outline ellipse

hi guys, i got a simple sketch for writing live in the browser using geomerative RFont: import geomerative.*; import processing.pdf.*; boolean doSave = false; RFont font; RPoint[] myPoints; String...

View Article


Arduino (Serial Monitor)

how to save data from serial monitor to a text file in pc?

View Article

Using processing as a virtual MIDI controller.

What I would like to do, is use Processing as a virtual MIDI controller, so I can control my DAW (Propellerhead's Reason 7.1), based on the values of several integers. Is there a library that can help...

View Article


Image may be NSFW.
Clik here to view.

Opencv and Processing

Hello guys, I am unable to use examples of opencv, I have downloaded at this link: https://github.com/atduskgreg/opencv-processing Once unpacked, in the library of processing folder, it was:...

View Article

Can I control the tempo of a MIDI track using processing (midibus)?

I want to have the tempo of my song change according to some values using MidiBus. Can this be done? If so, how? Thanks in advance.

View Article


Storing & retrieving video camera frames in an ArrayList?

I'm trying to save frames from my MacBook's web camera to an Arraylist and then show three different images from the ArrayList. The problem I'm having is that even though I'm pulling PImages from three...

View Article

Object with G4P window and UDP listener... not possible in Processing 3 ??

Dear gurus, Code below uses G4P, UDP libraries and creates dial windows with their own udp handler. Each window has a udp handler with unique port#, and when data is received on the port, udp hander...

View Article

Mesh myMesh = new Mesh question...

I can this: Mesh myMesh = new Mesh(this, Mesh.TUBE, 200, 200, -3.0, 3.0, -200, 200); over translate, rotate and scale give a position. My question: is there a possibility to handle the Mesh.TUBE like a...

View Article
Browsing all 2896 articles
Browse latest View live