No.12081959 ViewReplyOriginalReport
Hi, I feel like there's something genius here. Equation derived from top-most and left-most distance to edge.

float vn = (float)(t%100);
float vr = 1.5f; //1.618f;
float vr2 = 1.33333333333f;//1.618f;//33333333333333f;
System.out.println("->" + vn + " : " + (vn*(vr) + ((vn/(vr*vr2))-1)));

--

->1.0 : 1.0
->2.0 : 3.0
->3.0 : 5.0
->4.0 : 7.0
->5.0 : 9.0
->6.0 : 11.0
->7.0 : 13.0
->8.0 : 15.0
->9.0 : 17.0
->10.0 : 19.0