Procedural Drawing – Question! thanks!
Sep 26, 2013 at 8:04am
Procedural Drawing – Question! thanks!Hi,
I wonder why are the counter integers scaled to pi (6.283185) and not to another number? Also the number boxes below the scale. Why are .5 chosen? Thanks in advance 

Sep 26, 2013 at 10:23am
6.28… or 2Ï€ (in radians) is the length of the circumference of a unit circle. Plotting the rotation of a single point on the circumference of the circle results in the sine function. Check the animation about 1/4 way down the page here: http://en.wikipedia.org/wiki/Sine or http://en.wikipedia.org/wiki/File:Sine_curve_drawing_animation.gif If the value used were lower or higher than 2Ï€, the entire range of the sine function would not be achieved or be exceeded – in either case creating discontinuities in the resultant (smooth) path. Try it in the example by changing the 6.28… scaling factor. As for the scaling, afterwards – they appear to be a fudge factor to keep the result within range for the LCD object – not really sure why those values (+0.5) are used in particular (hopefully there is/was a good reason) but they don’t appear to be really significant to the outcome. 

Sep 26, 2013 at 10:38am
http://en.wikipedia.org/wiki/File:Sine_one_period.svg a sin function goes from 0 to 2pi on X, and 1 to 1 on Y 
You must be logged in to reply to this topic.