PGraphics Background Color
Hi there, when I save PGraphics to jpg file, the background color is always Black. I've tried ####.background(255) like this to change the background color. But I'm using my canvas with live Video. So...
View ArticlePull the vertex coords out of MPolygon class in Mesh library.
I have successfully created a convex hull around a randomly placed circle and box. However, since i want the filled shape to be a gradient i want to create a PShape using the vertex coords. So i need...
View ArticleProcessing Sound - Windows 7 Support
I wrote this really simple sketch on my macbook after installing the processing.sound library. it works exactly as it should ( moving the mouse along the horizontal axis I can control the speed of...
View ArticleArray of identical samples. Minim triggering sample issue.
Hi there. I have an array of identical samples for two bouncing orbs which are also in an array. A sample is to play each time a ball falls below a virtual water level. They trigger just fine, but...
View ArticleHow can I facilitate smoother video playback?
I am working on a project that involves playing simple 1080p video in processing with the standard video library- however I am having difficult time with stability of the videos themselves in...
View Articlebutton CP5
hi, so i need to make the drawing change color every time i push the button.
View ArticleHow ro record audio?
Is there a way to record audio output from a sketch? I have code and library to record video that is images, but I am playing back audio and would like to record that as well. My apologies if this...
View ArticleA Tutorial implementing anything that uses OAuth
Hello, Simply, I'm trying to access Twitter from within Processing. I have had zero luck and have seemingly scoured every resource on the internet. My first attempt involved this:...
View ArticleglitchP5?
Hello, I am new here, I'm looking for glitchP5 library... for an old project. Anybody?
View ArticleControlP5 changing image button to the clicked image without actually...
I have an image button of a piano key, and I have it set to where if it is not clicked, it is white, if it is hovered over it is light grey, and if it is pressed it is medium grey. I would also like to...
View ArticleHow Do I Apply a Texture To My 3D PShapes?
I currently have 2 issues: I can't correctly apply a texture image to my PShapes My trapezoid PShape does not fill properly I currently have a "map.jpg" in the same folder as the processing file, so I...
View ArticlePossible bug? ArrayIndexOutOfBoundsException when using SoundCipher...
I'm having an unusual problem with the SoundCipher library on Mac. This question is some combination of asking for help and a bug report. I wasn't sure where to file a bug-report, so I thought I would...
View ArticleHow to choose a movie file to play?
I wrote a simple movie player that can play and pause, but I want to be able to for the sketch to wait for a key to be pressed that would play the said movie. So nothing happens until you press '1' and...
View ArticleFound out too many { characters with a } to match it
Im a processing user, and in one project im working in, my teacher ask me to start using tabs.But when i try to do so, when i draw all the figures it works with out errors, but im using buttons to...
View ArticleRemove left-click requirement to move camera in PeasyCam
I am working on a Minecraft clone developed using Processing and PeasyCam. I will code the rest myself, with help from this forum. I need to know how to track mouse movement without having to...
View ArticleAccess an array in a class. (MPolygon)
I have successfully created a convex hull around a randomly placed circle and box. However, since i want the filled shape to be a gradient i want to create a PShape using the vertex coords. So i need...
View ArticleHow to 'store' previous keyPressed data in the same sketch
I can get one colored bar to expand as I hold down the key. I have another an issue of getting another colored bar to continue where the other one left off? Essentially it continues right after the...
View ArticleCreating a timer
Hi, I am in need of some assistance. I'd like to write code that will execute when you click the mouse, and I want the action to run for a maximum of four seconds. If the mouse is still pressed for...
View Articlehttp.requests not working on 1 site
I'm gathering daily weather forecast temperature data from 3 sites/pages via the http.requests library. It works fine on the 2 url's that are commented out in my code, but not on the third. Any idea...
View Article