Get the latest tech news
Show HN: OpenSCAD configurable calendar 3D model
I love creating configurable generic models using OpenSCAD, and this is the most complex one I've created to date—an easy-to-configure calendar using some clever algorithms to render correctly.
You can implement standard algorithms from general-purpose languages, like the impressive Zeller's Congruence used to calculate the day of the week for any given date. Additionally, I included a generic leap year check and a function to get the correct number of days in a month: In a future update, I plan to implement an algorithm to calculate Easter, allowing it to be added to holidays with a single toggle.
Or read this on Hacker News