Skip to content

oliverkwebb/moontool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Moontool - A modernization and adaptation of '80s astronomical trinkets

The idea for this program came from the original moontool by John Walker, and most of the astronomical code is from the original moontool.

mprintf

A modular way to get information about the moon.

-f formatting specifiers:

| character | definition                  | example         |
|-----------+-----------------------------+-----------------|
| %a        | Age (Days since new moon)   |           15.20 |
| %e        | Emoji (Northern Hemisphere) | 🌘               |
| %s        | Emoji (Southern Hemisphere) | 🌒               |
| %J        | Julian Day                  | 2460494.401019  |
| %N        | Phase Number                |               5 |
| %P        | Illuminated Percent         | 10%             |
| %p        | Phase name                  | New             |
| %%        | percent sign                | %               |
| %n        | Newline                     | \n              |
| %t        | Tab                         | \t              |

phoon

From the original phoon Originally Written by John Walker

phoon is a program to display the PHase of the mOON. Unlike other such programs, phoon shows you the phase First written in Pascal /TOPS-20 at CMU in 1979; Then translated it to Ratfor/Software Tools in 1981; and now it's in C/Unix.

globe

From the original globe Originally Written by John Walker

timecalc

A simple test of date parsing, a debug tool

About

Display the current moon phase

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published