added color palette
added catmull-rom algorithm from Raphael JS