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

sound file: get frame at i

As far as I know, you cannot interact with an entire sound file at once. You have to rely on processing's streaming buffers for some strange reason. You can get the number of samples in a .wav, but...

View Article


How allow collision with a Distance joint in box2d

I have a series of particles attached by a Distance Joint (using Processing with box2d). The particles have to be a certain size. I want to throw bricks at the chain of particles and for the bricks to...

View Article


Odd collision behaviour with dynamic-dynamic bodies in box2d

I'm actually using Processing (a java extrapolation) to create a box 2d animation. I have stripped the problem down as follows: I would like the boxes that the mouse creates on the screen to collide...

View Article

Audio and frame delay timing using fft and screen position. X-Post from reddit

X-posted from here Hi all, I'm using the spectrum data from an FFT i'm performing to control the speed of the audio file as well as the delay between frames being drawn. This is what creates the avg....

View Article

How to make a Terrain react to music?

Hey I saw dan shiffmans video on how to create a terrain in p3. My question how would you get the terrain to react to music as if it is a audio visual. I know you have to import the sound but after...

View Article


Beads Library Audio Visualisation

Hey there, I have a question about the beads audio library: unfortunately there are no examples how to use specific functions and classes shown in the documentation http://www.beadsproject.net/doc/ My...

View Article

[ControlP5 + Serial] Serial input to textfield controller

Hi all, So going to do my best to describe this, it might sound a bit more complicated then intended. I'm trying to set the value of a textfield controller (using ControlP5 library) with input from the...

View Article

Opening a new P3D window from a 2d main window

The main part of my sketch is a control window with 4 tabs all consisting of CP5 sliders and buttons, I also have a separate 3D view window using Proscene which the user interacts with. Each of these...

View Article


HYPE library: change swarm particle size in runtime

Hi everybody, this might be a very easy qestion - but i just don't get it. I'm playing with the HYPE library and want to add a slider to change the size of my particles on runtime. I just don't find...

View Article


Spherical Flow field

How should I proceed to create a spherical flow field based on a perlin noise? I know how to create a 2d flo field, but how should I turn into a 3d flo field?! Do I need to determinate the angles (Y,...

View Article

how to make codes like this video? (about frame capture)

vimeo/5834154 - John Tonkin 'time and motion' I want sample codes with similar effects or a principle for method. could you explain about that? I thought, he was capture frame each seconds. but that's...

View Article

Trying to improve video performance

I am creating an interactive 360 video sketch (with the help of this shader ) where a user will be able to speed and slow the clip (to make it look like they are moving through the scene) and look side...

View Article

transpose the graph to the left

Is it possible to transpose the barcharts to the left instead of the right when transposeAxis(true)? Please help Example Code: import org.gicentre.utils.stat.*; void setup() { size(300,200); barChart =...

View Article


Read Marked Text from PDF File

Hello everyone, is there a possibilty via any library or tool or java library to read the marked text from a pdf with processing? Thanks in advance! Adrian

View Article

How to import the javafx library

Hi! Im new to both javafx and Processing, and im building a Processing program where I want to create a GUI using javafx. In the program im creating a new thread that is the javafx Application, but...

View Article


How to make one video from two videos with a transition in between?

I want to take two short videos, .mov's, and combine them into one video with a dissolve/fade transition in between. I want to start the fade with 5 seconds left in the first video and have it last 5...

View Article

Clear the stage with HYPE framework

Hi guys, I'm new to the forum and hope one of you can help me. I started working with processing after quite some time and love the ease of use. Also started with the HYPE framework and am amazed at...

View Article


Open Processing draw() window in conjunction with G4P GUI Builder window

I'm successfully using G4P GUI Builder to create and manage a GUI (thanks Peter!). What I need to do now is have a second "conventional" Processing draw window open at the same time as the G4P window....

View Article

How do I make a fading in/out transition when switching gameStates/images?

Currently making a rhythm game and I want to create a fade to black/fade out animation for when I switch between the menu and the song selection screen. I also want to use this animation for when I'm...

View Article

how to associate some images with different markers in reactivision?

i can't associate a marker with an image

View Article
Browsing all 2896 articles
Browse latest View live