Open gre opened 9 years ago
How about integrating Seriously.js? It has ~60 video effects and a neat canvas/shader/JS API: https://github.com/brianchirls/Seriously.js/tree/master/effects
Their effect module properties are self-describing so I can see them plugging right into Diaporama's JSON format.
Diaporama's strong timeline/transition/editor features and Seriously.js effects look like a great match. (I might have some time to spare on this if it sounds worthwhile to you @gre)
Hi @mcorb ,
sounds not a so bad idea. How reusable are Seriously.js effects? I would be in favor of a framework agnostic approach. I wish Seriously.js would just expose fragment shaders, because this is just what we need: like it's done for GLSL Transitions.
To my mind, these effects shouldn't be "hard-coded" in diaporama but kept separated (exactly like it currently work in Diaporama for GLSL Transition). In the JSON, there would be a place where you could define all fragment shaders and you reference it in the slide you want.
nowaday, i'm working on gl-react
, with basically this idea of defining a graph of effects in a descriptive way. This allow to compose powerful effects. It's a bit coupled to work with React right now, but i'm sure we could derive this work back to a "json" description..
a new feature allowing to apply effects on the slideshow.
TODO:
uniform sampler2D input; uniform float power;
)That's a lot of work! if anyone have ideas or want to help :-)