what does the operator
[scratch blocks]
[abs of 10]
mean ad the rest of the menu options for that such as tan?
Offline
There is a full list on the Scratch wiki.
Abs means absolute value. It basically gives you the value of the distance from 0 that the number is, for example abs(7) is 7 (its 7 away from 0) but abs(-14) is 14, because even though its negative its still 14 away from 0.
Sin, cos and tan (and atan, asin, acos etc) are trig functions. AtomicBawm3 has an excellent tutorial on these functions which I highly recommend!
Last edited by Prestige (2012-08-05 18:06:53)
Offline
Prestige wrote:
There is a full list on the Scratch wiki.
Abs means absolute value. It basically gives you the value of the distance from 0 that the number is, for example abs(7) is 7 (its 7 away from 0) but abs(-14) is 14, because even though its negative its still 14 away from 0.
Sin, cos and tan (and atan, asin, acos etc) are trig functions. AtomicBawm3 has an excellent tutorial on these functions which I highly recommend!
Oh My Gosh!! I had a project recommended!
The other ones he didn't explain are:
10^
e^
log
ln
basically, 10^ means 10 to the power of (i.e. 10^3 = 10*10*10 = 1000). Log is the inverse of this: log(1000) = 3. e is the natural base (approx. 2.718) and ln is the inverse of e^.
Offline