CP5 Textarea and Tabs
How can i use tabs in Controlp5 Textarea? The text file include tabs and Newlines. Willi
View ArticleMinum - Clipping on multiple sample play
I am playing more than one sample at at time with the code I developed at the end of this thread. https://forum.processing.org/two/discussion/comment/94886#Comment_94886 However, when I play four...
View ArticleHow to use GImageButton1 to turn my audio file on/off with loops?
This is my GUI BUTTON: I want to use it to play/pause my audio file: public void imgButton1_click1(GImageButton source, GEvent event) { //_CODE_:imgButton1:842456: println("imgButton1 - GImageButton...
View ArticleProblem loading movie on Ubuntu
I recently installed Processing (both 2.2.1 and 3) on a MINIX Z83-4 running Lubuntu 16.10 only to learn that gstreamer/ffmpeg is not properly supported. The repository ppa:mc3man/gstffmpeg-keep does...
View ArticleShapes 3D - shape editing
Is there a way to edit the 3d shape of a box with the shape 3d library? I was trying to get through the Bezshape editor example but it's very complex, so I was wondering if there are methods from the...
View ArticleHow to swap and play video files using functions
Hi guys, I'm having some trouble getting this interactive piece to work. I want to hover over the top left of my sketch and have Scene 1 play. Then a minute later, hover over it and have Scene 2 play...
View ArticleHow do use my GUI G4P slider to increase the tempo and gain of my audio file?
My sliders are as follows: public void slider1_change1(GSlider source, GEvent event) { //_CODE_:slider1:634065: // println("slider1 - GSlider >> GEvent." + event + " @ " + millis()); tempo =...
View ArticleHow to draw Liquid fun particles in Processing
Apologies if I have asked this question already but I don't think it was submitted so... I think what I am trying to do is simple but it's pretty hard to find any documentation... All I want to do is...
View ArticleExpected Null Pointer - Please help
Hi , I am trying to plot the data with the country that the user has entered. My data is formatted in the following way. Country ,1975 ,1976 ....2014 ; Afghanistan, 23, 24 ....40. I want to plot the...
View ArticleMaking a Graph with Frame Differencing Outputs
Hello, I use the Frame Differencing code which gives the movementSum as outputs on a video. I want to make a line graph with this outputs. In my code, I combined a line graph code with the...
View ArticleWhen I click play beat plays every second, I want to use a slider that can...
This is my code: public void imgButton1_click1(GImageButton source, GEvent event) { //_CODE_:imgButton1:842456: // println("imgButton1 - GImageButton >> GEvent." + event + " @ " + millis()); if...
View ArticleBlank/Grey screen (frame differencing)
My code seems like a little bit buggy. Sometimes, i need to refresh few times to get the ideal results. This is very annoying and you need to keep on restart the processing and execute the code again....
View ArticleCGAL (Computational Geometry Algorithms Library)
Has anybody used the CGAL (Computational Geometry Algorithms Library) ? Does it worth to use it in processing for complex geometries?
View Article[SOLVED] Draw static rect filling the screen infront of PeasyCam
The middle of the rect is static at the origin, where the camera is facing, and the rect shall also face the camera. Lik if it's stuck on a stick infront of it. ignore the text on the picture, it's the...
View ArticleVideo library does NOT work on a fresh installation of ArchLinux - 0.0 movie...
Hi, I have recently bought an ssd drive and deployed fresh ArchLinux installation. And I have a problem with using Video lib in processing. It simply does not play any video. It shows 0.0 duration and...
View ArticleMy buttons wont work
Hi, I need to make a clock for a project. The buttons on the clock have to come from a button class, which I have made. However, only the last button in my code is clickable. Everything works using the...
View Article(Java noob) PokeAPI JSONObject nullpointerexception
Hi, I'm trying to load data from the PokeAPI into an array so I can have an array containing each pokemon. Here is my code: import http.requests.*; class Pokemon { int pid, pheight, pweight; String...
View ArticleHow do I get a working installation of HemeshGui
I am interested in installing and using HemeshGui. I am using Windows 7. What do I need to do to install it on any version of Processing, taking into account library compatibility issues? I am willing...
View ArticleLaunching ffmpeg from cmd in sketch?
Hi all, As the title says, i'm trying to launch ffmpeg, which is a command line utility, from within a sketch. I've tried exec(), and open() and launch(), with no real success that I can see. The code...
View ArticleHow do I use a G4P slider to adjust video speed?
As above. For part of a college assignment I have a G4P slider with 3 ticks that set the video speed to 0.5x, 1x and 2x respectively. I'm having trouble figuring out how to actually get the slider to...
View Article