How to draw a shape with mouse clicks ...
I trying to build up to a more complicated problem, but to warm up, I wanted to undertake a simpler project. Having a user use clicks of a mouse to draw a shape.
To repeat, I want the user to click their mouse and have a line drawn from point to point until any of the lines cross and then I want the area in the shape to be selected/colored etc.
I just need a push in the right direction, so articles links, ideas are welcome.
Thanks in advance.
You might wanna check out the canvas tag. It's supported in all modern browsers (no, IE is not a modern browser, though you can simulate canvas).