11-12-2022, 11:36 PM
Thanks. I was reading the game tutorial, this part specifically: https://www.qb64tutorial.com/lesson19
Radian Ferris Wheel
|
11-12-2022, 11:36 PM
Thanks. I was reading the game tutorial, this part specifically: https://www.qb64tutorial.com/lesson19
11-13-2022, 01:29 AM
(11-12-2022, 04:20 PM)bplus Wrote:Thanks bplus. You've encouraged me to "have another go".Quote:I had a go a while back at explaining what pi was, using a "circular" shape with increasing numbers of arcs, from 3 to 1000, and summing the lengths of the arcs until they reached 6.28... but I eventually gave up (temporarily?). I sorta knew most of that, but hadn't quite worked out how to apply which bits for my prog. You cleared the cloud a little.
Of all the places on Earth, and all the planets in the Universe, I'd rather live here (Perth, W.A.)
11-16-2022, 03:49 AM
You can put this function around any angle in radians, and it will simplify it to be at least zero, and less than 2pi.
function simplify_angle(a) threesixty = 8 * atn(1) x = -a / threesixty if x <> int(x) then x = x + 1 simplify_angle = a + (int(x) * threesixty) end function
b = b + ...
11-16-2022, 08:25 AM
Yes, I'm the same person. I lurk quietly, checking out programs here and there, mostly grinding away at my own big project and frequently referring to the wiki.
|
« Next Oldest | Next Newest »
|