| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <style> | 2 <style> |
| 3 canvas { | 3 canvas { |
| 4 display: block; | 4 display: block; |
| 5 position: fixed; | 5 position: fixed; |
| 6 left: 0px; | 6 left: 0px; |
| 7 top: 0px; | 7 top: 0px; |
| 8 right: 0px; | 8 right: 0px; |
| 9 bottom: 0px; | 9 bottom: 0px; |
| 10 border: none; | 10 border: none; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 imageHandle.data[index++] = 255; | 48 imageHandle.data[index++] = 255; |
| 49 imageHandle.data[index++] = 255; | 49 imageHandle.data[index++] = 255; |
| 50 | 50 |
| 51 imageHandle.data[index++] = 0; | 51 imageHandle.data[index++] = 0; |
| 52 imageHandle.data[index++] = 0; | 52 imageHandle.data[index++] = 0; |
| 53 imageHandle.data[index++] = 0; | 53 imageHandle.data[index++] = 0; |
| 54 imageHandle.data[index++] = 255; | 54 imageHandle.data[index++] = 255; |
| 55 | 55 |
| 56 canvas.putImageData(imageHandle, 0, 0); | 56 canvas.putImageData(imageHandle, 0, 0); |
| 57 </script> | 57 </script> |
| OLD | NEW |