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

Optimizing draw function

The question I have is that in the following code I am only changing 1 box every second or so, but i am having to redraw all 8000 blocks each draw cycle. Is there a way to have draw only redraw the...

View Article


Drawing the human silhouette with bezier

Hello guys, Sorry but I will try to ask something complicated again ... (laughs) ... Below are two code snippets in the first example has a "silhouette" human, designed with bezier, the example I took...

View Article


Hello, in the code below I try to give a random value to textSize in the...

[see below for code]

View Article

How to Analyze the Amplitude of Multiple Audio Files using Sound

I am trying to analyze the amplitude of multiple audio files using the Sound library, but it seems I am only able to analyze one at a time. For example, assuming all three audio files are different,...

View Article

Twitter4j - trouble with tweets search...

Hello everyone! One year ago I composed an algorithm which basically was triggered by a twitter hashtag. the same sketch doesn't work today and I can't understand why. The error it give back is...

View Article


Image may be NSFW.
Clik here to view.

Initial position the object with Proscene in Processing

Hello guys, I'm trying to combine the use of toxilibs and proscene libraries to view objects in a scene. How could I set the initial positions of the object? (More to the middle of the screen, and a...

View Article

Layering and Delaying Videos in Processing

Ok! So for an assignment I need to layer two videos on top of each other. The idea is that the two videos are the same and that one will begin playing before the other to create a sort of "ghost"...

View Article

[g4p] how to create an array of objects

Hi! I would like to create an array of textfields, just like this: GTextField [] textfields = {textfield3,textfield2,... etc}; Yet this procedure is always giving me an array of nulls. How to do it...

View Article


Why is my program lagging?

I'm having a difficult time figuring out why my code is lagging. Can anyone help? Here's my code: //minim imports import ddf.minim.*; import ddf.minim.analysis.*; import ddf.minim.effects.*; import...

View Article


How to change permission in terminal I cannot use VideoExport Library.

Hi guys, I have a problem trying to use any of the code from the library of Video Export that they get the same error. Even with the code from the website itself here >...

View Article

Google Spreadsheet API

I've been trying to get a sketch running with the Google spreadsheet API for the past couple of days. Found a couple of great articles that really helped but have hit one slightly killer roadblock,...

View Article

Image may be NSFW.
Clik here to view.

Client got end-of-stream

I'm using the library NETWORK to get data from a board esp8266 with httpclient example. But the Processing takes this data once and then run into the following error "Client got end-of-stream." Someone...

View Article

video capture to opc

Hi guys, first post so i hope its in the right place. I am working on a project with 30 strips of leds controlled by 4 fadecandy boards. i have everything working and can play "video" very low res...

View Article


Code example of exporting 2D drawing from UnfoldingMaps using...

I haven't seen anyone implement this function successfully anywhere. New to Processing so the developers API implementation explanation doesn't help much. Looking for an example. Thanks.

View Article

Init new objec from Class via OSCp5

Hello. Some time ago I am trying to create and destroy objects of classes and modify some of its parameters via OSC messages. I tried it with ArrayLists with controlEvents GUI and it works, but there...

View Article


How to get multiple audio outputs with minim?

Hi there, for the art project Global Sounds (http://www.picaroon.eu/work.html ) I would need 7 separated audio outputs, so that every pyramid has one speaker and plays one instrument (=one mp3). I was...

View Article

Minim (Multiple inputs / output, Mac)

Hey guys, I need to some help... I would like to send audio from Max to Processing (using Minim) by SoundFlower. I need to use 4 in/out but i can set only the device and not the single outputs and...

View Article


Brightness Slider for image

I am new to processing, and made a knitting program as my first processing project. I want to use a slider to adjust the brightness and saturation of the image but can't work it out. I have tried to...

View Article

Drop Down Menu using controlP5, controlEvent monitor doing nothing.

Hi all. First post here so please be gentle :-) Been trying to get a drop down menu to work, based on the example below, the menu displays and responds fine but i can't figure out how to read what 've...

View Article

Multichannel audio?

Hi all I prototyped an a/v project using sample playback in stereo and now comes the time to spatialise the sound (3 channels, possibly concurrent playback). I thought this would be a bread-and-butter...

View Article
Browsing all 2896 articles
Browse latest View live