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

How to connect processing with gh using UDP or OSC?

Hi there, I am trying to receive some data from grasshopper, and I firstly use OCSP5 library, which allows sending message to gh but cannot receive. And I tried UDP class, but the processing keeps...

View Article


unmanageable CPU cost when a video is loaded using video library

I'm trying to do a simple think: when a button is pressed i load a video using the processing video library, each button is associated with a different video, for example button 1 with video 1, button...

View Article


Send value to a object

Hello everybody. I`ve a problem: I`ve a array of ellipse Objects. Every object has his variable of size in the constructor. In a second screen, via controlP5, a slider that change the size of every...

View Article

Image may be NSFW.
Clik here to view.

Increasing maximum available memory testing. How to get better results?

This is a i7-8700, 32Gb of RAM, NVIDIA GeForce GTX 1080, running Windows 10 and Java 8 (171) installed and heap memory set to max 32Gb(-Xmx32g) (?) on run parameters. Processing 3 running an example...

View Article

Help with spheres bouncing off each other

Hey everyone, I created this sketch for a bunch of emojis orbiting around one emoji and I am trying to make them bounce off each other when they touch, can someone please help me on how to do that?...

View Article


trouble comparing JSON getString result with string

Hello I'm trying to learn the JSON and it's intricacies. I'm using the JSONget example as a starter.. I want to do conditionnals, but it never returns true. Even using the debugger, it all seem ok and...

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


A carousel for graphs

Hi there dear enthusiasts, I have been trying to write a program for android which shows some graphs in it. I was wondering if there are any libraries out there that already offer the carousel object...

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

Stacktrace Question - StringIndexOutOfBoundsException

Hi All- I'm trying to troubleshoot a bug that's been eluding me for a while now. Below is the first few lines of the stacktrace that is returned when it pops up. Does anyone know what "1967" refers to...

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
Browsing all 2896 articles
Browse latest View live