mirror of
https://github.com/Rezmason/matrix.git
synced 2026-04-17 13:59:30 -07:00
animation length
This commit is contained in:
@@ -18,7 +18,7 @@ export default ({ regl, config }, inputs) => {
|
||||
tex: inputs.primary,
|
||||
bloomTex: inputs.bloom,
|
||||
intensity: ()=>{
|
||||
let inten = 2 - (Date.now() - window.ripples[0])/2000
|
||||
let inten = 1 - (Date.now() - window.ripples[0])/4000
|
||||
if (inten < 0) inten = 0
|
||||
return inten / 10
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user