Code covered by the BSD License  

Highlights from
Real-time Magnifying Glass: An Interactive Animation Example

5.0

5.0 | 3 ratings Rate this file 14 Downloads (last 30 days) File Size: 244 KB File ID: #35441
image thumbnail

Real-time Magnifying Glass: An Interactive Animation Example

by

 

A real-time mouse-following magnifying glass of several different shapes

| Watch this File

File Information
Description

This program demonstrates how to implement a not-so-simple real time magnifying glass.

How to use:
-----------
just type:

magnifier

or

magnifier(mask, FPS)

where
mask is the shape of the magnifying glass which takes one of the following values:

"circle" - unsmoothed circular window
"aacircle" - smoothed circular window (default)
"gaussian" - guassian window
other string value - rectangular window

FPS defines how many time the position of the magnifying glass should be updated per second. By default, its value is 20.

---

The picture used in this program was taken from the A-li comic book series drawn by Xu Han (aka "Hans").

The Chinese text on the top left corner reads:
"On the Friday morning, A-li (roughly equivalent to 'foxy' in English) hung himself on the clothes rope, in an attempt to pull his ears longer...

-It was said that he fell in love with the rabbit."
---

MATLAB release MATLAB 7.12 (R2011a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
07 May 2013 Christian Wuerslin

...how I love your submissions!

27 Mar 2012 Gerardo Quispe

very nice~

26 Mar 2012 Lili

nice~

Contact us