Get the latest tech news
I Made a Rubbish Clock
With separate plastic, metal, paper, and glass recycling, composting, and pick up of all the rest, knowing which days to put out which bins ...
With separate plastic, metal, paper, and glass recycling, composting, and pick up of all the rest, knowing which days to put out which bins can be complicated. My path function takes two parameters: p is a number between zero and six representing the seven daily segments needed on the clock; r is the radius of the arc. The 0 0 1 in the middle correspond to three parameters: x-axis-rotation, large-arc-flag, and sweep-flag; it's best to refer to the documentation for those because they determine the direction in which the arc points and whether it is rotated.
Or read this on Hacker News