Comment on Configurable OpenSCAD calendar
Tolookah@discuss.tchncs.de 7 months ago
So if you want to print a calendar for 2077, rest assured that the model will calculate the correct day for the 1st of January (it’s Friday, btw).
On one hand, I’m assuming that you wrote proper code to figure out what day each year starts with.
On the other hand, I imagine that you set it up Friday, a constant.
Nice work though!
rikudou@lemmings.world 7 months ago
Heh, indeed I wrote a proper code to calculate the day, it’s called Zeller’s congruence and feels like magic.