ArrayIndexOutofBoundsException??
I cannot see where this error comes from in this sketch: Any help would be appreciated . . . import processing.io.*; I2C i2c; void setup() { size(420, 420); i2c = new I2C(I2C.list()[0]);...
View Articlebuilt-in processing and Open cv video library does not see my camera.
I use in my project astronomy cmos camera qhy5. But the built-in processing and Open cv video library does not see it. What can be done? What are the cameras running processing??? Thank you in advance....
View ArticleLibraries for text manipulation
Hello Processing members I plan on doing an animation that pulls all the text from the screen to the middle and lets it pulse like a heart. For that I checked if I'm able to manipulate whole Strings...
View ArticleStop minim audio
I'm working on a code that is going to have multiple options of songs to play in the background. I can get the audio playing but I cannot figure out how to have it stop and not overlap. I was hoping to...
View ArticleHow to make Text Reappear and make sound play when mouse pressed
Hi! So I have this code written so far. I'm having trouble with two parts of it: 1. I cannot get the text BREATHE to reappear when mouse is released, it's only a white screen and 2. I cannot get the...
View ArticleI don't have OpenGL installed.
Don't ask me why you don't have opengl, I have no idea. Where do I download the OpenGL library for processing? Thank you.
View ArticleAbout basic toxiclibes spring system
Hi, Here is a code i have written by learning Nature of code. bugs turn up as i try to modify a Spring system to be interactive. I try to use distance function to detect if the mouse click knots( any...
View ArticleHow to change permission in terminal I cannot use VideoExport Library.
Hi guys, I have a problem trying to use any of the code from the library of Video Export that they get the same error. Even with the code from the website itself here >...
View Articletoxiclibs vs. generativedesign: compare/contrast?
I have done several small-scale animations (e.g. force-directed graph, Abelian sandpile) using my own simple classes. Browsing the Processing contributed libraries, I discovered two libraries which...
View ArticleControlP5 : Pressing a button shows another frame.
Any idea how does it work? I know the concept of creating a button by this library. What I do not know is the syntax to create a new frame that has another program. Let's say if I press a button, this...
View ArticleUsing a ControlP5 slider as video progress bar
Hi. I'm doing this videoplayer but I need to see the progress of the video and be able to change it or make jumps clicking on it. I tried to update the internal value of the slider in an external...
View ArticleG4P - GDropList NPE
Hello, this seems stupid, but when i try to create a new GDropList i get a NPE and i dont have a clue why. I'm using processing 3.2.1 + G4P 4.2. import g4p_controls.*; GDropList ls; void setup() {...
View ArticleProcessing.sound looping SoundFile
I want to loop a SounFile so that it starts over once the SoundFile plays. What am I doing wrong? void mouseReleased() { if (mouseX > 25 && mouseX < 75 && mouseY > 25...
View ArticleHow accurate are the time functions in processing?
I'm working on a sequencer, to use as a midi controller or OSC controller I'd like to my sketch to be able to generate its own sync source. So my question is, should I use the draw() function and try...
View ArticleHow can I create a chat server that allows multiple clients to connect?
I'm a graphic design student and I need to create a chat just like Facebook's that lets you know who is online and chat with them. I've looked trough the Net library on the Processing website but can't...
View Articleminim: 1st clip doesn't play on 1st play()
In my simple picture dictionary code cited below, I add the last line in setup() [line 29], i.e. preload the 1st sound clip, or else it doesn't play on 1st instance of play(). I guess this is not the...
View ArticleHaving issues using G4P with Peasycam
When I add G4P GWindow to a sketch that uses Peasycam I can no longer control camera with mouse. The example "G4P with Peasycam" also does not work on my Macbook. In my app I simply create a GWindow...
View Articlehow to change color button and print the button's label
i have a problem with my codes, i just the button once, but i t print like 3 or more character at the same time. how can i click once and print one character? import controlP5.*; ControlP5 cp5; Println...
View ArticleProgram is lagging
Hi, I'm having a tough time figuring out why my program is lagging and was wondering if anyone could help. Thank you!! :-) import processing.video.*; int d = 40; float xo; float yo; float zoom = 1;...
View ArticleG4P exit app problems
I cannot get the app the close cleanly using GWindow. Here is the code I use to set up the window: void setup() { size(1200, 1050, P3D); window = GWindow.getWindow(this, "My Window", 1201, 30, 300,...
View Article