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

KetaiGesture has a big failure rate

I am using onTap() function for getting touch events but on some devices there is a big failure rate (some touches are not taken into account, sometimes you have to touch 2-3 times somewhere). On my...

View Article


Use arrow keys to "pull" object, translate keypresses to changes in X, Y, and...

I have a few questions: Which order is best for XYZ rotation, and how do I transform keypresses to "pull" an object (or some objects) down, up, left, or right? I tried making a perspective vector, but...

View Article


TIS/TSM ERROR & crash while looping()

anyone know why this is crashing right when it should loop? import processing.sound.*; // Declare the processing sound variables SoundFile sample; Amplitude rms; // Declare a scaling factor float...

View Article

stream video on second monitor

Hi All, i would be able to stream two video on two different monitor, at the same time. So far this is the code i written to stream one on the secondary monitor, but is not working: import...

View Article

Creating a Piano (NEED HELP with KEYRELEASED)

I am creating a music machine and when I press the 'a' key the function begins to hold the note. When I release the 'a' key, the sound file stops, as i want it to. But when I go to press the 'a' key...

View Article


record past 15 seconds of microphone with Minim

Hi everyone, I'd like to be able to record from the microphone using minim, but with a caveat. When the user presses the record button I want to be able to save the past 15 seconds (before the user...

View Article

How to control tint of image in Processing with audio output volume

Ok, so I'd like to project a few pictures to the wall. I'd like the tint to change gradually, depending on the volume of audio output. The audio is coming from audio samples (so not MIDI instruments,...

View Article

Add 'isTouch' to force touchscreen mode (ControlP5)

Hello, I changed the ControlP5.java and ControlWindow.java files as discribed in the following link. But I don't know how I can use it. Could you help me, please....

View Article


HEMesh points to mesh instead of tetrahedron?

From the example, mostly: import wblut.processing.*; import wblut.geom.*; import wblut.core.*; import wblut.math.*; import java.util.List; List<WB_Point> points; WB_Delaunay triangulation;...

View Article


3d triangulation library

What is the best and actual library for triangulation of 3d vertices?

View Article

How to understand what is slowing down the code on many iterations?

I have a very big code with multiple classes which creates a simulation of artificial creatures. It contains an evolution algorithm which at the end of each generation saves several copies of the best...

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

Image may be NSFW.
Clik here to view.

Hemesh: Create mesh from points (or alternative to HEC_ConvexHull)

Hi there, I am currently working on a project that creates a 3D mesh from a set of points. These points have been translated from latitude/longitude coordinates and a depth. I have used a HEC_Geodesic...

View Article


MyFinalThatsNotFinal

This is the code to my final for school. Did basic assignments then the final was to create a game. Only been programming for about 6 weeks. This is my code. I cannot figure to open the correct window....

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


setVisible(false) cause myButtons to stop working

Good aftenoon. First, sorry for my poor english ! I have an issue with my ControlP5 Buttons. I'm using a "Window" class, wich contains (among other stuff) an arrayList of Button. When i change the...

View Article

[minim] Saving audioSample to .wav

I recorded with audioRecorder, then converted it to audioSample to access it's arrays and mess around with the sounds (playing it back with .trigger() ) But I'm now stumped on how to actually save this...

View Article


Upload file to WordPress Site using Processing

Hi all, hoping somebody might be able to point me in the direction as im struggling to find a way to upload a json file to a WordPress site. Im currently trying to post the file to the...

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

Image may be NSFW.
Clik here to view.

video array?

hi all. Whats is the way to make this.

View Article
Browsing all 2896 articles
Browse latest View live