http://www.ooer.com/litebox/
Litebox is something I wrote yesterday as the beginnings of a new photo portfolio to go on my website. Only works in Firefox (and Opera, though there's a small display bug, and IE but it's unusably slow). It's not Flash, it's just JavaScript. It uses a similar principle to Google Maps.
Controls:
Click an image to select it.
Drag images around to move them.
Shift+Drag to scale them.
CTRL+Drag to rotate them.
1,2,3,4,5,6,7,8,9,0 to set scaling to 10%, 20%, 30% etc.
Space to reorient an image back to straight.
Still needs a lot of work though. Any thoughts?
Litebox
Moderator: General Moderators
- jayshields
- DevNet Resident
- Posts: 1912
- Joined: Mon Aug 22, 2005 12:11 pm
- Location: Leeds/Manchester, England
The circles denote the "pick range" ... if the mouse is inside the circle then it'll pick that image. It's a heck of a lot simpler to detect which image the mouse is close to using simple Pythagoras than proper polygon areas.vigge89 wrote:Pretty cool, the only critique I have is that those rings around each image looks pretty odd. I would personally go for a thinner square border considering all images are rectangles - possibly one whose thickness scaled with the image size.