Skip to content

Commit 2f72a92

Browse files
committed
Minor changes
1 parent c9f8ebe commit 2f72a92

File tree

5 files changed

+3
-3
lines changed

5 files changed

+3
-3
lines changed

.DS_Store

6 KB
Binary file not shown.

canvasing.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ document.createElement = function(x) {
1212
// Redefine function toDataURL to add noise
1313
ret_canvas.toDataURL = function() {
1414
//var saved_style = ret_canvas.getContext('2d').fillStyle;
15-
var r = 255*Math.random()|0,
16-
g = 255*Math.random()|0,
17-
b = 255*Math.random()|0
15+
var r = 255*Math.random(),
16+
g = 255*Math.random(),
17+
b = 255*Math.random()
1818
a = .01;
1919
ret_canvas.getContext('2d').fillStyle = 'rgba(' + r + ',' + g + ',' + b + ',' + a + ')';
2020
ret_canvas.getContext('2d').fillRect(0,0,ret_canvas.width,ret_canvas.height);

connected.png

-1.5 KB
Loading

icon16.png

701 Bytes
Loading

not_connected.png

-899 Bytes
Loading

0 commit comments

Comments
 (0)