Quote:
Originally Posted by Jack Daw
You know Richard, it would look much better using Gauss' Plain and Euler's constant. At least it would be easier to use, ay?
|
OK, I used a Gaussian distribution for the fruit in the passion fruit vine along the back and Euler's natural logarithm to compute the thickness of lines, but that was about it:
int boldings = (int) Math.floor(0.49 + Math.log((double) (sidemeasure * (double) 1.0)) / Math.log(16.0)) ;
Otherwise I calculated points on the outline by taking trigonometric steps:
int banana17thX = banana16thX + (int) Math.floor(0.49 + ((double) ((3 * offset20) / 2) * Math.sin(Math.toRadians(20)))) ;
int banana17thY = banana16thY + (int) Math.floor(0.49 + ((double) ((3 * offset20) / 2) * Math.cos(Math.toRadians(20)))) - (3 * boldings) ;