Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
Honestpuck
Honestpuck'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
Draw to one image after getting data from a first.
[2 Replies]
24-Oct-2011 07:38 PM
Forum:
Programming Questions
Hi,
I'm setting up:
void setup() {
source = loadImage(fileName);
destination = createImage(source.width * 2, source.height * 2, RGB);
size(source.width * 2, source.height * 2);
}
So I'm then getting pixel data from source and want to draw ellipses into destination. If I try
derstination.fill(r,g,b,100);
destination.ellipse(x*2,y*2,mySize,mySize);
I get told ellipse and fill don't exist and if I try
fill(r,g,b,100);
ellipse(x*2,y*2,mySize,mySize);
I get a blank destination.
How do I tell fill(), ellipse() and so on where to draw onto?
// Tony Williams
«Prev
Next »
Moderate user : Honestpuck
Forum