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

plotting data

Hello, I am a new one in programming and i would like your help.I want a code in processing i3 that could read a txt or csv file of data and make a real graph.Especcially to read ecg signals and make a...

View Article


Get a 3D Vector from Box Object in P3D

Hello All, I'm wondering if there's an easy way to get a 3D (or 2D) vector from a box(); or sphere(); object in processing? I won't post my code, bc it is ENORMOUS, but basically I've placed a box...

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

AttractionBehavior in conjunction with spring forces in toxiclibs

Has anyone solved these examples from Chapter 5 of Nature of Code? Example NOC_5_17: Use AttractionBehavior in conjunction with spring forces. From the chapter end exercise: In toxiclibs, use spring...

View Article

(Minim) How to Normalize FFT Data

I'm an intermediate-level programmer working on my first Processing project, using Minim. Before jumping into anything crazy, I'm just trying to get the basic FFT vertical bar visualizer (basically...

View Article


Create 3D Tree where child branches are smaller than parent

Hi. I've found some code for simulating the growth of a tree which I have altered a little. However, I could really do with some help. The code draws a line and then when that line reaches a certain...

View Article

g4p NullPointerException on event handler

I'm trying to set a default max and min range of a value that can be in a textfield if user enters val > 350, then setText to 350,..etc getting: java.lang.NullPointerException at...

View Article

Need help with a maze

Hello, I'm working on this maze but I want to make it where you can see the whole maze in the window and can move a ball within it with the mouse. Right now, the camera move around like 1st person...

View Article


Pixel Sort video

Hi All, I'm new to processing but have been trying to pick it up lately. I am a painter and know next to nothing about code but I did successfully use a code this month to write video to LEDs. I am now...

View Article


¿How can I solve this Menu to work?

(Srry for bad english) Well here´s the thing. My teacher wants this project about using 2D and 3D stuff. I had the idea to make a Music visualizer. But I have this problem. I did already my Main Menu...

View Article

Geometric Animation pulsating to audio mp3 file - audio visualizer

I want to pair this animation with an audio mp3 file of a heartbeat. I have imported the file and I know how to make a simple reactive sound wave to the heartbeat but I'm having trouble plugging it...

View Article

How can i make the red ball in the center grow using camera? Here is my code....

import ddf.minim.*; Minim minim; AudioPlayer groove; float distance = 0.0; float speed = 4; float objStep = 40; color c2; boolean useRect; void setup(){ fullScreen( P3D); minim = new Minim(this);...

View Article

Fullframe Video Capture

Does anyone know how to get this video capture code working at fullScreen( )? When I change it to full screen it does not work at all and I know it is based on the fact this code was written for a...

View Article


How come the sounds won't reload in "paths" code (but images do?)

Hello, I am a teacher helping my students complete their projects for a 12th grade exhibition. In this project, there are 4 roll-over photos and sounds in path 1. When we cycle through to path 0 and...

View Article

Why does video start playing before it is called in a pathway?

Hello, I am trying to get the video to not begin playing until stage 1, but it starts right away. Any suggestions? Thank you! PImage old; import processing.video.*; Movie movie; int stage = 0; void...

View Article


Shapes3D is beyond Coool, But

I'm using Shapes3D with Processing 2. I downloaded a starmap and used the library to project onto an ellipsoid as a texture. If I zoom into the ellipsoid, I get a planetarium view of the stars. Now,...

View Article

Controlp5 Matrix question.. About triggering..

Hi all. In my quest to build the perfect sequencer using the Controlp5 matrix object, I have a problem with triggering an event when the moving bar of the matrix grid reaches the last step... Does...

View Article


ControlP5 matrix doubt

i have a question friends I am making king of a synthethizer using libpd with processing and im doing good so far doing some faders comunicating with pure data vanilla etc but now that I'm doing a...

View Article

Image may be NSFW.
Clik here to view.

Sprites and Box2D

I've recently been attempting to make a game as a project but when I place the the sprites and the platforms under the same void display(). It just want the sprite to display for player 1. Ever since I...

View Article

Can't run my sketch anymore...

I'm using Processing 3.3.6 on Windows 10. So I've made a game (it's supposed to be like Crazy Chicken/Moorhuhn) with a main menu and all but if I set too many targets (30) I can't play it, it just...

View Article
Browsing all 2896 articles
Browse latest View live