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

Creating various Buttons with ControlP5

Hey guys, I'm still very inexperienced in Java, and I'm having trouble doing the following: I need to allow a user to create as many buttons as they want, while the program is running. All the buttons...

View Article


View geographic area in a window

Hi, I'm trying to take a geographic area using geographic coordinates and then mapping them to cartesian coordinates to draw a single polygon in a processing window. The problem is that when I use a...

View Article


Control P5 Textlabel getWidth returns zero?

Hi just wondering if there was a way to get the width and height of a controlp5 textlabel? I was also wondering if it was possible to align the text? I couldn't find anything obvious in the reference.

View Article

Processing Sound Library sporadically crashing normal?

I tried example 5 from this guide processing.org/tutorials/sound Sometimes it works, sometimes it crashes, with the message... Could not run the sketch (Target VM failed to initialize). Tried both .wav...

View Article

Simon-like game

Hi everyone. I'm currently trying to make a sort of Simon game, so I've already tried some code (basic code, everything I need). But, my goal is to play with a Position motor in the center of the room...

View Article


Hey guys! Need help on my coding project! (webcam amplifier)

Delete!

View Article

Serial GUI Interface [ControlP5]

Hi all, Kinda new at this and new at coding java so my knowledge isn't the best right now but slowly working at it. I'm trying to get my GUI to display when it receives a serial message from a...

View Article

How to move the text cursor left and right in Control P5 textfield?

Hi there, I know this sounds extremely simple, but I have been looking around a lot and have not been able to find a solution for it. The closest thing I could find was the getIndex() method for the...

View Article


How to modify an audio file's frequency

I have to use Processing to make a program for school. It's very simple (a basic piano), but I'm running into some problems here. The people I'm working on this program with and I have already made it...

View Article


Image may be NSFW.
Clik here to view.

Reliably send images over net

Hello, I’m trying to transfer images over net between Processing-sketches on different computers. I’ve been making making some small test sketches to test this out. I’m using built-in java library to...

View Article

Why can I only load four audio files in Minum

I want to play a sound file controlled by a number. I have written this simplified code:- import ddf.minim.*; Minim minim; AudioPlayer [] player= new AudioPlayer[5]; void setup() { size(512, 200);...

View Article

MySQL 5.6

I am using MySQL 5.6 Everything was running fine until it recently stopped running for no real apparent reason. The error message occurs:127 = Record-file has crashed Can someone please help me to fix...

View Article

Image may be NSFW.
Clik here to view.

Writing characters with accents in controlP5 textfield

I have searched these forums and the older forums to find a similar topic, but I only found the following posts which don't answer my question exactly....

View Article


rgb delayed (solved)

Helou. whats the way to make a typical RGB delayed video fx. thks!!

View Article

G4P library - Is there a way to add text to a GPanel?

Following the example sketch, I made 3 slider bars and added them to a GPanel. However, I want to label these sliders with text (i.e. x,y,z), and I'm having such a hard time adding text to the GPanel....

View Article


There is a problem with my paddle move functions

the paddle wont move/ ``/* Name: Brandon Mckenna Program Name: Pong / import ddf.minim.; AudioPlayer player; Minim minim;//audio context //COLOURS int Black = #000000; int White = #FFFFFF; //SCREEN...

View Article

Library for complex numbers

Annoying question, I know. But do we have a library for math with complex mumbers. I'm, one of this old Fotran veterans and still missing the flexibilty in math calculations including libs like LIN-...

View Article


Minim - playing two wav files at the same time

I was testing out trying to play two wav files at the same time. They were the same length, and they were the same loop (one just had been processed with some reverb). I wanted to see what it might be...

View Article

How to make a generative visual react to sound

Hello, I am kind of new to Processing. What I am trying to do is to make this generative visual react to sound. For now the visual is reacting to the mouse movements, but I would like it to take input...

View Article

How to create a basic transition effect between two videos?

How can I create a basic fade transition effect between two videos? Let us say we have video1.mov playing and after that is done, play video2.mov right away. But when video1 is done playing, the last...

View Article
Browsing all 2896 articles
Browse latest View live