pyphoon: ASCII Art Phase of the Moon

pyphoon draws current moon phase, although only accurate in the northern hemisphere.

for ((i = 0; i < 30; i++)); do clear; date -d "$i day" +%Y-%m-%d; bin/pyphoon "$(date -d "$i day" +%Y-%m-%d)"; sleep 0.01; done
 The image looks neat, but it doesn't actually draw the real craters, just still image, although it has several sizes to fit into different terminal sizes.

This Python version is:
Based on the original version of Jef Poskanzer jef@mail.acme.com written in Pascal in 1979 (and later translated by himself into C [phoon], and now by me [Igor Chubin] into Python).
And later ported onto X as xphoon, and then Phoon in Java.  The term "phoon" stands for "PHase of the mOON."

pyphoon was written by Igor Chubin, licensed under the MIT License, supporting 22 languages.

Comments