Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
spaceuniversal
spaceuniversal's Profile
3
Posts
7
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Expanded view
List view
Private Message
simple code to create button
[2 Replies]
27-Jun-2013 01:50 AM
Forum:
Programming Questions
I would like to place the button in the middle of the window. Where did I go wrong?
Other times if I declared :
float x = width/2;
float y = height/2;
I could do it...
example:
float x = width/2;
float y = height/2;
float w = 150;
float h = 80;
void setup(){
size(500,500);
background(255);
stroke(0);
noFill();
}
void draw(){
background(255);
rect(x,y,w,h);
fill(134);
if(mousePressed){
if(mouseX>x && mouseX <x+w && mouseY>y && mouseY <y+h){
println("The mouse is pressed and over the button");
fill(232,43,45);
}
}
}
Translate() Error Ellipse
[5 Replies]
25-Jun-2013 02:10 AM
Forum:
Programming Questions
HI,
I have a problem with an simple ellipse. The ellipse is quite grainy also entering "smoot (2 or 4 or 8).
example:
void draw(){
smooth(2);
ellipse(width/2,(height/2)+19,300,300);
}
the program starts, however, in the console appears this error message:
"translate (), or this Particular variation of it, is not available with this renderer."
Error GUI builder [SOLVED]
[2 Replies]
16-Jun-2013 04:02 AM
Forum:
Contributed Library Questions
I have a problem with the tool: G4p (gui builder)
In "Processing" when I click on "tools" and then on "gui builder" you see this error message:
"" Could not add 'gui.pde' to the sketch ""
In fact, in the folder of my project there are all the files (data..) Except that "gui.pde"
What can I do?
thanks
Windows 8 64bit with 32bit Processing software.
thanks
«Prev
Next »
Moderate user : spaceuniversal
Forum