Archive for the 'JavaFX Blogs' Category


A couple of new tutorials by JavaFX Geeks Nancy Hildebrandt, Vaibhav Choudhary and Scott Hommel 0

If you have a few minutes for some fun and learning, check out these new tutorials from JavaFX Geeks Nancy Hildebrandt, Vaibhav Choudhary and Scott Hommel.

From-shapes-intersect-tutorial

Shape Intersection, Subtraction, and Union
by Nancy Hildebrandt and Vaibhav Choudhary shows you how to create new shapes by using shape intersection, subtraction, and union in the JavaFX Script programming language.

06-30-39

Creating a Digital Clock by Scott Hommel is a great introduction to image handling and animation using a Timeline.

Thanks Nancy, Vaibhav and Scott!
Jim Weaver
Go to Source

Hanging out with JavaFX Geeks and Newbies 0

With JavaFX/Java now being shepherded by Oracle, I thought it appropriate to start an Oracle-Mix forum where the JavaFX community can help each other and give feedback to Oracle JavaFX teams. 

Javafx-geeks-and-newbies

This forum is affectionately entitled JavaFX Geeks and Newbies, and its stated purposes are:

  1. Build a community that encourages and supports developers as they climb the JavaFX learning curve.
  2. Build momentum of IT industry adoption of JavaFX.

Several JavaFX book authors, Oracle JavaFX folks, and other JavaFX activists :-) hang out there, and I welcome your participation!  Please send me an email (jim.weaver [at] javafxpert.com) and I'll reply with a membership invitation.

Thanks,

Jim Weaver

Go to Source

A couple of new tutorials by JavaFX Geeks Nancy Hildebrandt, Vaibhav Choudhary and Scott Hommel 0

If you have a few minutes for some fun and learning, check out these new tutorials from JavaFX Geeks Nancy Hildebrandt, Vaibhav Choudhary and Scott Hommel.

From-shapes-intersect-tutorial

Shape Intersection, Subtraction, and Union
by Nancy Hildebrandt and Vaibhav Choudhary shows you how to create new shapes by using shape intersection, subtraction, and union in the JavaFX Script programming language.

06-30-39

Creating a Digital Clock by Scott Hommel is a great introduction to image handling and animation using a Timeline.

Thanks Nancy, Vaibhav and Scott!
Jim Weaver


Go to Source

So won’t the real Slim Shady D5 please stand [back] up? 0

Some interesting, if not cryptic, blog posts from Chris Oliver (founder of JavaFX) have piqued my interest.  Recent posts from Chris, as well as Anthony Rogers seem to indicate that the real slim shady JavaFX project has been resurrected (after having been given a formal burial on 13 July 2009).

Picture400

Alarm-clock What does this mean for JavaFX?  Will Slim Shady D5 and its seemingly amazing 3D scene graph converge with JavaFX in the future?  If so, how soon?  Inquiring minds want to know :-)

For what it’s worth, my prediction is that this technology will at some point in the near future enable the quantum leap in 3D scene
graph performance that Chris Oliver has alluded to in the past.

Regards, and please comment with any juicy Slim Shady D5 rumors that you hear!

Jim Weaver


Go to Source

JFXcube – try to solve it! 0

When I heard about first JavaFX challenge, I decided to participate with some application that can show how powerful this language is. In order to do that, I created my own version of Rubik’s Cube game. Now, after upgrading it to JavaFX 1.2 version, I wish to share it with you.

I think there’s nothing to say about how the game works. Everybody knows that when cube faces are messy it’s really difficult to put them right, so that’s the target.
If the left bottom cube is selected, drag around the big cube allows watching it from different perspectives. Otherwise, if the selected is the right bottom one, it is allowed to rotate one “slice” of the cube.

Inside menu options, there is the scrambler function, besides other options. I’m not sure but I think that save/load options have been damaged when moving from JFX 1.0 to JFX 1.2, so probably they won’t work.

Taking into account that I’ve not used any kind of 3D engine, the complexity of the project is elevated, so I’m not going to detail how the game has exactly been developed. Anyway, for those who can be more interested, the key point is to extend from Polygon class for each one of the colored faces, in order to relate them with their 3D points, so the movement can be applied directly into the points. Maybe reading VideoCube example, in javafx webpage, can help understanding a little bit how all that works, because the concept is similar althought that example is smaller.

