1193
Comenting code (lemmy.ml)
you are viewing a single comment's thread
view the rest of the comments
[-] Sparky@lemmy.blahaj.zone 1 points 2 weeks ago

I was mainly thinking of making some recursion hence why all the subclocks mirror the parent clock (for that given hour). Also I called it clock squared because I didn't think the resolution would be high enough for people to actually notice the 3rd level of clocks.

You might notice that some dials don't really align with the hours they're supposed to show. That's because I had to place a bunch of clocks at varying hours with a viewport rendering the parent clock at an angle that probably made it difficult to spot the errors. I rendered it once and didn't bother re-rendering it once I saw the errors :)

[-] flora_explora@beehaw.org 2 points 2 weeks ago

Haha yes, recursion is always fun!

Although I'm still confused on what the clock would show in an hour. Because if the subclocks mirror the parent clock at the given time, then they would all be stuck to the hour they are positioned on? Or if they can move then the sublcocks are coupled to 3 o'clock of the main clock. But well, it is all hypothetical anyways :D

[-] Sparky@lemmy.blahaj.zone 2 points 2 weeks ago

Idk maybe the sub clocks are static and never change :3

this post was submitted on 28 Sep 2024
1193 points (99.0% liked)

Programmer Humor

32259 readers
295 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS