mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-11 19:00:00 +01:00
Updated Readme, bugfixes
This commit is contained in:
8
index.js
8
index.js
@@ -2,10 +2,10 @@ console.log('\x1b[31m%s\x1b[0m',"This is the output of the module");
|
||||
require('./src/ImageSequencer');
|
||||
sequencer = ImageSequencer();
|
||||
sequencer.loadImages({red:'examples/red.jpg'},function(){
|
||||
sequencer.addSteps(['do-nothing','do-nothing-pix','do-nothing','do-nothing']);
|
||||
sequencer.addSteps(['do-nothing','do-nothing-pix','do-nothing','do-nothing']);
|
||||
sequencer.addSteps(['do-nothing','do-nothing','do-nothing']);
|
||||
sequencer.run();
|
||||
sequencer.removeSteps(1);
|
||||
sequencer.insertSteps(1,'do-nothing');
|
||||
sequencer.insertSteps(-1,'do-nothing');
|
||||
sequencer.insertSteps({
|
||||
red: [{index: -1, name: 'do-nothing', o:{}}]
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user