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

How to adapted the text in function of height ? (with cp5)

Hi, I want to adapt my text in function of height with cp5. import controlP5.*; ControlP5 cp5; Textarea myTextarea; void setup() { size(400, 800); cp5 = new ControlP5(this); myTextarea =...

View Article


Remove objects with many CP5 controllers

Hello, I'm rather new to Processing, so please bear with me. I am writing code to allow me to control multiple servos with two CP5 sliders. I hope to make it variable, allowing for a pair for each...

View Article


Drawing over Sprites library jigsaw example

I've been using the Sprites library S4P_Jigsaw_Player example to build an interactive project. I want to draw other things on top of the jigsaw puzzle, but I can't figure out where in the code I can...

View Article

Animated gifs

Hi, i was tring to create a simple project that loads gifs and move them on the screen. i've done it with some images(.svg) and it works using loadImage(), so i was wondering if there is a command for...

View Article

how to get better frameRate in motion detection

HI, I'm using following example for motion detection https://github.com/shiffman/LearningProcessing/blob/master/chp16_video/example_16_13_MotionPixels/example_16_13_MotionPixels.pde This example was...

View Article


Expected Null Pointer - Please help

Hi , I am trying to plot the data with the country that the user has entered. My data is formatted in the following way. Country ,1975 ,1976 ....2014 ; Afghanistan, 23, 24 ....40. I want to plot the...

View Article

What am I doing wrong? Geolocation displays incorrectly, getScreenPosition...

I am trying to map geolocations (and other features) from live JSON feed, but the plotted locations are not displaying accurately i.e. they do not align with the Unfolding map base. I am trying to use...

View Article

Facebook4j setup

Hi everybody, I'm currently working on a project that should fetch random facebook status with the username and use that data to make sound. So I'm looking on the internet for references, but I mostly...

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


how to remove alpha transparency from video ?

Hi, how can i play alpha transparent video without P3D OR P2D render ? any help will be good Thanks. mycode: import processing.video.*; Movie mov; PImage img; Capture cam; void setup() { size(640,...

View Article

Need to loop my Video so 100 small videos appear on the screen at the same time.

gg

View Article

How to make an arc body on box2D

Hello, I'm currently working on a program. I have extracted pieces of codes from other box2D libraries and have put together a code displaying arc's when you click onto the canvas. The problem is that...

View Article

i need help about my project. Please Help me...... (leap motion music)

My Program is want to make a game When the leap motion move to the square will be playing music. But now I cannot play the music. So i want to know why and how to fix it. Thanks Here is my code.........

View Article


Getting width and height from Image obtained through ImageLoader?

Hi, I'm new to processing and playing around with an idea of making some generative art through google image searches (I used tumblr in this example). Everything works well except that I don't know how...

View Article

Sound visualiser using words

Hi everyone, So in Adobe AfterEffects you are able to make the anchor points of letters react to an audio file, and I'm looking to create something like this except with live music — so the letters'...

View Article


How to check the answer right or wrong?

Now I want to make when use key play the music if the leap motion move to right square will output Right,contrary be wrong. How can I do that? Here is my code. import com.onformative.leap.*; import...

View Article

Problem with RMS Analysis

Hio. I'm currently working on an audio visualisation, i had the code running, but since i had time i wanted to implement a GUI (using G4P). Now with the GUI the analysis doesn't seem to work anymore....

View Article


Accessing Objects in Toxiclibs

I'm doing a sketch based on the Attract2D toxiclibs example. I'd like to fill the ellipses with a palette of colors in an array. I'm curious if there's a method to access individual objects to add...

View Article

How to redefine the Capture object?

Good day. I want to make it possible to reconnect the camera which is bound to the Capture object during the program works. So, it's just a button on the screen and when you click it the camera should...

View Article

Image may be NSFW.
Clik here to view.

saveFrame function inconsistency

Hello guys! Need some help! I am trying to use save frame to take a screenshot of a plot I have currently programmed with processing. The plot GUI has several Buttons (made with Cp5) and Toggles. I...

View Article
Browsing all 2896 articles
Browse latest View live