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

Compare video frames with a (control) image to detect if the scene has changed.

Hi all, Working on a little project. I could really use some help. New to processing. Even if someone could send me in the right direction it would be great. Scenario: I have a camera pointing at a...

View Article


[minim] Playing an audio sample only once.

Hi, I've got an audio sample to trigger when a key is hit on the keyboard. But if I write the code in this way, it continuously plays during the time I hit the key but I want to trigger the sample only...

View Article


GifAnimation not compatible with Processing, is there an alternative?

I want to show my sketch (TurningWheels) on Ello. I don't think I can post it as java-thing, so I would like to make a gif from it. How can I do that? Or what are my options to show a sketch (except...

View Article

Video Movie Library - RTP / RTSP Stream from VLC to processing

Hello everybody I would like to view my VLC videos into processing I saw that no spout plugin is existing for VLC so I'm trying to use network I tried to open rtp and rtsp with the Movie class, but,...

View Article

Processing and Spout

I have been involved in programing since a lo of time, but I am new in the Processing/Spout area. Which code is necessary in Processing to send an image to Spout? For the moment I use : Spout spout;...

View Article


PeasyCam simple "drag" disable?

Currently trying to get rid of having to click, hold and drag your mouse to rotate around an object. The camera should just follow mouseX and mouseY from the start up. This is for further...

View Article

Hi there! could someone please fix my code? Im sure its very simple. comment...

He wants us to organize it using drawFace(); checkNose(); checkMouth(); checkEyes(); Could someone lease integrate this into my code? For now, please comment out the audio (minim) import ddf.minim.*;...

View Article

How to use the video library in Eclipse

I am trying to Processing 3.0.2 with the video library in Eclipse on Osx with little success. I have added the gstreamer-java.jar, jna.jar and video.jar to the build path (as well as the core and...

View Article


How can i type korean letters in the text form?

Hi, i'm a Korean. i'd like to make text forms with controlP5 and make users to type in Korean in the text form. but probably it seems to be not working with processing. is there any solution for that?...

View Article


PShape s.scale not working in void draw!

Below is my current code: import peasy.*; import ddf.minim.*; Minim minim; AudioInput in; PeasyCam cam; PShape s; void setup() { size(1000,600,P3D); cam = new PeasyCam(this, 500);...

View Article

Movie: Fast forward to position instead of jump()

Hey Everybody, I am currently working on an interactive poster that changes depending on the position of the viewer. The poster is a .mov-Movie. The tricky part for me is now: I want the transition...

View Article

Type mismatch error

Hi there!! I'm new to processing and I'm getting an error while playing with Daniel Shiffman Box2D library. I'm trying to create a chain shape with vectors that I've defined in the main program. Since...

View Article

Could Not Run Sketch (Target VM Failed to Initialize)

Having some problems with running this sketch in Processing. Can anyone tell me what I'm doing wrong? public class GoogleTranslate { private String key; public GoogleTranslate(String apiKey) { key =...

View Article


Processing Piano Starter Code Not Working

I am in a beginning computer science class where they give us starter codes to do assignments on. In the past, I've run into the problem where, because they created the starter codes with a previous...

View Article

Why getting 2 different sets of synonyms, from Wordnet and...

I want to extract all synonyms from any word exist in wordnet. I was tried the function getAllSynonyms(word, pos) in package RiWordnet . it give me not the same result from wordnet. Why please?? To...

View Article


G4P Second Window: How to include GWOptics Library in Second Window

Hi all, First, I am totally lost on how to do this. Thanks to @Quark and @GoToLoop I am able to use RunSketch to open a second window that runs the GWOptics just fine but as we know it starts getting...

View Article

What's wrong with the JSONObject?

Hi... I am trying to read my JSON database, but I get this error: "A JSONObject text must begin with '{' Apparently, I understand that my database starts with a '[' and I have tried to remove it...

View Article


ControlP5 Draw over a Button

I try to use a messagebox if the mouse over some elements. But the Elements of cp5 are every time in foreground. How can I draw a rect over the buttons? See like this: import controlP5.*; ControlP5...

View Article

Problem with the OCD camera if I try to look straight up or straight down.

This is a slight modification of the example given in the OCD reference for feed(). The initial view is looking forward to the boxes at 0,0,0 and works. Clicking the mouse switches the camera feed to...

View Article

Comparing Audio

Como faço para comparar dois áudios? How do I compare two audios ?

View Article
Browsing all 2896 articles
Browse latest View live