[MWForum]MIA, Ask an Expert: gravity, asciis, ...

Daniel Ajoy mwforum@lists.mathcats.com
Thu, 07 Oct 2004 19:23:52 -0500


On 6 Oct 2004 at 19:14, Mike Sandy wrote:

> Daniel uses " fd 5 wait 1" to control the motion of the target turtle. A
> much smoother
> motion can be obtained by using : "fd 0.05 * targ_vel"
> where targ_vel is a slider with values 1 to 10.

Hi Mike,

I've been thinking about this. I believe that
since the speed of computers increase exponentially
fd.slow should use exponents too:


to fd.slow :dist
let [val power 2 20 - speed]
repeat :val [fd :dist / :val]
end

This works with a slider 0-20.

Daniel
OpenWorld Learning (OWL)
http://mia.openworldlearning.org