java - Shape to shape morph -


straight main question - there libraries implement morphing 1 java.awt.shape object one? under morphing here mean possibility create kind intermediate shape given 2 , progress value. (just vision):

shape shape1 = ...; shape shape2 = ...; float progress = 0.35f; shape intermediate = someshapeutils.intermediate( shape1, shape2, progress ); 

shapes , might have different amount of points in them like:

shape shape1 = new ellipse2d.double( 0, 0, 100, 100 ); shape shape2 = new line2d.double( 0, 0, 100, 0 ); 

generally seems possible implement this, require lot taken consideration unless case simplified simple shapes/conditions/restrictions less interesting , harder use on practice might not able control shape.

so before started inventing wheel wanted know if there existing solutions.
hints in advance!


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -