Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
aupasubmarino
aupasubmarino's Profile
1
Posts
0
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
noob question about plotting a curve
[2 Replies]
15-Apr-2012 01:24 PM
Forum:
Programming Questions
Hi
I am very new to processing and I am trying to plot something like the following
Week shots player A
1 10
2 20
3 35
I want to plot something that gradually draws when the user see it sort of like an animation but not draw the entire curve in one go.
i tried using line & delay commands but it is not working. Is there a better way to do this?
void setup()
{
size(640, 600);
stroke(255);
}
void draw()
{
background(51);
line(0,0,1,10);
delay(500);
line(1,10,2,20);
delay(500);
line(2,20,3,35);
«Prev
Next »
Moderate user : aupasubmarino
Forum