Code Monkey home page Code Monkey logo

pixelruler's Introduction

PixelRuler

PixelRuler is a simple ruler for your computer. It takes 2 points on the screen and sets the distance between the chosen 2 points as the reference distance. Then, it can find the relative distance between any other 2 points on the screen.

SETUP: Have the lastest JRE installed on your computer. Then, run the PixelRuler.jar file in /out/artifacts by typing in javaw.exe -jar PixelRuler.jar from a command line open in the folder with PixelRuler.jar in it.

HOW TO USE:

  • Press on your F12 key and click on any 2 points on the screen. These 2 points will be your reference points.
  • Input a number of what you would like to set the distance between these 2 points to be
  • The distance of the last 2 points that are clicked on the screen before pressing "Find Length" are returned, with the distance being in relation to the chosen reference points and the inputted number

EXAMPLE USE: Trying to eyeball the exact linear distance between Calgary and Montreal would be difficult. With PixelRuler, you can simply press F12, click on "0km" and then "1000km" on the scale at the bottom of the map, input 1000 into the text field, click on Calgary and Montreal, then press "Find Length". This will give you an exact distance of 2982.85km

pixelruler's People

Contributors

ryanfsdf avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.