Processing is easy to do programming!
You can download it freely from the web site.
It works on Windows and Mac.
It was developed to generate visual arts.
It resembles to other professional programming languages.
It is easy to use a web cam and mouse, libraries by processing.
The left: 300x300 window
The right: coordinate. The Y direction is upside down.
The below is code of the above.
size(300,300);
Please add the below code to generate white background.
backrgound(255);// gray scale
Then, change it to the below.
backrgound(255,0,0);// Red, Green, Blue
Color values can be indicated from 0 to 255.
Additive color mixture is general in CG,
See the web site for println().
Let’s use println() in setup(){} and draw(){}
and see what happens in a console window (black one).
void setup(){
size(300,300);
println("set");
}
void draw()
{
println("draw");
}