Do / whille is not working how it suppose to.
Hello everyone who read this Question. Yesterday we were told at school to make a program that read a string from keyboard and than print the string. The library I have imported and...
View Articleplay video in reverse
Hi, I'm trying to play a video file in reverse - using Processing 2.1. According to the documentation setting the speed to a negative number should do it, but I get a GStreamer error: (Processing core...
View ArticleUsing A Game Controller to Play Sound Files
import ddf.minim.*; import ddf.minim.analysis.*; import ddf.minim.effects.*; import ddf.minim.signals.*; import ddf.minim.spi.*; import ddf.minim.ugens.*; import net.java.games.input.*; import...
View ArticleFor the Hemesh library, is there a database of downloadable meshes and textures?
I'm just looking for detailed earth meshes with corresponding textures for a project. If there is a database that isn't directly affiliated with the hemesh library but still works with the library (or...
View ArticleVirtual keyboard in Java mode for touchscreen
Hi there guys, I'm in the default Java mode. Am using Control P5 for text fields eg: User input for Email address. I can do this via any keyboard (hardware). However, for a touch screen based app, I...
View ArticleWhere will I find some graphic interfaces that include gauges, sliders, etc
I want to develop a sketch that uses GPS data to show speed and direction. I would like to have some nifty gauges to do that and I am thinking that there must be libraries out there that can help. Can...
View ArticleUpdating barchart in realtime GiCentre
Hi. So I have this example code from gicentre. import org.gicentre.utils.stat.*; // For chart classes. // Sketch to demonstrate the use of the BarChart class to draw simple bar charts. // Version 1.2,...
View ArticleComparing ints and checking value every 5 second.
Hi. I'm working on this project, where I have to import the numbers from an excel sheet, and checking which team has the highest score. I've managed to import numbers from excel sheet and add them...
View ArticleButtons with ControlP5
Hello guys, How can I change the position of a button with controlP5 dynamically after it is created? We are building an application where the user needs to choose an option (button image), which...
View ArticleHelp Please ¡¡¡ Opencv Pedestrian Detection
Hello there, im new in the community, and im really interested bout the functioning of OpenCv, does anyone know tips about Opencv counting pedestrian fluxes ? Previous thanks ¡
View ArticleCreating custom audio effect with Processing 3.0+ and processing.sound library ?
I would like to create own audio filters/effect with the new sound library and patch those to output. It is not clear what classes or interfaces I should implement. Can anyone guide me on this ? I have...
View Articleif i dnt use key(left/right) after died first time gameendscreen doesnt...
PImage gamepic; PImage game; PImage gstartr; import gifAnimation.*; Gif gst; Gif gsti; float x=300; float y=500; int r=50; float m; float rx=200; float ry=0; float rs=10; int scr=0; float px=300;...
View ArticleHow to make the ellipse change color apposed to black and white
At the moment when using the slider the ellipse goes from black - white, however I'd like it to go from the colors in my code (maroon - green) any help would be greatly appreciated! import controlP5.*;...
View ArticleSerial - App hangs when writing to Standard Serial Over Bluetooth Link
Good day lovely people. I have a problem where I scan all my available COM ports to see which one contains my hardware and open an connection to it. I simply just poll through the Serial.list() and...
View ArticleFont change and display in Geomerative
Hi, I'm trying to display text with a changeable font, that is any font installed. I accomplished that quite easily w/ processing's default libraries, here's the code: void setup() { size(900, 500);...
View ArticleHow to get the number of beats in an audio file without actually playing the...
Hi all, I've been searching online for ways to do so, but all the examples I came across involve playing the audio file. I know it is related to AudioBuffer. How can I make the AudioPlayer generate new...
View ArticleUsing A Game Controller to Play Sound Files
import ddf.minim.*; import ddf.minim.analysis.*; import ddf.minim.effects.*; import ddf.minim.signals.*; import ddf.minim.spi.*; import ddf.minim.ugens.*; import net.java.games.input.*; import...
View ArticleMinecraft type engine for a data visualization
I have been doing a lot of research of lately and it appears that for my project, I need what amounts to a Minecraft (voxel) (geometry instancing) (octree)(point cloud) engine that will allow me to...
View ArticleGranulizer using Sound Library
Hello! I'm having a bit of trouble getting the idea of an audio granulizer patch to work in Processing 3.0. For those who don't know what an audio granulizer is, it's basically a process that takes an...
View Article