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

Processing 3 + SublimeText 3 + HYPE - Duplicate method setup() in type build

I'm trying to get SublimeText3 setup using Processing3 and the HYPE library. I'm trying to run some sample code but keep getting an error. When I build my sketch I keep getting this: build.pde:1:0:1:0:...

View Article


How to stop audio from overlapping?

I'm fairly new to processing, started in september. In my class right now were making experments based off of pacman. Right now I'm trying to have the waka waka sound play upon a key press and use loop...

View Article


Live Audio Translating Into Hue Change

Hello everyone! So for this assignment I have to take either an audio file or live audio input and have it translate to a hue change on a photo! Overall it seems pretty simple but I'm stuck on how to...

View Article

Emojis Over OSC / UDP

The oscP5 library (for sending/receiving OSC over UDP) is stuck in UTF-8 character encoding. I've tried playing with byte-converting code, but everything I can find on character encoding is from...

View Article

How to get a sound to play when I click an object

import ddf.minim.*; int rad = 30; // Width of the shape float xpos, ypos; // Starting position of shape float xspeed = 4.5; // Speed of the shape float yspeed = 4.5; // Speed of the shape int...

View Article


Clear data and rerun program.

This is a portion of code, the part I need help with, that sends data to Arduino to run a motor. Everything works great, the motor runs in the right direction, and for the number of rotations entered,...

View Article

How do I duplicate an oscilloscope?

I took some codes off the internet for an oscilloscope, but I'm having trouble making copies of it and moving it around. I want to create duplicates of the oscilloscope and scatter them all over the...

View Article

How To Get The Colors To Stay Transparent

Ok! So I have this code where I want to change the color of a photo based off of the input audio the code receives. I got it to do this, however, the biggest issue is that after saying a few words it...

View Article


Passing Capture reference

Hi, I am trying to pass a Capture reference. This somehow always returns false even thought camera is available. boolean readCamera() { //The variable cam is a Capture function and is global. if...

View Article


Multiple instances of a PShape in a GROUP

I understand from reading the JavaDocs, that Translate is not allowed within a createShape. I tried it anyways in the code below and it does not work, so my question is, what do I use to translate the...

View Article

Averaging a few seconds of a video feed pixel

I would like to display a video pixel's average over a couple of seconds. What would be the best method to. To make the question simple, let's say I want to get the color of the center pixel of a video...

View Article

Can't make the shading of the letters was a gradient,please help

import peasy.*; PeasyCam cam; int zoom = 0; int offset = 0; // Constants int Y_AXIS = 1; int X_AXIS = 2; color b1, b2, c1, c2; void setup() { size(480, 400,P3D); cam = new PeasyCam(this, 10);...

View Article

Pausing draw function.

Is there a way where I can pause my draw function so I can have new backgrounds also those backgrounds should be behind the buttons from ControlP5 library. Because I am creating a GUI that needs to...

View Article


Make Video

How can I make video from Processing? I Want to export my work on video.

View Article

Multiple songs + multiple beatlisteners

Hi everyone! I'm learning Processing for the first time for one of my modules at university. The task is to essentially create something with processing, and I did a small equalizer reminiscing of the...

View Article


Correlations library

Hi, First post overhere. Any idea about correlations library for processing http://www.muehlseife.de/ It is a really awesome tool. Right now i am trying to delete nodes, but i havent succeed. Maybe...

View Article

How to upload image for the ball as well as adding a sound to ball everytime...

Hey Guys! So can someone please help!! I have 3 day's left to hand in this project and I need 2 things. I need code so that i'm able to upload a PNG/JPG image for the ball that's moving around the...

View Article


What is ddf and minim?

I'm new to processing and whenever I copy source code from examples it does not seem to run. May I know what does ddf and minim mean?

View Article

Pen pressure issues with tablet library and OpenGL

I'll try and keep this brief: If anybody is familiar with the P2D/P3D issues with using codeanticode's tablet library (returning 0.0 pressure), have they got a workaround that isn't using UDP or using...

View Article

Cannot override the final method from papplet

I got this error while running a code by someone that posted it online. How do I fix it?

View Article
Browsing all 2896 articles
Browse latest View live