Moon phase estimate

Approximate lunar phase from the mean synodic month. For an educational calendar, not eclipse or navigation prediction.