JFXStudio: sketch, hack, share

Simple Fish Eye Menu

Posted by: Rakesh Menon on: April 30, 2009

I came across a nice comparison of Fish-Eye-Menu in Flash and Silverlight. Looks Cool! So thought of writing one in JavaFX and compare..

For standalone mode

Source:

Tags:

9 Responses to "Simple Fish Eye Menu"

Very nice – the JavaFX version stands up well to the Flash and Silverlight examples.

Yes, love it. Such a small amount of code for such a great effect.

wow this is pretty cool!!!… damn… need to speed up my javafx lessons…

[...] Menon posts a simple fish eye menu example, with source code included [...]

This menu concept is very nice. How would you make it functional with clickable links for each section of the image?

In Main.fx I’m creating a series of ImageView Node

 insert ImageView {
    translateX: 60 * i
    image: Image {
        url: "{__DIR__}images/logo_{i}.gif"
    }
    scaleX: 0.65
    scaleY: 0.65
    smooth: true
    onMouseMoved: function(e) {
        e.node.toFront();
    }
 } into imageView;

As of now I have handled just onMouseMoved event, we can add onMouseClicked or onMousePressed in same way and listen to other mouse events.

Thanks Simon Brocklehurst, Craig Day and levinux for comments

Why do I have to click to download and click a security warning for every single javafx app?

Why can’t you embed it seamlessly like these demos: http://www.interactivepulp.com/pulpcore/scalalanguage

Can i have fish eye menu in wordpress theme? and how?

Leave a Reply

Challenge: Small is the New Big

This month's challenge: code something cool in only 30 lines, using the theme of Five

Tags

Archives