I am on the lookout for a script that can run a digital clock in a web browser using unique images for each digit.
I plan to create a 'Maarten Baas' inspired clock with the children in my technology and design class. The kids will take on the role of the man in the clock, film it, and turn it into a giphy.
I came across a helpful script here: Digital clock with images
The issue is that it uses the same set of images for every digit on the clock. I would prefer to use 4 distinct arrays of images for each digit 00:00 (hh:mm).
As I am a teacher with limited coding knowledge (familiar with teaching kids how to use Scratch, but not much beyond that), I would greatly appreciate assistance from a professional.
It would be wonderful if we could showcase the clocks created by the kids.
Nice to have feature: The numbers should be animated gifs that replay each time they are called. I made an attempt at this already, where each gif plays once. However, upon reloading, the gif does not replay because the browser assumes it has already been played.
You can test it out at: