capturing video library
Hello, I tried to use this library https://processing.org/reference/libraries/video/index.html It says: "A library relies on native code that's not available. Or only works properly when the sketch is...
View ArticleSOLVED: Newbie: Error Mixing Active and Static Modes
Problem solved before response..traced to a syntax error. It was a mismatched bracket }. strange as I find the error codes more intuitive.
View ArticleError on exit using sound library
Running the code at: Processing Reference: SoundFile Example I got the following error when exit from sketch: ERROR: /node/free: Node 1 not found ERROR: /node/free: Node 3 not found ERROR: /node/free:...
View ArticleChanging the value of an array with a slider
I have an array that creates ellipses on the screen (Nodes), I want to be able to change the amount of nodes that are on the screen whilst the app is running with a p5 slider. Node[] nodes = new...
View Articlethe MIDI BUS
Hi! i cant resolve a problem here. Im trying to do a music visualizer. The idea is very simple; when i press a Key in my midiController add a new Particle, and when i release, delete that Particle. but...
View ArticleWhere to start: Music Visualization, possibly from Spotify
Hi, I am new to programming. I have basic knowledge of processing. I am trying to create a music visualizer using minim library. Ideally, I want to pull random music from Spotify ("HTTP requests for...
View ArticleControlP5 Tab Positioning
Hi I am trying to position a group of tabs in a processing sketch using the following code; cp5.getTab("default") .activateEvent(true) .setLabel("Location Engine") .setId(1) .setPosition(25, 100) ; But...
View ArticleHiding a slider - How?
Hey! I have been trying for quite some time now to figure out how to hide a slider after it has been shown. I've tried numerous ways but I have not found a solution yet. I would like to archive a code...
View ArticleProcessing+OpenCV - FaceDetection on a Movie
I am using Processing with the OpenCV Lib and wanted to rewrite the example Code from the creators Git so that instead of doing Face Detection on a Camera Capture I'll load a video (.mp4). Link to the...
View ArticleQuote generator problem
Hi all! So, I'm new to Processing and am trying to make a quote generator based on the musical 'Hamilton' for a college project. Basically, what this should be is when the button is pressed, a quote...
View ArticleError with any sketch using sound library
Hi all, I'm new to processing, I've done a few tutorials, and it was working fine, but then when I tried to use the sound library none of the sketches run. I'm using processing specifically with the...
View ArticleLateral SubMenu
Hello my Friends, My application has to many buttons, It would be possible get a submenu for the lateral like as first code, with the content of the second code? for exemple... Thank very much. Santy...
View ArticleMultiple lines in one chart
I am using XYChart from org.gicentre.utils.stat.XYChart. Is it possible to create two lines with different data in one chart? If yes, someone has an example?
View Articlearrays + midi msj
Hi! i cant resolve a problem here. Im trying to do a music visualizer. The idea is very simple; when i press a Key in my midiController add a new Particle, and when i release, delete that Particle. but...
View ArticleIf and else if
Hi everyone ! I'm trying to let appear a color rectangle in my processing window, and change color according to the frequencies of a song. There is only 3 different scales for the moment; red under 70,...
View ArticleRandom video player freezes after two hours
Hi everybody For a project I programmed a random video player using the processing video library. If the space bar is pressed a random video is played. After that the player plays a video in a loop...
View ArticleHow to connect to an Api with username and application key
Hello all. As part of a new project I would like to connect to an external api with a username and application key. I understand how to connect to a simple api and load/get the JSON data but after much...
View ArticleWhy is my genetic algorithm not working?
I have been working on a genetic algorithm where the computer controls a ball with a string of balls attached to it, and the computer has to learn to jump over an obstacle. This is my code: final float...
View ArticleGet a 3D Vector from Box Object in P3D
Hello All, I'm wondering if there's an easy way to get a 3D (or 2D) vector from a box(); or sphere(); object in processing? I won't post my code, bc it is ENORMOUS, but basically I've placed a box...
View Articlerotate a proscene camera around an aribtrary point
Hello All, There must be an easy way to rotate a proscene camera around a point, but I don't know how to do it. The regular rotation methods don't work on the proscene camera. I don't want to rotate...
View Article