Enjoy it!

Click here to lauch JNLP

APPLET on kaikreations

Filed under: Uncategorized
Go to Source

Hanging out with JavaFX Geeks and Newbies 0

With JavaFX/Java now being shepherded by Oracle, I thought it appropriate to start an Oracle-Mix forum where the JavaFX community can help each other and give feedback to Oracle JavaFX teams. 

Javafx-geeks-and-newbies

This forum is affectionately entitled JavaFX Geeks and Newbies, and its stated purposes are:

  1. Build a community that encourages and supports developers as they climb the JavaFX learning curve.
  2. Build momentum of IT industry adoption of JavaFX.

Several JavaFX book authors, Oracle JavaFX folks, and other JavaFX activists :-) hang out there, and I welcome your participation!  Please send me an email (jim.weaver [at] javafxpert.com) and I’ll reply with a membership invitation.

Thanks,

Jim Weaver


Go to Source

off topic but fun: Five-minute augmented-reality scavenger hunt 0

Hosted-snowman-3d-layar-screen-shot Just a quick heads-up:  If you have an android mobile device and want to have some fun with
augmented reality, go on the five-minute augmented-reality scavenger hunt.  See my aug.mx blog post for details.

Update 10-Feb-2010: Congratulations to Dave Pease of Liverpool, UK, who was the first one to successfully complete the five-minute augmented reality scavenger hunt!  Dave walked to the other side of the augmented reality 3D snowman, and identified that the symbol on his back is a Christmas tree!  Dave sent a screen shot from the Layar Mobile Browser running on his Android as proof:

Davep-found-frosty

Quoting Dave: "Here's the evidence. I would have got closer, but it would have involved trespassing and possibly receiving numerous dog bites!"

I don't blame you, Dave.  I hear that blokes in Liverpool don't take well to people walking around their back yards pointing mobile phones in the air ;-)

Congrats, Dave!

Jim Weaver

Go to Source

off topic but fun: Five-minute augmented-reality scavenger hunt 0

Hosted-snowman-3d-layar-screen-shot Just a quick heads-up:  If you have an android mobile device and want to have some fun with
augmented reality, go on the five-minute augmented-reality scavenger hunt.  See my aug.mx blog post for details.

Have fun!

Jim Weaver


Go to Source

My Experiments with JavaFX 0

I started experimenting with JavaFX1.2. I felt writing complex special effects or writing Animation code in JavaFX is very simple. In a very short time I am able to produce complex visual effects which previously took days to create in Java 2D.

Check out the following Animation.I am using Netbeans 6.8 and Inkscape 4.7 for creating Vector images.

(Note that my primary interest in creating this Animation is to learn JavaFX Script, I have not optimized it for performance or start up time. Code is not clean as there are lot of unnecessary methods and animation logic,  I will publish the cleaned source soon.)

You can click on it and create more plants.

Java Web Start (save this Java webstart JNLP file and run it)

Java Applet

Filed under: animation, graphics, illustrator

Go to Source

A JavaFX app for your vagus nerve from Krishna Kishore 0

Vagus The physiology of stress is an interesting topic, even to a layman like me.  Relaxing, taking time to enjoy beauty, and exhaling slowly, are important lessons for all of us that are often learned the hard way.  While learning such a lesson, I became acquainted with the vagus nerve, which plays a key role in the physiology of stress such as regulating heart-rate.  From what I read, exhaling slowly causes something called a parasympathetic stimulation that calms certain internal organs, which helps reduces stress.

Screen shot 2010-01-31 at 10.14.24 PM

The screen shot above is of a JavaFX app named Blue Sea developed by Krishna Kishore to learn more about using JavaFX animation capabilities.  Quoting Kishore, "In a very short time I am able to produce complex visual effects which previously took days to create in Java 2D".  According to the associated blog post where you can run the app, Inkscape 4.7 was employed to create vector images.

I found the Big Blue app to be visually pleasing and relaxing; watching the wave at the bottom slowly roll, and clicking the mouse to make flowers grow.  Although this is not a stress-relief app per se, I'd like to see a JavaFX app in this vein created especially for that purpose, complete with with relaxing music and a biofeedback monitor.  Just throwing that out there :-)

Regards,

Jim Weaver

Go to Source

Next Page »