Home » Source Code » fisheye


2016-05-19 22:04:12
The author
Download(s): 0
Point (s): 1 
Category Category:


eye magnifier.

this program with Chinese&English notes which tell you how to use it.

//by inuheaven@163.com

//hi.baidu.com/inuko //bitmapdata fisheye magnifier


/**> 本例是使用近似算法,只是最简单的鱼眼应用。此类绑定一个以0,0为中心,半径R=50的圆即可使用。也可以自行绘制放大镜子。 原理很简单,可以baidu下。**

须和被放大的object封在一个mc里。这样bitmapdata.draw比较方便。涉及到层级问题,不这么做执行效率较低。 可以用模糊滤镜使之更平滑,不建议使用。

需要近远调节,可以自行写 放大镜与物件的距离,放大镜与人眼的距离 与 放大倍数的映射关系

this is a proximation. a simple fisheye.bind it with a sprite which has a circle which r=100 in point(0,0),u can draw your own magnifier. the theory is concentric circles filled with different scaled original pictures

可以用tweener做动画 move with tweener class Tweener.addTween(myMovieClip, {x:10, time:1,onUpdate:magnifier.render});

时间轴动画可以用enterFrame move in flash function enterFrameH(e){

if(currentFrame>arg&&currentFrame<arg){ //动画范围 moving frames range




Sponsored links

File list

Tips: You can preview the content of files by clicking file names^_^
Name Size Date
0.00 B
Sponsored links


(Add your comment, get 0.1 Point)
Minimum:15 words, Maximum:160 words
  • 1
  • Page 1
  • Total 1

fisheye (142.00 kB)

Need 1 Point(s)
Your Point (s)

Your Point isn't enough.

Get 22 Point immediately by PayPal

Point will be added to your account automatically after the transaction.

More(Debit card / Credit card / PayPal Credit / Online Banking)

Submit your source codes. Get more Points


Don't have an account? Register now
Need any help?
Mail to: support@codeforge.com


CodeForge Chinese Version
CodeForge English Version

Where are you going?

^_^"Oops ...

Sorry!This guy is mysterious, its blog hasn't been opened, try another, please!

Warm tip!

CodeForge to FavoriteFavorite by Ctrl+D