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 ArticleMethods 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 ArticleControlp5 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 ArticleHow 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 ArticleWhere 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 Articledetecting 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 ArticleHTTP 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 ArticleI 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 Articlehow 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 Articlesound 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 Articlerecording 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 ArticlePBox2D
I'm following "Nature of Code Chapter 5" It said my PBox2D is not existed class. Help me guys~ Thanks
View Articlegeomerative 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 ArticleUsing 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 ArticleOpencv 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 ArticleCan 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 ArticleStoring & 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 ArticleObject 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 ArticleMesh 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