mootools / mootools-demos

Demos. For MooTools.
http://mootools.net/demos
MIT License
102 stars 61 forks source link

Making graphs of transitions with ART #2

Open arian opened 13 years ago

arian commented 13 years ago

A nice demo which could demonstrate transitions even more would be drawing a graph with ART.

Maybe something like:

var fx = new Fx(), path = new ART.Path;
fx.set = function(now){
    path.lineTo(now)
};

Don't know exactly how it will look like or work, but after ART will be released, this would be a nice additional demo :)

sebmarkbage commented 13 years ago

Like so? http://jsfiddle.net/E4jpM/

arian commented 13 years ago

exactly, very nice!