Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

nickfarrow/moonPhase

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
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

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.