diff --git a/index.html b/index.html index 7fa40f9..91f1ca5 100644 --- a/index.html +++ b/index.html @@ -95,7 +95,7 @@ + min="0" max="2" value="1" step="0.01">
@@ -128,10 +128,70 @@ min="0" max="2" value="1" step="0.01">
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
@@ -219,10 +279,70 @@ min="0" max="2" value="1" step="0.01"> +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
diff --git a/main.js b/main.js index 397cfa9..81e9f87 100644 --- a/main.js +++ b/main.js @@ -2,10 +2,14 @@ let canvas; let video; let ctx; let settings = { - brightness: {}, - saturate: {}, - contrast: {}, - blur: { filter: value => value * canvas.width / 100 + 'px' } + "brightness": {}, + "saturate": {}, + "contrast": {}, + "hue-rotate": {filter: value => value + "deg"}, + "grayscale": {}, + "sepia": {}, + "invert": {}, + "blur": { filter: value => value * canvas.width / 100 + 'px' } }; const img = new Image();