test filter

This commit is contained in:
HF 2022-09-18 05:08:54 +02:00
parent 1bf8169c57
commit 7562b47f18
2 changed files with 4 additions and 7 deletions

View File

@ -4,16 +4,12 @@
*/
import React, { useState } from 'react';
import { GiPineTree } from 'react-icons/gi';
import { AiOutlineThunderbolt } from 'react-icons/ai';
import SnowStorm from '../../ui/snow';
const videoIds = [
'bMPpZlok6aU',
'xcrYffFhTlw',
'lCZ5kIFz-h8',
'XSpYaEdpKxY',
'dTX-6WdiXx8',
'mJ2FURhZgy8',
];
const snowStorm = new SnowStorm(window, document);
@ -41,7 +37,7 @@ const ChristmasButton = () => {
: '0 0 9px 6px rgba(189, 0, 0, 0.8)',
}}
>
<GiPineTree />
<AiOutlineThunderbolt />
{(playing) && (
<embed
style={{

View File

@ -79,6 +79,7 @@ class ChunkRGB {
fromImage(img) {
this.ready = true;
const ctx = this.image.getContext('2d');
ctx.filter = 'contrast(1.5) brightness(0.5)';
ctx.drawImage(img, 0, 0);
}