Skip to content

continuous morphing over several paths #9

@plagasul

Description

@plagasul

When chaining morphs , one can see where the endpoint/startpoint for every morph are, usually because of a change of "direction" of the morph, would there be any way of making the morphing "continuous" ?

I am trying this for shapes that share the same ammount of points. They are actually versions of the same shape. Some sort of abstract blob.

The code looks something like this:

var paths = [ ... ]

var itPath = document.getElementById("itPath")
function pathMorph(){
	itPath
			.animate(duration).plot(paths[1])
			.animate(duration).plot(paths[5])
			.animate(duration).plot(paths[4])
			.animate(duration).plot(paths[2])
			.after(daMorph)
}

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions