Introducing timer.cubing.net

Lucas Garron

Premium Member
Joined
Jul 6, 2007
Messages
3,757
Location
California
WCA ID
2006GARR01
YouTube
Visit Channel
For my 10th cubing anniversary, I decided to write a timer:


It's very simple, and it's likely to stay that way. I want to add a way to view averages/session history, but not much else.

It works on all monitor sizes as well as Android or iPhone.
You can use it like an app on your phone by using your browser's "Add to Homescreen" functionality.

Oh, and it will work when you're offline.

Give it a try!
 

Attachments

  • timer.cubing.net.png
    timer.cubing.net.png
    78.3 KB · Views: 436
f515b3fca7f4d1982145b39dda02644d.png


Apart from the white text, it's looking great :D

I like the ability to click the scramble and have it open an alg.cubing tab too
 
This is what I see on Ubuntu 14.04 using Chrome. Shouldn't be a big issue since not a lot of people use this setup, works on Firefox.

timer.png
 
Looking good. Can you add wide turns for BLD? Also, why is there only 1 scramble for MBLD?
 
WOOOOAAAHHHH just got 9.66 (my first sub-10) with a LL skip on this! Is there a way to get the previous scramble?
 
Cool! Very nice and simple design. Not going to use it on my PC (I prefer much funtionality over simplicity), but maybe on the phone.
Is the megaminx going to stay like that? "(...) <br> (...)" It's not very elegant but it might just be to not waste a lot of space with new lines.
 
Looking good. Can you add wide turns for BLD?
Done!

Also, why is there only 1 scramble for MBLD?
I haven't implemented anything better yet. But I didn't want to hide the event, so it's still hanging out.

(You could leave a bunch of bogus times to get several scrambles, then use the timer forrealz on the final scramble...)


Is the megaminx going to stay like that? "(...) <br> (...)" It's not very elegant but it might just be to not waste a lot of space with new lines.

Since you mentioned it, I've gone ahead and hacked a fix. It will wrap onto too many lines if you make the window too narrow, but it should look alright in general.
 
Last edited:
I imagine this:
"Hey, I've been cubing for 10 years! Better make a timer, just for fun bc it's so ezpz"
*Coding*
*5 minutes later*
"Now to add the magic scrambling function I made"
scr = useTheMagicalPowersOfTheCheezitToCreateAScramble(event);
"Done!"

Edit: I have seriously no idea why it is seperating the e and the vent, it isn't like that in the editor thing
 
Last edited:
I imagine this:

Pretty much, except:

  • I've been meaning to make this for a while. Making a timer is easy, but making a *good* timer is not.
  • Took me more like 5 days rather than 5 minutes. ;-)
  • We have JSSS instead of Cheezit. You have to call scramblers[event].getRandomScramble() instead of useTheMagicalPowersOfTheCheezitToCreateAScramble(event), but that already existed, so that was actually the 5-minute part.

But yeah, pretty much. It's a lot more fun now that I know how to write good Javascript. :-)
 
Back
Top