Browse files

invisible for both

  • Loading branch information...
1 parent 30a50ea commit 9e54efd5b0e9f7fe48f0982cf0eb020d9887f572 @eminaz committed Aug 13, 2013
Showing with 6 additions and 1 deletion.
  1. BIN server/.DS_Store
  2. +4 −1 server/public/js/app_simple.js
  3. +2 −0 server/public/js/main.js
View
BIN server/.DS_Store
Binary file not shown.
View
5 server/public/js/app_simple.js
@@ -286,7 +286,7 @@ VideoSquarer2.prototype.render = function() {
//hack
- percent=0.5;
+ //percent=0.5;
this.colorBox((grid[y].length - x) * this.cell.drawWidth, y * this.cell.drawHeight, App2.colors[y][x], percent);
this.playSound(App2.sounds[y][x], percent);
@@ -295,6 +295,9 @@ VideoSquarer2.prototype.render = function() {
this.contextA.globalAlpha = 1;
this.contextB.globalAlpha = 1;
+
+ //hack
+ this.contextB.globalAlpha = 0;
}
View
2 server/public/js/main.js
@@ -159,6 +159,8 @@ index_name = 0;
//App2.init();
var v2 = new VideoSquarer2('monitor', 'canvas-A2', 'canvas-B2', webkitURL.createObjectURL(event.stream));
+
+
// var v2 = new VideoSquarer2('monitor', canvasA.id , canvasB.id , webkitURL.createObjectURL(event.stream));
//var v2 = new VideoSquarer2('monitor', 'canvas-A2', 'canvas-B2', event.stream);

0 comments on commit 9e54efd

Please sign in to comment.