It does what it sets out to do but it's specific position. Might be beneficial to generate a showpoly based on your first coordinate (see example), support for pixels might also help too, and a way to set the rotationcenter wouldn't hurt.
PHP Code:
//#CLIENTSIDE
function onCreated() {
with (findimg(200)) {
x = 30; // Changing these would change the location of your polygon
y = 30; // while maintaining the same shape.
polygon = {
x, y, x + 3, y + 3, // and so on...
};
}
}