javascript - Zoom at fabricjs object smoothly -


i working fabricjs canvas library. unable find animation methods or supporting library fabricjs.

what want zoom @ object. don't want scale object size. each object canvas in place is.

what want add effect camera focusing on particular object zooming in. , when zoom out. come in initial state camera moving in @ object , moving out object initial state.

sorry bad english

i have made sample code issue http://fiddle.jshell.net/5kkq2/811/.

here trying zoom on perticular object camera focusing on perticular object , should go smoothly. while using scaling object tough manage position particular object because never know object place @ run time.

solution: http://fiddle.jshell.net/5kkq2/813/

here using zoomtopoint method working fine. no need scale each object every time.


Comments

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -