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

Finding camera up with yaw, pitch and roll?

Hey! I am trying to do object picking with rays in Processing. Everything works fine, except I cannot find the right 'up' vector of the camera. I am using Peasy library. I could get the cameraUp vector...

View Article


Problem importing a .STL model

When I import a STL model using toxiclibs, the object is rendered with all the normals of the mesh polygons. How can I turn off showing of all the normals?

View Article


Creating only one set of random values for every number slider update

Hi, I was trying to create a slider controlled random distribution of points in a sketch. I wrote the code as shown below. Although it changes the number of random points when I update the slider...

View Article

How to upload pictures taken on webcam via processing directly to website as...

The question already kinda describes what I'm going for. I need a code to use on Processing that can upload my pictures directly to a domain automatically upon the picture being taken. The code I have...

View Article

Is it possible to use play a movie as background for video capture?

I want to use a movie as background while capturing video. The movie will be displayed on all the black pixels (or white pixels) of my captured video (those pixels in the captures video are suppose to...

View Article


How can I use the camera as input to control the speed of a movie?

I want to use the camera as input (if there's a lot of frame by frame change the value will be ~1, if there's little frame by frame change the value will be ~0) to control the speed (ranging from x0.5...

View Article

Is it possible to patch SinOsc (processing sound) with minim?

I have a working sketch using SinOsc to produce a variable sound. I would like to record the output and the only way I have found to do this is through Minim. However, I am not keen on the alternative...

View Article

Image may be NSFW.
Clik here to view.

ControlP5 error?

hi here is the order that the code employs: entertext black record button is made visible press record button turns red theEvent.getController().getName() feeds back recording press record button...

View Article


Football data API

I am trying to get data from the football-data.org API. My code looks like this: import java.net.*; String Link = "http://api.football-data.org/v1/teams/66/"; void setup() { String[] results = null;...

View Article


Can Processing work with .sf2 files or something similar?

I made a simple music keyboard program with processing, and I want some decent samples for it. Is there a library that can handle soundfonts like sf2? I COULD record sounds from various synth apps on...

View Article

Receiving multiple udp messages

Only been using Processing fairly recently but I want to use it for a project where it will collate and send out various udp messages Essentially it needs to be able to send out to one udp message but...

View Article

How to make a cube face a 3D coordinate (x,y,z) ?

Hi, I have a problem with a sketch in witch I need to make some cubes face a certain coordinate in P3D it works for the Z axis just like 2D with atan2() but when it comes to the X and Y axis it doesn't...

View Article

How can I (quickly) retrieve video frames one at a time, indexed by...

I am trying to synchronize an animation and video and save the output as a new video. The animation is based on data collected at arbitrary times, roughly at 20 fps (but not close enough to look right...

View Article


How can I visualise tweets on a map in Processing?

I'm trying to use the twitter API to search for a keyword and get the location of that particular tweet to then visualise onto a map. I've successfully created my map using unfolding maps and tilemill,...

View Article

Cant get random speed for the ellipse

Hello everyone, I have programmed a very simple ping pong-ish but the ball does not bounce back randomly. I want the Y speed to be random. (for example -4 and -8). Here is the whole code import...

View Article


Image may be NSFW.
Clik here to view.

3d brush to move points

Hello. I'm in "dead end" with my code and I need help. Trying to create my own little 3d sculpting app. My main question now is how to create something like "Move Brush", to move the points up and...

View Article

only apply Force on event

Hello I'm trying to connect midi input to natural forces (following the instructions of the Nature of code book) and I wonder how I can manage to add the force Wind on input of Note 59 (it works) but...

View Article


Ball can't be seen on the client side

Has been struggling a while now, Trying to make pong using a client/server connection . The coördinates of both rectangles seem to be exchanged fine, the coördinates of the ball however won't. I can't...

View Article

Using a sound input to affect text.

I'm trying to self teach the Processing language, and struggling with something I'm trying to do for university. This is probably quite simple for someone who knows what they're doing... I'm trying to...

View Article

I have use Google Map

I want to use google maps with processing 3 for GPS work with define location Help me please.... Thank you very much

View Article
Browsing all 2896 articles
Browse latest View live