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 ArticleUse 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 ArticleTIS/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 Articlestream 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 ArticleCreating 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 Articlerecord 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 ArticleHow 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 ArticleAdd '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 ArticleHEMesh 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 Article3d triangulation library
What is the best and actual library for triangulation of 3d vertices?
View ArticleHow 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 ArticleHelp 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 ArticleHemesh: 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 ArticleMyFinalThatsNotFinal
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 ArticleStacktrace 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 ArticlesetVisible(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 ArticleUpload 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 ArticleHow 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