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

code to randomise whether to mute or unmute song playing.

Hi there, I've been trying to work out how to do what the title says. Basically, I have 4 instruments playing at the same time that make a song when played together, each instrument is played through a...

View Article


How to play a video from a URL?

Hello all, it has been some time since I last posted, glad to see that the website is doing well (as usual :D). Anyways, I was wondering if someone could give me some guidance about my aforementioned...

View Article


How to get receiving an RTSP stream to work

Hello, after several days of trial&error and googling, I still can't figure out how to get RTSP streaming to work in Processing3. I found several ways that seem possible, but I didn't find enough...

View Article

Video Movie Library - RTP / RTSP Stream from VLC to processing

Hello everybody I would like to view my VLC videos into processing I saw that no spout plugin is existing for VLC so I'm trying to use network I tried to open rtp and rtsp with the Movie class, but,...

View Article

IPCapture (No video)

My code seems fine. But when i compile the code, only grey screen shows up. No error message in the console. import ipcapture.*; IPCapture cam; void setup() { size(320,240); cam = new IPCapture(this,...

View Article


Toxiclibs - creating particles that connect to eachother using springs within...

Hi there! I've been working through examples and any tutorials I can find and still can't wrap my head around how I can do what I'd like to do. I'm pretty new to processing. Aim: I want to make 300...

View Article

PGraphics::scale() not exporting in P3D

When exporting a PGraphicss P3D object, save() doesn't reflect calls to scale(). Consider the example, taken from https://forum.processing.org/two/discussion/3227/high-resolution-export-p3d: (note that...

View Article

How to get the sketch to play sound from videos on Ubuntu 16.04 LTS, 64 bits

Hello I am using Processing 3 on a 64-bit Ubuntu distribution. When I load videos, using the Movie class from the Video library, there is no sound. I set 'video.volume(1);', and still there is no...

View Article


control of function running with the Checkbox.

Hello friends, I am trying to control the code to display with checkbox, I have two function void render() and display () which i call in event control and with if else statement I want to display...

View Article


Cannot find a class or type named "XXX" (Gif)

Hello, I'm playing a little bit with a code for a game but I'm having some problems with a class. Its says: Cannot find a class or type named "Class XXX". Do you know what I'm doing wrong?

View Article

restrict PImage draw to a single ControlP5 Tab

Think I'm missing something basic here... I have multiple controlP5 Tabs in a GUI, one tab has numerous Scrollable Lists, these scrollable lists are generated on the fly after the user first sets how...

View Article

Disposing of a previous call to beginRaw()

I want to save the current frame as PDF, but only if a button has been pressed in that frame as well. The examples (e.g. the "PDF Files from 3D Geometry (With Screen Display)" from...

View Article

textbox (G4P GUI BUILDER)

hello guys. I am trying to save the value of textbox in a variable, I created textbox with the help of "G4P GUI BUILDER", so how can I store the typed value in variable. /**...

View Article


Add SQLite

Hi, Does anyone know how to add sqlite database to a processing project? Thanks in advance.

View Article

How to make igeo and toxiclibs work with Processing 3.1.

Hi, the title says it all. For igeo I get the error ' bad operand etc...: import processing.opengl.* import igeo.*; size (480, 360, IG.GL); IVec vec = new IVec(20,10,0); double xvalue = vec.x();...

View Article


Image may be NSFW.
Clik here to view.

setCaptionLabel on top of setImage in controlP5

Hi all, I am using controlp5 for buttons in an interface. In previous versions, I've been loading in my own images for the buttons, including a title - text added in photoshop. Since I have a lot of...

View Article

Save/Load JSON based Cameras in Proscene

https://www.dropbox.com/sh/2riljmpqfywibaa/AADseXkl0ms0WOYcjPSjKow7a?dl=0 ^ that's a link to my code Someone else was apparently able to save/load cameras in proscene from a file:...

View Article


controlP5 shading

Hi, I'm new to controlP5 and am trying to figure out why my slider is only adjusting greyscale and not the color I have inputted. I assume I will have to use the color sliders for this implementation?...

View Article

Peasy Cam rotation

Hi, I'm trying to create a button that rotates my object perfectly 90 degrees to the left from it's initiate state. I made a button that when it is triggered, it will execute the following code....

View Article

Question about the TTSLib

Hello, Is there a way to use the TTSLib (Text to speech) library in Dutch? I couldn't find anything about it, but if I use Dutch words with standard (English) TTS file, I get very strange words :D...

View Article
Browsing all 2896 articles
Browse latest View live