Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum

How to switch from one text to another according to time with the Geomerative...

Hi, I have an issue with Geomerative. I'd like to switch from text to text using this library according to a time schedule. It works but when switching to a shorter text I still see the previous text!...

View Article


Multiple videos smoothness - threaded playback

Hello! This script only requires a bunch of .mp4s in the data folder. You'll see a collage of 9 videos (or duplicates) in different positions and transparencies. The thing runs ok but even pre-loading...

View Article


Blob Detection Library

I am using the Blob Detection library. My problem is: I have defined a rectangular region of interest (x1, y1, x2, y2) and I want to create an array with all the pixel coordinates that are in the...

View Article

How to switch from one text (using Geomerative) to an other according to a...

Hello, I asked a very close question brillantly answered by @jeremydouglas few time ago, now I'd like to have a different duration for each text. In the sketch below the changePhraseTimer() works, but...

View Article

Installing rwmidi library issues... only.java files no .jar might be the issue

I downloaded the rwmidi library from github and placed the unzipped folder in my library folder but processing doesnt see it. The directory structure is different from what I normally see but saw tons...

View Article


mov files not playing

Hi, Is anyone experiencing issues with video playback? I can't get any .mov files to play... I've even tried to run the example sketches on video playback and only the "reverse" example works, which...

View Article

How to use Grafica objects/methods in an independent window generated by G4P...

Dear all, I'm a beginer with Processing so my question might not be posed in the correct manner. Still, I tried to use the Gplot objects and the related methods provided in the library Grafica. It...

View Article

How to select a marker not using mouse - Unfolding Maps

Hi @tnagel I was wondering if there is another method to select a marker not using the mouse (i.e. not using getFirstHitMarker (mouseX, mouseY)... More precisely, : - is there a way to select a marker...

View Article


controlP5 problem.

hello! I`ve a problem with controlP5 library. In a json file i stored the value of a variable of a class name "layer", witch is equal to buttonBar choice. buttonBar = layer Next, i want to load that...

View Article


How to add a trigger to an oscilloscope program?

I'm working on a very bare bones oscilloscope program using the minim library: import ddf.minim.*; Minim minim; AudioInput in; color white; void setup() { size(512, 100, P2D); white = color(255);...

View Article

HE Mesh Parameters

hello! im using the hemesh library to construct 3D meshes, but ive a problem when i want to change the values of a constructor.. how can i change them? here in the example, i want to change the radius...

View Article

Image may be NSFW.
Clik here to view.

Shapes 3D library camera doesn´t focus whole composition

Hi guys, well i´ve been using the Shapes3D library, y downloaded a sketch for a tunnel and used the examples from the library, this example had 2 java codes added, it showed me the tunnel full at the...

View Article

Lateral 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 Article


Using processing.io in Eclipse

Trying to use processing.io in Eclipse, but instead of a jar File to add as a dependency there's only this "libprocessing-io.so" file. What's the easiest way to get this working in Eclipse?

View Article

Help for installing libusbjava

Hi everyone, I'm currently trying to use libusbjava as shown on this website, but I get an error, and can't manage to get it to work, since I'm not so experienced with raw Java... The thing is this...

View Article


Changing prosessing sketch from gif to realtime

I am following a tutorial patch and it is to create a specific framed number giff, so far so good.. But now I would like to change it so that it loops forever in realtime rather than outputs its...

View Article

PixelFlow: Optical Flow, getting access to directional vector values in the...

I've been exploring the PixelFlow library a bit and am at a bit of a loss with how to get access to the internal values within the library. For example, in the OpticalFlow Basic example and the...

View Article


Creating an ArrayList of SinOsc objects, trouble with adding, removing, play...

As the title says I'm trying to create an ArrayList of SinOsc objects. When I click the mouse I want it to add a new SinOsc object to the ArrayList which will play a sine wave. The sin wave will differ...

View Article

How can I make a very simple FSK(Frequency Shit Key) generator?

I'm trying to make a very bare bones replica of a linux program(I use windows) called minimodem. What I'm trying to replicate is the part at 18 seconds, the transmitting part. How would I go about...

View Article

Sound library update not working

So processing was working with my code perfectly before this sound library update (2.0.1). When the code gets to this section (it's just the first one there so that's probably why it does the specific...

View Article

Image may be NSFW.
Clik here to view.

Reliably send images over net

Hello, I’m trying to transfer images over net between Processing-sketches on different computers. I’ve been making making some small test sketches to test this out. I’m using built-in java library to...

View Article


clearing an ArrayList

I've around this issue a few times. I have a particle system that contains an ArrayList of particles. I use a separate window for the interface programmed using Control P5. usually my particle system...

View Article


Play just a selection from a sound sample?

I'm able to create and play long sound samples with code like this: wave = minim.createSample( samples, format, buffersize ); wave.trigger(); But the array samples is huge, and sometimes I want to play...

View Article

G4P library crashes with multi-window

hello #Quark I have noticed several time instability problems when using the G4P library to generate multiwindows. I'm using G4P builder tool in Processing 3.7. I stripped the code to the bare minimum...

View Article

GP4 tool loses track of sequences and generates program errors

I think that I might be using this tool incorrectly. I successfully created and used several panels with control groups and option buttons. When I went back to add more panels and controls, the...

View Article


Program controllers

I want to use some controllers in a java game that I am creating and am wondering if it is even possible and if so, how.

View Article

How to reconnect/stop OscP5 TCPIP ?

Hello, i want to stop and start new connection, but oscP5tcpClient.stop(); not working... CLIENT import oscP5.*; OscP5 oscP5tcpClient; OscMessage m; String input; void setup() { size(500, 500);...

View Article

stl file reading

how can i import an stl ASCII format file in processing? and how can i slice it??

View Article

Does BezierSQL still work with MySQL server 8.0 ?

Hi, It seems for me that the library BezierSQL doesn't work anymore with MySQL server 8.0. Did someone noticed that ? Thank you for your help. Fabrice

View Article