Algorithm-Arena / weekly-challenge-21-unconventional-clock

1 stars 1 forks source link

Submission - Cellular Automata Clock #7

Open nicogs opened 3 months ago

nicogs commented 3 months ago

This week I created a Cellular Automata Clock!

A cellular automaton is a collection of "colored" cells on a grid of specified shape that evolves through a number of discrete time steps according to a set of rules based on the states of neighboring cells. The rules are then applied iteratively for as many time steps as desired.

For this submission the initial state is decided by the binary version of the hour and the minutes. The rule that is applied is decided by the sum of the seconds, minutes and hours, giving a different pattern for every single second of a day.

Live version is available here: https://morenicogs.github.io/CellularClock/ Code is available here: https://github.com/morenicogs/CellularClock

download

My apologies for being late!

vjeux commented 3 months ago

Your submission is awesome, thanks for participating! Unfortunately I went to vacations without a laptop so I can’t really do the judging properly this week, I’ll do it next week. Sorry for the delay!