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

Random video player freezes after two hours

Hi everybody For a project I programmed a random video player using the processing video library. If the space bar is pressed a random video is played. After that the player plays a video in a loop...

View Article


[help] goemetry shifted when toggling btw ortho() and perspective() in peasycam

I have the following code to toggle between orthogonal and perspective view of a 3D scene. However, in the orthogonal view the geometry is shifted away from the camera and scaled down. May I ask how to...

View Article


Trouble making midi trigger video in processing, please help!

Was wondering if anyone could please offer some advice on a piece of code? I'm trying to write a sketch that plays a video whilst a key is being pressed on a midi keyboard, as far as I can tell this...

View Article

"Soundfile doesn't exist please check path" error but soundfile is located in...

I'm trying to incorporate sound into an exercise I'm doing from Dan Schiffman's book. I put my sound file into the folder for the sketch, but Processing still can't find it for some reason. Isn't that...

View Article

Question_color tracking

Hi there, I'm working on my project to draw a line based on color detecting. what I want to do is drawing color lines when I click the color I want to track on. But when I try it, the first line's...

View Article


giCentre lineChart: ArrayIndexOutOfBoundException: -1

Hi, I'm trying to read some values from a csv file using loadString, then parse them to float and display a chart using the giCentre library. However I get the ArrayIndexOutOfBoundException error on...

View Article

Image may be NSFW.
Clik here to view.

Fisica Library error using FPoly

I'm trying to use the FPoly with Vertex-data from Blob Detection OpenCV. The sketch works fine until there are more than one blob at the boundaries of the frame. Then crash :( and give this error:...

View Article

Making HYPE library work

Hi, I'm trying to install HYPE library. I: 1) Downloaded zip from https://github.com/hype/HYPE_Processing/tree/lib_staging and unzipped it 2) Created libraries subfolder in my processing-3.3.7 folder...

View Article


color drawing with real time camera

Hi there This code shows that drawing a line with a color I want(by using mousepressed). But I want to change it. First, detect colors automatically(Red, Blue, Green) Second, If something with these...

View Article


How to display h264 raw data?

I'm trying to stream the frames (h264 raw compressed, annex b format) sent from an usb camera. I retrieve correctly every single frame but I don't know how to convert them in a PImage in order to...

View Article

Audio not working!

Hi guys, I'm super new to Processing so the solution is probably something obvious. I'm trying to create a sketch which wouldplay a show a different image and play a different song depending on where...

View Article

Nasa WorldWind Java in Processing 3+

Hi, does someone know, if Nasa world wind runs in Processing 3+. It has been discussed with Processing 1.0 and an example. https://processing.org/discourse/beta/num_1179257434.html But I get error...

View Article

rotate an array of webcams

Hi guys, Thanks for having me in this forum. I am a complete beginner in Processing and I hope I'm in the right category to ask this question. I'm working on a sketch where I want to rotate 90° an...

View Article


Static Noise With Video

Hey processing world! Still very new at this so I apologize in advance. I took a few different codes from online and I want to combine them together to make my camera on my laptop control the static. I...

View Article

Need advice for an HD video with 7.1 sound project

Hi, I'm into a project in which I need to play an HD video file with 7.1 sound. I'm struggling to find answers for some of my questions so I'll make them here: I need to keep the audio and video in...

View Article


Current ray tracing method

I'm back after a couple of years hiatus and would like to get going with ray tracing again. Back in the day I used to use P5sunflowapiapi and Joons Renderer. What are the best current options, working...

View Article

How to obtain 3D textured Sphere

Hello everybody, I'd like to ask what kind of technique this render is using: http://cpetry.github.io/NormalMap-Online/ I man, I don't know how that is called, 3D texture? How can I obtain something...

View Article


Mysterious exception (NullPointerException)

Hi, I am trying to get to work a simple server-client communication using Processing's Network library. I want that my server refuses new clients past a certain amount of already connected clients....

View Article

Brightness tracking on background image

Hello, I wanted to make interactive brightness tracking - same as here https://processing.org/examples/brightness.html, but use video to track brightness (so I can shine on the camera to reveal the...

View Article

Image may be NSFW.
Clik here to view.

Unfolding Maps: Can't initialize a map and set the size/position

Hi All, I'm relatively new at this so please be kind, I'm sorry if this is a super dumb question. I am trying to make a basic map using the unfolding maps library (which I intend to incorporate into...

View Article
Browsing all 2896 articles
Browse latest View live