by Jay Tanner (8 Submissions)
Category: Graphics
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating:
(3 Votes)

Sub utility for displaying an image of the moon as viewed from a given phase angle.
Inputs
Phase angle in degrees
Assumes
This program tests and demonstrates a subutility for displaying the phase of the moon corresponding to a given phase angle in degrees.
It is intended to be built into an astronomy program for the purpose of displaying the lunar phase using the computed phase angle as its input argument.
Code Returns
Lunar image shaded according to the given phase angle.
Download MoonPhaser (56 KB)