04-22-2023, 09:11 AM
(04-20-2023, 03:05 PM)user328 Wrote: The JavaScript moon phase was always hosted on our own sites. It was a tiny script, a small photo of the full moon, and a single pixel black image that was used to fill in the shadow.
The modern version uses moon phase emojis. It's a lot more efficient since it prints a single Unicode character rather than calculating the position of all those black pixels for the shadow. But it's not as pretty as the old school version that has a real photo of the moon.
https://jasonsturges.medium.com/moons-lu...219acbfe6e