←back to thread

268 points zayat | 2 comments | | HN request time: 0.645s | source
Show context
_aavaa_ ◴[] No.44448237[source]
While cool it’s a bit of a cop out to use a bitmap as a mask for both the circular shape and the shading of the earth’s shadow.
replies(4): >>44448437 #>>44448579 #>>44448638 #>>44450646 #
1. ludicrousdispla ◴[] No.44448579[source]
Lunar phase should be showing the moon's shadow (on itself) which will not be circular from our perspective on Earth except during the new moon phase.

This looks more like what is seen during a solar eclipse.

replies(1): >>44448985 #
2. eichin ◴[] No.44448985[source]
Yeah, this rendering is Just Wrong - moon phase is viewing a half-lit sphere from different angles, no external shadows are involved. Maybe look at https://github.com/chubin/pyphoon instead, which claims a history including Jef Poskanzer code going back to the 1970s...