AnimationCurve now accepts a list of coordinates in the constructor. Updated demo + docs.