problems when changing 'fill ()' values
in
Programming Questions
•
2 years ago
- void setup () {
- size ( 800, 800 );
- smooth ();
- background ( 124, 0, 162 );
- stroke (0, 80);
- }
- void draw () {
- noFill ();
- fill ( 200, 0, 0, 50 );
- ellipse ( mouseX, mouseY, 100, 100 );
- noFill ();
- fill ( 0, 200, 0, 50 );
- ellipse ( mouseX, mouseY, 100, 100 );
- noFill ();
- fill ( 0, 0, 200, 50 );
- ellipse ( mouseX, mouseY, 100, 100 );
- }
This is my first try, and what I tried to do was to plot a red, and then a green, and then a blue circle, in this order, one after another, in loop. What I get is a greyish circle, always in the same color. Why?
Thanks
1