Get id while hovering in scrollable list
Is there a way of getting the individual id of scrollable list in controlP5 while hovering? In the sketch below you get the id by clicking. Possible to get it by hovering? import controlP5.*; import...
View Articlewhy are all this examples missing surface
i downloaded the boofCV for processing example and all the examples are giving errors about no surfaces found surface.setSize(input.width, input.height);...
View ArticleAdding a restart button, and showing score
Hi there! Just a quick question. So in my game of pong, when the ball falls through, i am trying to change it so that your score is shown after the "Text" of (Your Score:). Also, underneath that, I am...
View Articlehow to resize map in unfolding?
I am currently using the unfolding library to do a map visualization of crime data. However, I don't want the map to be the same size as my size() in setup(). Is there a way to resize the map? I can't...
View ArticleMy sound file wont work
import processing.sound.*; SoundFile file; long time; void setup() { time = millis(); timer(10); size(1900,1000); background(0); time = millis(); file = new SoundFile(this,"C:/Users/Sam/Desktop/Java...
View ArticleFilling letters with images? (Font created with fontastic)
Hello! What I want to do with Processing is to create a font using the Fontastic library and instead of letters in a particular color (black,blue, etc.) I want to fill the letters with an image. Is...
View ArticleCSV file - show a given number of records at a time
i have a csv file with 72 records in it. i want to display just 8 at a time, and when the arrow keys are pressed, RIGHT and LEFT, i want it to show the next 8. HOW do i do that? do i have to redraw? I...
View Articlelooping video, sketch slowing down
Hello! I have a sketch-in-progress which reads in some items from a tsv file in order to display a video on loop and two alternate labels for it, in a randomised order. There are 16 videos. Each video...
View ArticleHow I Can turn the local variable to global?
import g4p_controls.*; GTextArea txa; GButton show; void setup(){ size(700,700); background(0,0,255); show=new GButton(this,20,20,50,60,"Show"); txa=4new GTextArea(this, width/2-100, height/2-80, 200,...
View ArticleCall An Event When a SoundFile Finishes Playing
I am using sound files, and I want to, when a sound file is finished playing, call an event that chooses another sound file and plays it. I can get the duration of the file, but since what I'm running...
View Articleupload image knob!!
Hello! I presented a doubt in the CP5 library! I need it to load an image on a knob and me is impossible. I am a beginner in processing and I can not solve it! This is for a project and appreciate...
View Articlehow to make a chirping noise every 5 minutes of the hour?
I used the minim sound library and I got a bird chirping noise to work. If I open my sketch at, for example, 8:34, and leave it open, at 8:35 the bird will chirp once then stop, which is great. that's...
View ArticleStacked BarChart with gicentre
I wanted to use the gicentre to help me visualize my data. It seems really simple to use with a simple bar chart, but would there be a way to do a stacked bar chart? I can't seem to figure out a way...
View ArticleCustomising Processing in a PApplet
I'm basically creating a music player and thus far I have a PApplet that plays music that reacts with visual art; it also encompasses a pause and play button that pauses and plays the animation and...
View ArticleConversly play input from mic
Hi, Is it possible, with the help of processing, to take INPUT from the microphone and play the data conversly in realtime.
View ArticleGameControlPlus - centering joystick?
This is in Processing 3.02, Latest GCP library, Win 7. Having a bit of a prob getting the Logitech Extreme 3D to zero to the center of my sketch. Here is the line where I read an axis: JOYX =...
View ArticleSwitch between two videos
Hi everyone, i have used the Loop example of Video librarie of Processing. The idea is basic, i want to move the mouse around X or Y axis and switch between two or more videos which start at the same...
View Articlegamecontrolplus Send Serial Data
import net.java.games.input.*; import org.gamecontrolplus.*; import org.gamecontrolplus.gui.*; import processing.serial.*; ControlIO control; ControlDevice device; Serial port; void setup() { size(100,...
View Articlechange strokeWeight with frequency
Hi, i was wondering if someone could help me change the strokeWeight to adjust when sound hits a certain frequency, I managed to get it to work on one sketch however, i cant figure out how to apply it...
View Articlepromidi library
Hi, I'm trying to find promidi or pro midi 2.0 and having a hard time locating it anywhere. Is it still available, or is there now a good alternative that I should use instead? I'm new to processing...
View Article