Is possible resize geometric shapes on the fly using JavaScript?
Example: I have a rectangle and two fields (length and height).
When user define some measure, resize it.
I thought OpenGL, WebGL, SVG, VRML .. I was thinking something that would works well on browsers without use plugins.
Here you go:
Use it wisely 🙂
Hint: You can use
pathfor random shapes.Here’s a simple example for your amusement: http://jsfiddle.net/HeJDJ/