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

How to translate byte[] to PImage?

in Server sketch, i take a picture with Processing’s Video library and send a byte array to client’s buffer like this,, /** void mousePressed() { capture.save(“temp.jpg"); byte[]...

View Article


How can i save Toogle state in csv?

I would like to write a program which works a LED. If the toggle true the white circle has disappear and save the toggle state 1 in csv If the toggle false the white circle has appear and save the...

View Article


Image may be NSFW.
Clik here to view.

I need to visualize the spectrum of multiple audio files(see description)

I want a single spectrum where I can visualize multiple audio files each playing at varying frequency..So that In the spectrum multiple spikes will be generated ..So far I am able to generate a...

View Article

Beginner who is desperate for help! Audio keeps crashing

Im completely new to processing and am in a desperate need for help.. Each time I click my mouse, the sound file doesnt not play and it all crashes; with a error stating : Error: Soundfile doesn't...

View Article

How to switch off Axis and grids in proscene library?

this does not seem to work anymore .. https://forum.processing.org/one/topic/proscene-hide-default-axis-and-grid-programmatically.html How do I do it now anyone ?

View Article


How I can only move colored objects that I clicked on.

i used import video. How I can only move colored objects that I clicked on. Not moving in a similar color. When I click on an object with a specific color, I want to make a circle on the object and...

View Article

Pixel Flow - Spout

Hi guys... just wondering if anyone could point me in the right direction so I can use a Spout receiver as input for Fluid density etc with the amazing PixelFlow lib?

View Article

How to make a word change to a different word every 10 seconds?

Hi everyone, At the moment I have a word that reacts to sound input from an external mic. The title really explains what I'm looking to do. I've been looking at 'delay()' as a a possible way to change...

View Article


Server and Client > if(sendMessages=="hello") {any...} //doesnt working :(

code: < pre> //xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx < pre> import processing.net.*; < pre> Client myClient; < pre> String inString; < pre> byte interesting = 10; <...

View Article


Work with P3D and the Movie Library in Processing?

Hi folks, I'm trying to create a layer of interactive wallpaper over a video. I'm starting by tinkering with one square. But every time I introduce the video setup/library to this sketch it breaks...

View Article

Why does it work this way? Need help for a schoolproject

Hey Guys, first of all, sorry if my englisch isnt perfect , because im from Germany but i will try my best :D Im working on a school project and i need to create a Musicvisualizer in 3D. Now ive wrote...

View Article

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

[see below for code]

View Article

Artnet input?

Hello guys, I want to know how (if it's possible) can i receive values in a applet sent by another application or light desk via artnet.

View Article


Dynamically controlled particle system with Toxiclibs

Hi all, I'm working on modifying the Attraction2D example from the Toxiclibs library to be controlled by gestures from a Leap Motion sensor, as opposed to the mouse in the example. I'm doing all my...

View Article

Minim Question: Is there a possibility to sync multiple mp3s?

Hello there, newbie here. I made a sketch which plays 9 mp3 files simultaneously using Minim. Those 9 files represent a whole track split into its individual instruments. My problem is that the files...

View Article


Fisica library - exporting results in vector ( PDF or SVG)?

hello all, i am new to processing and Fisica library. i wrote a little program for simulating bodies falling on a static one. ( very simple one), the shapes are geometric SVG that i import ( using...

View Article

how to handle an AssertionError - Fisica library

hello all, i an getting an assertion error when the number of bodies reach a certain number in my simulation. i can guess it has something to do with my RAM or certain limits of the program. what is an...

View Article


Synchronizing sound

Hey there, could someone please tell how do I make these falling ellipses synchronize with the audio clip? Like when the sound is louder, there are more ellipses.. I'm new to the minim library so I...

View Article

Issue with video player

Hello, I wrote this class dedicated to a video player. I want to read videos when I click on 3d spheres in my main tab. How should I proceed to choose my videos inside the videoList, (they have the...

View Article

Processing Sound - isPlaying() returns int instead of boolean

In the src files and in the github repo the isPlaying function of the processing sound library returns a boolean. It seems that there is no current compiled library in the contribution manager. (the...

View Article
Browsing all 2896 articles
Browse latest View live