lundi 28 mars 2011

Very Basic Processing Plot Script

What is the absolute minimum we need for making a plotter print?

In our case, Processing and then this script...

basicPlotterExample.pde

Here you can see what happens with the command plotterLine ( x, y, c, d);

basicPlotterExample2.pde

Here we have myRect, myQuad, and myRectRotated( point2 ,30, 50, 15 );

we also have not x, y for a point nut a "point":

You can make a point like this:
MyPoint aPoint = new MyPoint( x, y);
and you can fill in aPoint, instead of x,y....

Aucun commentaire:

Enregistrer un commentaire