Omnimaga

General Discussion => Technology and Development => Computer Projects and Ideas => Topic started by: thepenguin77 on March 13, 2011, 10:53:55 pm

Title: Screen Ruler
Post by: thepenguin77 on March 13, 2011, 10:53:55 pm
For quite some time, I have needed to measure distances on my computer screen. But the only screen rulers I could find on google were either vertical or horizontal, which were not very useful to me. So after about a half hour of searching today, I thought, "Why don't I just make one?" And 15 minutes later it was done.

It's not technically a ruler, but it does measure distances. I am not skilled in the way of graphics, so it is just a console program.

To use it: Run it. Move your mouse over the start. Press left shift. Move your mouse to the end. Press left shift. Then see how far it was.


This has quite a few uses: like calculating the speed of things in videos, or porting games from youtube videos. So have fun measuring.

(Here are the C++ redistributables x86 (http://www.microsoft.com/downloads/en/details.aspx?FamilyID=a7b7a05e-6de6-4d3a-a423-37bf0912db84) and x64 (http://www.microsoft.com/downloads/en/details.aspx?FamilyID=bd512d9e-43c8-4655-81bf-9350143d5867). If you have a 64 bit machine, I believe you have to install both.)
Title: Re: Screen Ruler
Post by: Deep Toaster on March 14, 2011, 06:41:28 pm
Nice, and as a feature request, angles?

And maybe snap-to GUI corners?
Title: Re: Screen Ruler
Post by: Happybobjr on March 14, 2011, 07:02:28 pm
Port to calc?
Title: Re: Screen Ruler
Post by: thepenguin77 on March 14, 2011, 07:14:29 pm
The angle was really easy. I almost did it the first time.

For snapping to GUI corners, I don't even have the slightest clue on how to do that.

I also flipped the y's around so that they work the way people would expect them to. (origin in lower left corner as opposed to upper left)


And Happybobjr, what would you even need this for on your calculator? I would bet it would be faster to actually count the pixels rather than using a program. :D
Title: Re: Screen Ruler
Post by: Happybobjr on March 14, 2011, 07:50:11 pm
I was meaning that it would turn your calc into a  ruler (in/cm)
Title: Re: Screen Ruler
Post by: Deep Toaster on March 14, 2011, 07:53:04 pm
Hmm, wouldn't be too accurate though...
Title: Re: Screen Ruler
Post by: DJ Omnimaga on March 14, 2011, 08:44:45 pm
The calc screen is quite small too O.O
Title: Re: Screen Ruler
Post by: Jonius7 on March 15, 2011, 05:51:47 am
just the pixels (large pixels), wouldn't be accurate enough