test filter
This commit is contained in:
parent
1bf8169c57
commit
7562b47f18
|
@ -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={{
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user