Explanations
This post present a small Kineticjs experiment. And a JS integration in Google blog experiment. The small js above allow:- to zoom in and out the rectangle
- to move the rectangle by selecting it
Encountered problems to be investigate and Todos (may be...)
- scale function does not work
- usage of JQuery $() function (to be removed)
- refactor duplicated code
- Use kineticJs drag start event
Ref
Notes using CDN here
- The url for kineticjs could be found at https://github.com/ericdrowell/KineticJS/wiki/Version-Archive. Page extract : All of the versions below are hosted on the Amazon CloudFront CDN (Content Delivery Network), which means that you can hotlink to the URLs and enjoy fast response times no matter where you are in the world.
- for JQuery the url could be found at http://jquery.com/download/
No comments:
Post a Comment