scratchfoundation / scratch-render

WebGL-based rendering engine for Scratch 3.0
BSD 3-Clause "New" or "Revised" License
260 stars 333 forks source link

Consider adding "blur" effect #247

Open ericrosenbaum opened 6 years ago

ericrosenbaum commented 6 years ago

We should consider adding a blur effect to the graphic effects menu.

Questions:

(similar to https://github.com/LLK/scratch-gui/issues/683)

mrjacobbloom commented 6 years ago

If you do decide to increase the bounds on blur, you may be able to use an outset algorithm instead of recalculating the whole hull

Clark-E commented 6 years ago

I’ve worked with blur once before in web browsers (using css filters). It isn’t too slow, as long as you’re don’t make the blur crazy big and you’re not recalculating every frame.

But, the problem lies in the fact that a user could potentially blur a really fast animation with many frames. That would take a while to compute.

That said, you should take my input with a grain of salt. Maybe WebGL can handle blur really well.

adroitwhiz commented 5 years ago

I'm a big fan of this idea. The blur effect seems really useful--at the very least, more useful than, say, "whirl" or "fisheye". Animation projects in particular could use it as a way to simulate camera focus.

@cwillisf thoughts on this?