- Jun 6, 2020
- 11,559
- 4,422
Hi, I'm trying to revolve earth image around sun image making an orbit without using 3rd party libraries or builtin functions.
So here's what I achieved:
If you notice its revolves in rectangle but not in circle.
So whats correct formula for moving it in circle ?
Here's my current code:
This is function that takes child image and revolve around parent image in within specified speed (latency in ms).
B4X:
So here's what I achieved:
If you notice its revolves in rectangle but not in circle.
So whats correct formula for moving it in circle ?
Here's my current code:
This is function that takes child image and revolve around parent image in within specified speed (latency in ms).
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید