Discuss Scratch

TRImakethebrainhappy
Scratcher
100+ posts

Think you know the exact time? Let's be more accurate! Programs to show you more accurate Ꭲimes!

Scratch includes ways to measure the basic units of time in the language. Scratch will tell you the second, the minute, the hour, and more at that very moment when you are looking at the function. With these it was quite simple to build my very own Digital Clock.

current
Block used to find the current ‘time unit’

This block is useful, but it will only give you the current second. I was curious, if and how you could be more accurate. Could I find out which millisecond I was currently in? I didn't find another program that satisfied me, as they weren't accurate at all, so I decided to make some of my own !

Something that I realized as I was working on these is that the
wait.001secs
wait block didn't work very well in short term increments, and threw off the millisecond number. What was the solution? I connected what I knew with the built in timer function to create an accurate way of measuring deciseconds, centiseconds, and milliseconds !

These Clocks work well and can be implemented anywhere. They don't require turbo mode and they are initialized in 1 second or less. (This means that they begin to function in 1 second or less from when you start the program)

You can find them here
Decisecond Clock
Centisecond Clock
Millisecond Clock

Enjoy and Scratch On,
MakeTheBrainHappy

Last edited by TRImakethebrainhappy (Aug. 28, 2016 01:16:10)

Penguin34253
Scratcher
81 posts

Think you know the exact time? Let's be more accurate! Programs to show you more accurate Ꭲimes!

Cool!
TRImakethebrainhappy
Scratcher
100+ posts

Think you know the exact time? Let's be more accurate! Programs to show you more accurate Ꭲimes!

Penguin34253 wrote:

Cool!

Thank you !
TRImakethebrainhappy
Scratcher
100+ posts

Think you know the exact time? Let's be more accurate! Programs to show you more accurate Ꭲimes!

Bump

Powered by DjangoBB