Step 1: The Processing Code.
The code is real simple. I generate an G file in Eagle Layout editor. Read this file in processing. And I move, or Draw, the lines.
On the next step I will shoe how to generate the G file, and use my code to draw the PCB on screen.
The file named as 12.txt is a G file to use as example.
The file named as "motor shield" is a example already routed on the eagle. You just need to generate the G-file.
The file named as "teste" is simple example already routed on the eagle. You just need to generate the G-file too.