SuperCollider client problem
Hi all, I'm trying to make the SuperCollider client for Processing work. I have SC 3.7.2 and Processing 3.1.1. I tried to run an example sketch from Daniel John Jones website. The processing part seems...
View ArticleG4P use GTextField for number entry only
I'm working on a program that takes a grid of numbers as inputs. I'd like to use GTextField objects to enter each number. As far as I can tell, there's no easy way to limit the possible characters to...
View ArticleHello. How to draw a button?
import controlP5.*; ControlP5 cp5; Object sun; Object earth; Object moon; PVector camPos; PVector camEye; float camRadius, camTheta, camPhi; void setup() { size(displayWidth, displayHeight, P3D); cp5...
View Articleusing .setSize() with controlP5 imageButtons
Hi there guys, here is the default example for imageButton with ControlP5. (one can find it under Examples) I was wondering if there was a way to scale up/down say the rolloverImage by a few pixels. So...
View ArticlecontrolP5 acting up
Here is a simple problem, but I can't seem to figure out why the sliders won't adjust the values of the recursion. Thanks in advance. //hexagonal fractal import controlP5.*; ControlP5 cp5; int radius =...
View ArticleIs there a default max size for the canvas or video using the IPcapture library?
I've been trying to use this library but I keep getting an error: "Frame resize: from 800x600 to 640x480". I'm trying to load a video and live streaming at the same time using both IPcapture and the...
View Articletoxiclibs - toxiclibsSupport, PGraphics, setGraphics() - trying to use off...
hello, I am fairly new to Processing and in the early stages of learning Java. Thank you for this excellent library - it was crucial to the first major piece of software that I have written (used for...
View ArticleSaito OBJLoader Array
Hello,i have this code import saito.objloader.*; OBJModel model ; OBJModel tmpmodel ; PVector[] PVArray; float rotX, rotY; float k = 0.0; void setup() { size(800, 600, P3D); frameRate(30); model = new...
View ArticleChildrens game
Hi I've made this small game, when a letter is pressed its displayed on screen as an image and a sound plays. When I run the code and press a letter it shows the letter and plays the sound, but when I...
View ArticleG4P and PeasyCam in OS X
I can not get G4P controls to work with either peasyCam or proScene in OS X. It seems like mouse events are not passed on to G4P. Things work fine in windows 10. Any suggestions why this is? Try the...
View ArticleUsing Mindset Library for accessing Neurosky
Hello, I am trying to run an example sketch to use Neurosky on windows 7 in processing 3.1.1. I am using this library available at www.jorgecardoso.eu/processing/MindSetProcessing. Example sketch name...
View ArticleUnfolding Maps: Map Style is not working
Hi There, I am using Unfolding Maps in Processing 2.2.1 and it's working just fine until I tried to import my own styling. According to their tutorial page - which is pretty bad documented - I just...
View ArticleHow to connect sliders to attractors with Punktiert + ControlP5?
Hi, I'm working with Punktiert and ControlP5 to create a definition with a bunch of particles and attractors. The definition below is working fine but I would like to add some sliders to change in real...
View ArticleTrying to Visualize Breath as a Line Graph
Hi all, I'm a noob. I've got some JSON data from a device I wear that measures breathing. The file I reference in the code below is here. And I've copied and pasted various bits of code from the...
View Articleparse a tcp message
hi guys, i need some expert advice on this. I have successfully created the tcp connection between processing and matlab. I am using oscp5 library for that. I am sending an array containing x and y...
View ArticleHow can I use translate() to move a shape?
I have used processing for a few months now. I had a question regarding the uses of Translate. I want to make it so that the grid, which I defined using vertices and beginShape(QUAD_STRIP);, lies in...
View ArticleHow to get the point of intersection from curve.
Hello.I'd like to make a some kind of controller like attached file. the curve(white bold line) can be controlled by green button and numbers can map from x coordinate from y coordinate. I could make...
View ArticleOut of Control y Axis- ROLLING GRAPH
Noobie here, I'm trying to take an input from an arduino over a usb and plot onto a graph. Everything is fine except I cant seem to map where the y begins and ends on my graph. I tried so many things...
View ArticleWhat is wrong with the Sound Library that it fails to work?
Thanks for any light that you can shed on this problem. # A fatal error has been detected by the Java Runtime Environment: # SIGSEGV (0xb) at pc=0x000000012092a04e, pid=3823, tid=0x0000000000011f03 #...
View Articlecannot use Processing sound library
If I try to use the Processing sound library I get the error: Java (TM) Platform SE binarxy does not function any more. I tried it wirh P3.1.2 and P3.2. I have this problem only with sektches that...
View Article