Hi, I'm a newbie here and programming in Processing.
I'm making a test, intead of draw everything in Illustrator, to generate by Processing.
I've a box, and a circle inside. I wanna make some lines from 1 pont of the circle to another point in the box. But need to know the range of points that I can link without trespassing the tangent of the point.
Well, I draw what I want it.
And also what I program until now.
float centroX, centroY; float raioMenor; float inicioCon; float pontosFin; int numeroPontos=40; int numeroPontosQuad=40; float interv = 2*PI/numeroPontos; float intervQuadX; float intervQuadY; float pontoAnterior=0; float angPonto; int [] pontosX= new int[numeroPontos]; int [] pontosY= new int[numeroPontos]; int [] pontosXQuad = new int [numeroPontosQuad]; int [] pontosYQuad = new int [numeroPontosQuad];