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

Automatic connection to device with new Serial Library?

Hello, wondering if it is possible to read any of the lower-level USB device information from a USB serial device with Processing? For example, hardware ID's (VID, PID) or 'Bus reported device...

View Article


Use external cam instead of integrated webcam in Processing 2.1.1

Hi guys , when i run the following code , it uses my integrated laptop webcam instead of the external webcam (Logitech QuickCam C9000 ) . How do i modify the code such that it uses the external webcam...

View Article


Work with P3D and the Movie Library in Processing?

Hi folks, I'm trying to create a layer of interactive wallpaper over a video. I'm starting by tinkering with one square. But every time I introduce the video setup/library to this sketch it breaks...

View Article

how to LAY VIDS ON TOP OF EACH OTHER! (:

Hola! I'm writing this code with my webcam, and want to lay video's on top of another, so it looks like their blended. I'm trying to lay a video on top of a live webcam video, so you will see the...

View Article

Voice recognition library

I'm looking for a library that allows voice recognition through procesing. I found this: https://code.google.com/p/mprocessinglibs/downloads/list But this library does not work well, a jar file without...

View Article


How to get video feed from a camera which is undetected by the 'Capture()'...

Hey guys, I am working on a project that uses AR markers to track the position of a person from a camera feed. The code works fine with a standard USB web camera but I have a wide angle...

View Article

Stopping the minim library / audio players only if it is running already.

Ok I edited my original post: TLDR: The .mute() function does not seem to work nor does the .isPlaying() command. "By does not seem to" I mean it results in a null pointer error which basically means...

View Article

rotate a cylinder in P3D

Hi there, I'm trying to rotate a cylinder based on 2 PVectors, for example, I've got two PVector a and b, and I want the cylinder to be exactly the same position as the line PVector which is defined by...

View Article


How to move a 3D object according to the screen's XY axis, instead of the...

hi! Im writing a 3D sketch in which the user rotates the camera with peasyCam while left clicking and moving the mouse. The thing is that I want to move the objects while right click is pressed so that...

View Article


How ro record audio?

Is there a way to record audio output from a sketch? I have code and library to record video that is images, but I am playing back audio and would like to record that as well. My apologies if this...

View Article

How to use google java api?

I want to use google java api (https://developers.google.com/api-client-library/java/), but I don't know how to use google java api. I found this site...

View Article

Image may be NSFW.
Clik here to view.

Why won't my super formula code work?

I am currently using this video tutorial: to generate super shapes. I've checked my code over and over but still can't get it to generate the shapes outlined by the guide:...

View Article

ControlP5: Multiple Toggles - how to make it so that if one toggle is true,...

I have six toggles: I, II, III, IV, V, VI. If toggle I is true, it changes the variable cycleNumber to 1. If toggle II is true, it changes the variable cycleNumber, and so on. However, at the moment,...

View Article


Processing + JOCL

My question is simple - can I use JOCL along with Processing without breaking some delicate thingy?

View Article

how to track colors and play videos on each colors?

i have to track colors ( there are four colors red,green,blue,and yellow) by webcam and then i want to play videos on each colors below codes are what i did , but i have know idea that how to fix and...

View Article


SoundCipher - how can I access the notes in an imported midi score?

Using the example MidiFilePlayer,pde in the SoundCipher Library examples: How would I go about accessing the numerical midi note data/array contained in sc.score? Example: import arb.soundcipher.*;...

View Article

How to make lava rise from the ground slowly and die on collision?

I want to make lava rise from the ground on every level and if you touch it you lose all you levels. Here is the lava code i have so far void draw() { fill(255, 200, 50); float h.y =...

View Article


Utilise a ratio in an algortihm

I have the ratio of 120:1 and am trying to work out how to use that to inform the playtime of an audio track. So if the track is 120 seconds it will play for 1min, if it is longer it plays longer than...

View Article

Sound visualiser using words

Hi everyone, So in Adobe AfterEffects you are able to make the anchor points of letters react to an audio file, and I'm looking to create something like this except with live music — so the letters'...

View Article

Peasycam text display in P3D

The task is simple: display text that always faces the peasycam. Is there a way to source the vector direction of the cam? If so that would be my best guess to a quick solution. Merci.

View Article
Browsing all 2896 articles
Browse latest View live