Move green filter in line.

This commit is contained in:
Will Scullin 2020-06-08 19:21:53 -07:00
parent 849067dbdb
commit c7d4f579a7
No known key found for this signature in database
GPG Key ID: 9092A5C0A673416B
4 changed files with 25 additions and 12 deletions

View File

@ -400,6 +400,18 @@
</div>
</div>
<svg width="0" height="0" xmlns="http://www.w3.org/2000/svg">
<filter id="green">
<feColorMatrix
type="matrix"
values="0.0 0.0 0.0 0.0 0
0.0 1.0 0.0 0.0 0
0.0 0.0 0.5 0.0 0
0.0 0.0 0.0 1.0 0"
/>
</filter>
</svg>
<script src="dist/main2.js"></script>
</body>
</html>

View File

@ -378,6 +378,18 @@
</div>
</div>
<svg width="0" height="0" xmlns="http://www.w3.org/2000/svg">
<filter id="green">
<feColorMatrix
type="matrix"
values="0.0 0.0 0.0 0.0 0
0.0 1.0 0.0 0.0 0
0.0 0.0 0.5 0.0 0
0.0 0.0 0.0 1.0 0"
/>
</filter>
</svg>
<script src="dist/main2e.js"></script>
</body>
</html>

View File

@ -190,7 +190,7 @@ canvas {
}
.green {
filter: url('filters.svg#green');
filter: url('#green');
}
.scanlines:after {

View File

@ -1,11 +0,0 @@
<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg">
<filter id="green">
<feColorMatrix
type="matrix"
values="0.0 0.0 0.0 0.0 0
0.0 1.0 0.0 0.0 0
0.0 0.0 0.5 0.0 0
0.0 0.0 0.0 1.0 0"
/>
</filter>
</svg>

Before

Width:  |  Height:  |  Size: 326 B