A snap based drawing library