PShape Array Parameters
Hello, Is it possible to create a PShape VBO using float arrays? I'm using the newmesh package from toxiclibs, when the compile method of an IndexedTriangleMesh is called it returns a Hashmap that...
View ArticleMovie&Capture Classes
Hi. I have exercise from school to do Movie class and Capture class from the video library of processing. And I dont suceed. Here is my code: import processing.video.*; class Capture{ public int x,y;...
View ArticleJPen and stylus input in Processing 3.0
Hello, I am trying to tinker with the code found at this old forum post. When I pass this to the new PenManager(this); I get an error that says The constructor "PenManager(JpenSketch)" does not exist....
View ArticleExported app is not working; having a permissions error (maybe)
I built the following app using the video library to capture images from the webcam. It runs fine from the PDE. I also exported the app and it works on my computer. However, it is not working on other...
View ArticleG4P and P3D - can not input text into text field
Hello, I can not input text into text field on GUI window created by G4P in case if the main (sketch) window uses P3D. Please help to solve this issue. Example code: ` // Need G4P library import...
View ArticleHow can I get the current state of a body in Box2d
I am trying to create a wraparound on a box2d sketch so that if a body moves to a certain point on the screen eg on the left, it gets moved to the right. To do this I am killing the body on the right...
View ArticleUnfolding Map v0.9.6 - java.lang.RuntimeException:...
Hello world/Processing/Unfolding Map I am new to Processing and Unfolding Map. I am trying to run just the simplest example (SimpleMapApp) of the Unfolding Map library and it gives me this error:...
View Articlegot error "The function window() does not exist" using ControlP5.window() method
I'm using the latest ControlP5 library (v.2.2.5) in Processing 2.2.1 for an old piece of code. I got the following error:**The function window() does not exist** However, the same code runs correctly...
View ArticleCannot find SMT (Simple Multi-Touch) Toolkit
Hi, well, as the topic says, I was looking for the source code on the GitHub repository, but I'm afraid that the page is not found, also tried from another pages and same result. I dunno if someone of...
View ArticleHow can I switch between songs?
Hi! I am currently trying to make a program when my phone moves, some songs will be played on the computer. The client-server thing was not really a problem, but switching between songs is. The idea is...
View Articleis there any libray to read/load OBJ file other than OBJLoader?
It seems the OBJLoader library is not compatible with Processing 3. So, is there any other library that can read obj file? Thank you!
View ArticleAnimation not rendering in second controlframe -- no errors
I’ve used this same structure to successfully render a 3d sketch in a second control frame before. Here though, the first window renders fine, but the second just shows the background color. The same...
View ArticleControlP5 Elements in Classes
Hey, I have a project with multiple classes. A class is used for serial communication. How can I use a Controlp5 element (for example, Textlabel) in this Klassse to get around this output? if (portId...
View ArticlePlay single audio file multiple times
I am trying to make a particle attractor with processing where some particles are moving randomly and they get attracted towards a master attarctor when they come close to it. Doing this was fairly...
View ArticleScaling Joystick return values
Doing a radar simulation where a joystick moves a cursor over bogies heading towards the ship at the center of the screen. The outer marker ring is 10,000 yards. When the cursor is over a bogie, the...
View ArticleUse an Array of mp3 files which when on keyPressed plays a random selection...
I know it seems convoluted, Im struggling to play more than one track at a time using minim. I would like to know how to set up an array of maybe 10 tracks I have (bass,chords,melody etc), then on a...
View ArticleQuestion about ControlP5 library
Hello, I have questions about the ControlP5 library. Yesterday, I've found this library with a scrollable list example: import controlP5.*; import java.util.*; String[] listItems = new String[5];...
View ArticleHow to create a dynamic typface
Hi guys, i'm working on my bachelor thesis and trying to create a dynamic font in hebrew. I want to work on an existing typeface, and to have the options to play with its width, hight, weight, serifs,...
View ArticleChange Font size button with ControlP5
Hello guys, How can I change the size of the font (or type) on a button, using controlP5? I would like to do something similar as it is in this post, but it seems that the library has been updated, no...
View Article