Author Topic: Screen Ruler  (Read 3818 times)

0 Members and 1 Guest are viewing this topic.

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Screen Ruler
« 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 and x64. If you have a 64 bit machine, I believe you have to install both.)
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Screen Ruler
« Reply #1 on: March 14, 2011, 06:41:28 pm »
Nice, and as a feature request, angles?

And maybe snap-to GUI corners?




Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Screen Ruler
« Reply #2 on: March 14, 2011, 07:02:28 pm »
Port to calc?
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: Screen Ruler
« Reply #3 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
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Screen Ruler
« Reply #4 on: March 14, 2011, 07:50:11 pm »
I was meaning that it would turn your calc into a  ruler (in/cm)
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Screen Ruler
« Reply #5 on: March 14, 2011, 07:53:04 pm »
Hmm, wouldn't be too accurate though...




Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Screen Ruler
« Reply #6 on: March 14, 2011, 08:44:45 pm »
The calc screen is quite small too O.O

Offline Jonius7

  • python! Lua!
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1918
  • Rating: +82/-18
  • Still bringing new dimensions to the TI-nspire...
    • View Profile
    • TI Stadium
Re: Screen Ruler
« Reply #7 on: March 15, 2011, 05:51:47 am »
just the pixels (large pixels), wouldn't be accurate enough
Programmed some CASIO Basic in the past
DJ Omnimaga Music Discographist ;)
DJ Omnimaga Discography
My Own Music!
My Released Projects (Updated 2015/05/08)
TI-nspire BASIC
TI-nspire Hold 'em
Health Bar
Scissors Paper Rock
TI-nspire Lua
Numstrat
TI-nspire Hold 'em Lua
Transport Chooser
Secret Project (at v0.08.2 - 2015/05/08)
Spoiler For Extra To-Be-Sorted Clutter:

Spoiler For Relegated Projects:
TI-nspire BASIC
Battle of 16s (stalled) | sTIck RPG (stalled) | Monopoly (stalled) | Cosmic Legions (stalled)
Axe Parser
Doodle God (stalled while I go and learn some Axe)