BlesseNtumble / GalaxySpace

Addon for GalactiCraft 4
Apache License 2.0
68 stars 42 forks source link

[Suggestion] Make the sun little bit more smaller on some far away planets like jupiter's moon, saturn, etc. #460

Open DanielMC101 opened 4 years ago

DanielMC101 commented 4 years ago

Do not remove this template, without it your issue will not be considered!

Please fill in the form below:

  1. Minecraft version:
  2. Galacticraft version:
  3. GalaxySpace version:
  4. AsmodeusCore version (for 2.0.1 version and above):
  5. Side (Single player (SSP), Multiplayer (SMP), or SSP opened to LAN (LAN)):
  6. Other add-ons:

    Description of the issue:


Screenshot/Video:


Attached log file (or url on pastebin.com):


Romsik788 commented 4 years ago

All this can be done with the help of mathematics. I wrote the formula in discord.

DanielMC101 commented 4 years ago

What do you mean?

Romsik788 commented 4 years ago

What do you mean?

Using trigonometry, you can easily distinguish the apparent diameter of the Sun on any planet. Let the apparent diameter of the Sun on Earth be 20. Then for Mars (as an example) this is tgB = tgA/1.5, where A is the apparent radius for the Earth (20/2 = 10), 1.5 is the distance in AU from the Sun to Mars. Then tgB = 0.1763/1.5 = 0.11755. B = arctg(0.11755) = 6.7 is the apparent radius of the Sun on Mars. 6.7*2 = 13.4 - diameter.