This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

danpost
danpost presents ...

2013/10/15

Magnifying Glass Actor Class Demo

This project contain a magnifying glass actor class that has the necessary methods to adjust the settings.

The sub-class of World in this demo has the magnifier follow the mouse pointer which is made invisible and provides the controls.

CONTROLS:
Move mouse to move glass.
UP/DN arrow keys: increase/decrease magnification
LT/RT arrow keys: increase/decrease size of glass
'i' key: toggles the image from square to round and back
'b' key: changes to next background image

1628 views / 9 in the last 7 days

3 votes | 0 in the last 7 days

Tags: mouse demo with-source zoom danpost magnifier

This scenario is a member of: Support Classes by danpost


open in greenfoot

There is no HTML 5 translation of this scenario available.
View legacy version (requires Java plugin)

This scenarios uses Java features that are not available for use after conversion to HTML 5. Please try the legacy version, which requires the Java plugin to be installed.

No Comments

Want to leave a comment? You must first log in.

Who likes this?

SPower JetLennit FlyingRabidUnicornPig