Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
manuel.v.pardo
manuel.v.pardo's Profile
4
Posts
4
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
How can I detect sound with my mic in my computer?
[2 Replies]
30-Sep-2013 03:04 PM
Forum:
General Discussion
I´m trying to detect sound with my computer and use this input to create visuals
Can anybody help me with this?
rainDrop simulation
[4 Replies]
18-Jul-2013 01:50 PM
Forum:
Programming Questions
Im tying to make a raindrops simulation but so far I came up with this code:
void setup(){
size(300,300);
background(255,255,255);
}
void draw(){
//Coordenadas
float x = random(0,300);
float y = random(0,300);
//Colores
float r = random(0,255);
float g = random(0,255);
float b = random(0,255);
//Radio de circulo
float d = random(0,100);
stroke(r,g,b);
fill(r+100,g+50,b+40);
ellipse(x,y,d,d);
}
But what I to do is that every drop grow until it disappears...
float x = 150;
float y = 150;
int d = 100;
//Colores
float r = random(0,255);
float g = random(0,255);
float b = random(0,255);
void setup(){
size(300,300);
background(255,255,255);
}
void draw(){
d = d + 1;
stroke(r,g,b);
fill(r+30,g+40,b+15);
ellipse(x,y,d,d);
}
Some thing like that but with every circle on the screen
And when d < 200 it
disappears.
HELP!!
Is there any command or function that make a geometry rotate?
[4 Replies]
31-May-2013 05:54 PM
Forum:
Programming Questions
I was trying to rotate some lines, but I don't know if its possible calling a function.
Can I?
What I want to do is rotate each line in a different angle.
int x= 50;
int y = 50;
int spacing = 2;
int len = 20;
int endLegs = 150;
size(200,200);
background(100);
while(x <= endLegs){
line(x,y,x,y+len);
x = x + spacing;
}
Thanks.
Why do I get this error?
[3 Replies]
10-Apr-2013 10:21 AM
Forum:
Programming Questions
I really don't know why do I get this error, I was making an exercise and it doesn't work.
«Prev
Next »
Moderate user : manuel.v.pardo
Forum