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

Trigger sample causes horrible loud distortion using MINIM

Hello, Im trying to get a sample to trigger when the mouse passes over a movie (which then loops and enlarges) and stop when the mouse is no longer on that movie. In the below code everything is...

View Article


Can anybody tell me why I'm getting a null pointer on my PImage array??

import processing.serial.*; import cc.arduino.*; import static javax.swing.JOptionPane.*; import javax.swing.JPasswordField; final StringDict accounts = new StringDict( new String[] { "john", "tony",...

View Article


Using G4P GUI image buttons, how to use mouse pressed on the button, and make...

I want my first page to have the image buttons i created with my gui, but then I want to create some sort of boolean/ mouse clicked when you click on them it'll change my programs page ( and the...

View Article

rundom numbers

Hello! i need help As I can make random numbers? I put in the code: 0.0.0.0.0.0.0.0 I would like that every time you click the mouse do the numbers change their random manner. For example:...

View Article

How I can create a database using processing?

How I can create a database in which you can enter data of a person and they are stored in a database, you can also save some variables that person.

View Article


Error PGraphics 3D using Syphon

I'm using Syphon ibrary in processing 2.2.1 and i get always the same error : "ClassCastException: processing.core.PGraphics3D cannot be cast to processing.opengl.PGraphicsOpenGL" Any help please????...

View Article

Working with minim library - Fade in - Fade out ellipse ?

I just did this with the minim library by using amplitude of the sound .... my interest is to make a circle disappear , in the moment that you 'feed' with the sound it gets some colours re-appears...

View Article

In below code error Array out of bounds is coming in portName=...

import processing.serial.*; int SerialPortNumber=2; int PortSelected=2; /* ================================================================================= Global variables...

View Article


Importing libraries in .java tabs

Hi guys, I'm kind of new with Processing 3.* and surely new in this community. I am (and willing to) using the Processing Development Environment (The official IDE). Reading the official "guide", in...

View Article


Processing and ODBC Connection to Database?

Hi, is there some solution or way to connect processing with Postgresql for example? How to realize the minimum distance between Processing and DB? Any ideas?

View Article

Reading a color value from webcam.

Hello, I am making a small program that reads what color hat you are wearing and then performs a virtual key press via a robot to interact with a game. I got it sort of working so far in that it will...

View Article

Controlling child window properties.

In the example: Demos > Tests > MultipleWindows I would like to create a child window which does not close the main window when closed. The purpose is to have an inspection window which will be...

View Article

Error from video library in Ubuntu 16.04

Hi there I'm getting an error when trying to use the video library using Capture in Linux Ubuntu 16.04 in a 64 bits machine. Actually I tried in two different machines with fresh installs and got the...

View Article


Issue installing processing-sound library

I am new to Processing and I have some issues installing the processing-sound library. I installed the oscP5 libary here and it works fine: C:\Users\51syvjan\Documents\Processing\libraries\oscP5...

View Article

jsonObject is ambiguous

Now the code below is a mixture of two sketches. The goal here is that the user inputs a search term. Upon hitting enter the applet searches tinysong for the song and returns the song id (this works in...

View Article


gicentre Zoom Pan

I'd like to know how to change the zoomer ZoomPan setting in GICentre library. I've tried the following: zoomer.setZoomPanDirection(ZOOM_HORIZONTAL_PAN_BOTH); but I get a syntax error as it interprets...

View Article

How to export to svg using library processing.svg.*;)

Hi there, Can anyone please let me know if there is a reference for the library processing.svg? Thanks Paul

View Article


How to read a https webpage?

I've been trying the http requests library but it doesn't seem to handle https requests. The context is that I want to read and send (i.e. get and post) to an IoT device. It seems to have only https...

View Article

Create TAP TEMPO / METRONOME

Hello. I have a few months of experience with Processing, but I guess that this is an algorithm related question. So, I have a processing project that plays sounds when the user press some PAD on MIDI...

View Article

Not sure how to go about it. (play video on key press)

Hi, I'm trying to figure out how I would go about creating a code that will trigger a video when I hit a certain key on the keyboard. the key doesn't have to be specific, I have found various other...

View Article
Browsing all 2896 articles
Browse latest View live