Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
noneville90
noneville90's Profile
1
Posts
1
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
I'm new! Help me!
[2 Replies]
29-Jan-2013 02:24 AM
Forum:
Programming Questions
I'm not an expert in the use of processing, but I managed to create this code in an almost random. I would like someone to explain to me the steps I have done well, in such a way that they can understand the future ... thanks :)
float h = 100;
float s = 200;
float b = 200;
void setup(){
size(1600,800);
smooth();
background(0);
}
void draw(){
colorMode(HSB,100);
if(mousePressed){
stroke(h,s,b);
fill(0);
ellipse(mouseX,mouseY,pmouseY,pmouseY);
h+=.3;
if(h>=100){h=0;}
}
}
«Prev
Next »
Moderate user : noneville90
Forum