Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
b00zler
b00zler's Profile
2
Posts
6
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
per vertex polygon fill?
[2 Replies]
17-Aug-2011 03:51 AM
Forum:
Programming Questions
Hi, should this interpolate fill colour on any platform, or does it need OpenGL or somesuch? I'm just getting a flat fill.
g.beginShape();
for(int i=0; i<count; i++){
g.fill(randgen.nextInt()%255,randgen.nextInt()%255,randgen.nextInt()%255, 64);
g.vertex(coords[i][0], coords[i][1]);
}
g.endShape(PApplet.CLOSE);
Cheers
noob question
[12 Replies]
15-Aug-2011 02:09 PM
Forum:
Programming Questions
Hi,
I'm trying to use PVector. Do I need to import anything? I'm not very familiar with Java..
This (or any other combination of constructor args) ...
PVector location = new PVector(100,100);
... gives "The constructor PVector(int,int) is undefined"
And so on for every other statement involving PVector. All that seems to be visible is the typename itself 'PVector'.
I tried adding ...
import processing.core.*;
---> "No library found for processing.core"
What's the story?
Cheers
Jono
«Prev
Next »
Moderate user : b00zler
Forum