@@ -4,9 +4,9 @@ import { useState, useRef, useEffect, useCallback } from "react";
44import { createRoot } from "react-dom/client" ;
55import { useEventCallback , useStableEvent , useThroughRef } from "./hooks.ts" ;
66
7- import { blurEffect } from "~ext/live-effects/blurEffect .ts" ;
7+ import { gaussianBlur } from "~ext/live-effects/gaussian-blur .ts" ;
88import { pixelSort } from "~ext/live-effects/pixel-sort.ts" ;
9- import { kirakiraGlow } from "~ext/live-effects/kirakira-glow .ts" ;
9+ import { kirakiraBlur } from "~ext/live-effects/kirakira-blur .ts" ;
1010import { glitch } from "~ext/live-effects/glitch.ts" ;
1111import { coastic } from "~ext/live-effects/coastic.ts" ;
1212import { dithering } from "~ext/live-effects/dithering.ts" ;
@@ -15,10 +15,7 @@ import { directionalBlur } from "~ext/live-effects/directional-blur.ts";
1515import { halftone } from "~ext/live-effects/halftone.ts" ;
1616import { testBlueFill } from "~ext/live-effects/test-blue-fill.ts" ;
1717import { innerGlow } from "~ext/live-effects/inner-glow.ts" ;
18- import { imageReverbGPU } from "~ext/live-effects/image-reverb-gpu.ts" ;
19- import { imageReverb } from "~ext/live-effects/image-reverb.ts" ;
2018import { outline } from "~ext/live-effects/outline.ts" ;
21- import { compressor } from "~ext/live-effects/compressor.ts" ;
2219import { fluidDistortion } from "~ext/live-effects/fluid-distortion.ts" ;
2320import { kaleidoscope } from "~ext/live-effects/kaleidoscope.ts" ;
2421import { downsampler } from "~ext/live-effects/downsampler.ts" ;
@@ -27,7 +24,14 @@ import { dataMosh } from "~ext/live-effects/data-mosh.ts";
2724import { waveDistortion } from "~ext/live-effects/wave-distortion.ts" ;
2825import { selectiveColorCorrection } from "~ext/live-effects/selective-color-correction.ts" ;
2926
27+ import { compressor } from "~ext/live-effects/wips/compressor.ts" ;
28+ import { imageReverbGPU } from "~ext/live-effects/wips/image-reverb-gpu.ts" ;
29+ import { imageReverb } from "~ext/live-effects/wips/image-reverb.ts" ;
30+ import { exprTube } from "~ext/live-effects/wips/tube.ts" ;
31+
3032const plugins = [
33+ exprTube ,
34+ gaussianBlur ,
3135 dithering ,
3236 selectiveColorCorrection ,
3337 vhsInterlace ,
@@ -40,14 +44,12 @@ const plugins = [
4044 coastic ,
4145 compressor ,
4246 imageReverbGPU ,
43- kirakiraGlow ,
47+ kirakiraBlur ,
4448 glitch ,
4549 pixelSort ,
4650 outline ,
47- // blurEffect,
4851 // innerGlow,
4952 testBlueFill ,
50-
5153 chromaticAberration ,
5254 directionalBlur ,
5355] ;
@@ -245,7 +247,9 @@ function Controls({
245247 // ctx.drawImage(sourceImage, 0, 0, canvas.width, canvas.height);
246248 console . timeEnd ( timeLabel ) ;
247249
248- animId = requestAnimationFrame ( loop ) ;
250+ setTimeout ( ( ) => {
251+ animId = requestAnimationFrame ( loop ) ;
252+ } , 800 ) ;
249253 } ) ;
250254
251255 return ( ) => {
0 commit comments