Log In  


Here's a simple one:

Cart #45944 | 2017-11-06 | Code ▽ | Embed ▽ | No License
14

use stat(x), where x is:

80..85 UTC time: year, month, day, hour, minute, second
90..95 Local time

Go crazy, guys!

14


Sweet. Once there are some math functions for date/time, this will be awesome.

I might try to port some of my PHP time stuff over but might not be the same thing...hmmm...

You know, stuff like: days_diff(t,n), hours_diff(t,n), add_to_date()...


@ultrabrite: Are you hosting a full jam, or just want people to be aware of the new feature?

It could be interesting..


@enargy: Like a tweetjam, with less tweet and more clock! Deadline: The End of Time!


Ah, an open challenge.

I accept, good sir!

(eventually, at some point between now and the end of time)


@morningtoast, might be something useful in here: https://www.lexaloffle.com/bbs/?tid=29720

but I doubt it - I pretty much freestyle'd it instead of looking at any established algorithms such as PHP, as you suggested.


2

...and a failed tweetjam attempt:

Cart #45937 | 2017-11-06 | Code ▽ | Embed ▽ | No License
2


2

Here's a quick tweet-jam "bar clock" concept. From top to bottom it shows century (that is, 20xx), year (xx17), month, day, hour, minute, second.

Cart #45953 | 2017-11-07 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2


3

Cart #45995 | 2017-11-08 | Code ▽ | Embed ▽ | No License
3


At 163 chars, I was gonna say here's another failed #tweetcart attempt, but since Twitter just went crazy with tweet length... :D

#YesTheSoundIsAnnoying #TheresAReasonItsNotAThing


3

Cart #46057 | 2017-11-09 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3

(fixed hours)

Cart #46001 | 2017-11-08 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3

No one made a binary clock yet... So I will be the first ;P


4

Cart #46012 | 2017-11-08 | Code ▽ | Embed ▽ | No License
4


What happens when time values are converted to angles of a chain?


5

Cart #46118 | 2017-11-11 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
5


Very nice 3 color clock, Ultrabrite!


5

Cart #46128 | 2017-11-11 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
5

This clock is based on the code from an earlier cart, which was itself based on the code at https://maximecb.github.io/Turing-Drawings/. It converts the current time and date to a base-48 number, then creates a Turing machine transition entry for each "digit" in the number in order to draw the patterns you see (48 = 3 symbols * 4 states * 4 directions). There are only enough seconds since 1 AD to fill up the first 7 entries of 12 (the number of seconds is approximately 7 digits in base 48), so the last 5 entries are randomized instead. Every second it changes the rules based on the new current time, and every minute it clears the screen.


3

Cart #46622 | 2017-11-23 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3

Another one. Super fun to use.


2

more clocks!

Cart #57860 | 2018-10-12 | Code ▽ | Embed ▽ | No License
2

Cart #57861 | 2018-10-12 | Code ▽ | Embed ▽ | No License
2

Cart #57862 | 2018-10-12 | Code ▽ | Embed ▽ | No License
2

Cart #57863 | 2018-10-12 | Code ▽ | Embed ▽ | No License
2

Cart #57931 | 2018-10-14 | Code ▽ | Embed ▽ | No License
2


Actually that would be nice to have as part of reading time/date the name of the DAY it is without having to calculate it. Su/Mo/Tu/We/Th/Fr/Sa.



[Please log in to post a comment]