this editor is capable of running javascript on selected colors. it is default browser javascript with additional apis specifical to this editor. apis explained below:
Nav.next; // go to next slide Nav.prev; // go to previous slide Nav.jump(1); // go to specified slide by number Nav.setNotes("text"); // set slide notes to value Nav.movePart(0,0,50,50,100,100); // move part of image - in this case a selection from topleft to 100,100 Nav.swapPart(0,0,50,50,100,100); // swap two parts of image - in this case a selection from topleft (0,0-50,50) and 100,100 - 150,150
additionally - here source code of engine once again