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

ControlP5 Icon class calls controlEvent method when setBroadcast is set to false

Hi, Basically as described in the title. I'm working with the icon class which is great but when I set it to being a switch, setting broadcast to false does not affect whether it calls the controlEvent...

View Article


Combining separate sketches in one processing file

Hello everyone. I have a question. We are doing a new media art postgraduate project,our lecturer wants to get us involved with processing. I have seven different sketches. They are all separately. I...

View Article


G4P GtextArea scrolling to bottom as you type

I am trying to figure out a way to scroll down to the last line of the GTextArea after each time text is set. If you try my code you can see when the text reaches the bottom of the view nothing...

View Article

MIDI. Load and play MIDI files with Java code in Processing 3. HELP!!!!

I’m trying to play a midi file, using java classes I don’t get any errors, but the file doesn’t play Here is the processing code: import javax.sound.midi.*; import java.io.*; Sequencer playMidi; File...

View Article

ArrayList of PVectors Setup and Display

Hi, I was wondering if anyone here can help me getting my head around PVectors. I am creating a visualization of points on Earth. For this I am creating an arrayList of PVectors, which get their data...

View Article


dynamically show videos added to a folder

hej – i know how to play/loop an existing video. but what if i have a folder in which videos will be copied (from an external source – in my case a raspberry pi that uploads captured video clips)...

View Article

how do I change an original image to show when there is a loud noise, and the...

I am still a beginner with code and I was hoping to get some help in changing original image to show when there is a loud noise, and the filtered image show when it is quiet. I wasn't really shown how...

View Article

How to make a video stop playing and screen++;

Hi guys, I have a basic set up of an animation storyline in which when the user clicks the mouse or does certain interactions, it then runs the next 'screen' or next animation. The issue I'm having is...

View Article


Analyze sound spectrum and sound visualization

Hi colleagues, which tools/libraries are good for scanning sound samples and extracting values. The values again should work as a driver for the visualization. As I saw a few, not sure where/how to...

View Article


Hello, in the code below I try to give a random value to textSize in the...

[see below for code]

View Article

Image may be NSFW.
Clik here to view.

Problem with DXF Exported sketch from Processing to Rhino

hi everyone, i just exported my sketch to Rhino for making 3d model but i realized that each of my lines exported as 2 parallel and make them useless for lofting!! is it possible to fix them in...

View Article

Problem with "Sound" library

I'm trying to run the example in the documentation for the "Sound" library (https://processing.org/reference/libraries/sound/SoundFile.html) but I'm getting an error. I'm running v1.3.2 of the library,...

View Article

Rotate video from IP Webcam

Good evening to everyone and beg your pardon for my english. I'm new here even if it's a little while i'm working on Processing. In fact I use Processing to control arduino2009 board on my ROV, but...

View Article


How can I make this idea possible?

Hi. I'm 22yo design major student. Sorry for the bad english. I might be suck to understand. I try to make some kind of interaction work that by writing some words, It becomes a short melody on...

View Article

How do you enable Mouse Wheel Events on "G4P-GUI Designer" controls

I am using G4P GUI Designer creating a PID Controller Screen to interface serially with a custom designed Arduino PID Controller. I created many Custom Sliders using the GUI Designer, but I do not get...

View Article


Multiple materials on an .obj? Sketchup, Meshlab

I have designed some 3D objects in Sketchup that I would like to display in processing. Different surfaces of the model are painted with different textures. I then export as .dae with textures which...

View Article

Motion Detection

What's wrong with my code. When I run the code, it pops out a grey windows nothing inside there. The camera should be activated and detect motion in the screen import processing.video.*; int numPixels;...

View Article


JSONObject is ambiguous - how to choose Processing's class?

I'm currently working on a project that uses the Twitter4j library which, along with Processing, also implements JSONObjects. I'm getting an error that reads "The type JSONObject is ambiguous" because...

View Article

How can I make the text to sound?

Hi guys, I asked this once, but still can't make it works.. I want to make the sentence I make to convert little melody when enterkey pressed. those are codes import ddf.minim.*; Minim minim;...

View Article

Hermes compatibility

Hi I programing a game and I discovered the framework Hermes. First I have never used a Framework so I'd like to know if i need to know some things about the code or anything and also if i can freely...

View Article
Browsing all 2896 articles
Browse latest View live