


















Curve is an optional object that currently supports 2 options:
Points - an integer of how many points to calculate from the start XY values
Default:
YUI().use('gallery-yuisand', function(Y) {
Y.one('#sort').on('click', function(e) {
new Y.YUISand({
duration : 1500,
curve : {
points : 2,
start : [-50,500]
}
});
e.preventDefault();
})
})