Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I'm drawing simple 2D line shapes using coordinate sets (for example, moveTo(x,y) drawTo(x,y)). I would like a tool that is like a sheet of graph paper. When I click on intersection points it records the coordinates I clicked and prints them to a dialog box.

Hopefully it would be a simple website in javascript or something. Does such a thing exist?

share|improve this question
    
This is kind of a which tech to use question. There really isn't a single correct answer to the question. –  Byte56 Jun 29 '13 at 6:57

2 Answers 2

up vote 2 down vote accepted

This tool allows you to point and click to select points, and then draw a Line, Polyline or Polygon. It will print out the points data required.

enter image description here


There's quite a few out there that offer a similar functionality, but they're meant for use on maps. This one is a decent one that displays point information right away.

enter image description here


This one is a little bit the opposite, you mark the points and it draws them, however, you can then use matrices to transform the shape you've drawn. (You may want to use it here, as it's not cut off by bad page margins)

enter image description here

share|improve this answer

I have made a simple tool that allows for point drawing, image overlaying, and also matrix transforms. It's open source on github. Here's the demo:

http://bmx-pointtool.meteor.com/

BMX-PointTool screenshot

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.