Create presentation slides using svg with JavaScript