I am trying to create a starting screen background for my first game in Processing and it keeps erroring with the following message: I’ve tried to solve the problem by following the message and by searching around but I don’t manage to solve it. this is the part for the background: If needed I’ll send the whole part but this
Tag: processing
How can I clear/reset the canvas with a counter or countdown in Processing?
I would like to know how can I set a reset loop: While the draw() is going on I would like to clear the canvas so I can start to draw on a clean canvas again and again. (I don’t want to use keyPressed() or mousePressed() it has to be automatic) Thank you for your help in advice! Answer You
What is the best way to determine whether a bezier is overlapping a circle?
In Java / Processing, I want to test whether a bezier curve is overlapping a circle, so that I can shift one of them out of the way. Is there a simple way to do this? Answer You can use the bezierPoint() function to get a series of points along a Bezier curve. Then you could test those points against
How to open multiple windows with Processing?
I’m trying to create two windows with Processing. Before you mark this as a duplicate, as there are other questions similar to this, I have a specific error and I can’t find a solution. When I try to add(s) I get the error The method add(Component) in the type Container is not applicable for the arguments (evolution_simulator.SecondApplet) I’m not sure
Boolean flags aren’t corresponding to the switch they are in
I’m trying to make a traffic simulator and I completely underestimated how hard it was going to be to get all the classes to work together. I’ve finally gotten all the functions to work quite well, and am now I’m trying to put them together. On my lights algorithm I’ve gotten the lights to change fine on a timer, but
Use processing in Java application
I downloaded processing from http://processing.org. How is it possible to use porcessing in my Java application. I want drawing stuff depending on the logic in my Java application. To avoid the drawing in Java I want to use processing instead. Answer Piece of cake, First, In your IDE (eg Netbeans) first include the processing jar in your build, put it
Launching Processing.org App on Linux with Java Xmx
I have an application created with Processing.org and am trying to run it on Linux. Shortly into the app I get a Heap Size error. I am trying to run the app from the command shell with the line java -Xmx512m myAppNameHere but when I do this, I get a message that says “Exception in thread “main” java.lang.NoClassDefFoundError: myAppNameHere/exec” Then