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 ArticleDrawing 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 ArticleHello, in the code below I try to give a random value to textSize in the...
[see below for code]
View ArticleHow 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 ArticleTwitter4j - 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 ArticleInitial 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 ArticleLayering 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 ArticleWhy 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 ArticleHow 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 ArticleGoogle 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 ArticleClient 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 Articlevideo 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 ArticleCode 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 ArticleInit 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 ArticleHow 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 ArticleMinim (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 ArticleBrightness 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 ArticleDrop 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 ArticleMultichannel 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