Skip to content

Downloads 8762 photos of the moon from a NASA website and uses them to create a fluid animation.

Notifications You must be signed in to change notification settings

nickfarrow/moonPhase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

moonPhase

Downloads all 8762 photos of the moon from a NASA website and uses them to create a fluid animation (click): video

See here for an introduction/tutorial.

Usage

python moonphase.py
optional arguments:
  -h, --help            show this help message and exit
  -t THINNING, --thinning THINNING
                        Frequency of images to download, e.g. every 10th image
  -f, --ffmpeg          Use ffmpeg to create video

If you are creating a gif via imageio then creating a .gif of 8761 images could take a long time and create a >100Mb file. Try using a smaller number of images with the -t flag:

Eg. use every 20th image:

python moonphase.py -t 20

If you are on a unix OS and have ffmpeg installed then you can compile an .mp4 instead of a .gif:

python moonphase.py -f

About

Downloads 8762 photos of the moon from a NASA website and uses them to create a fluid animation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages