summaryrefslogtreecommitdiff
path: root/public/js/mp/dye.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/js/mp/dye.js')
-rw-r--r--public/js/mp/dye.js10
1 files changed, 9 insertions, 1 deletions
diff --git a/public/js/mp/dye.js b/public/js/mp/dye.js
index d4c016b..530b6c4 100644
--- a/public/js/mp/dye.js
+++ b/public/js/mp/dye.js
@@ -1,7 +1,9 @@
"use strict";
var mp = function(mp) {
mp.dye = {
- getChannel: getChannel
+ getChannel: getChannel,
+ parseDyeString: parseDyeString,
+ dyeImage: dyeImage
};
var channel = [null, "R", "G", "Y", "B", "M", "C", "W"];
function getChannel(color) {
@@ -26,5 +28,11 @@ var mp = function(mp) {
return { channel: channel[idx], intensity: max };
}
+ function parseDyeString(dyeString) {
+ /* TODO */
+ }
+ function dyeImage(imageData, dyeData) {
+ /* TODO */
+ }
return mp;
}(mp || {});