scratchfoundation / scratch-gui

Graphical User Interface for creating and running Scratch 3.0 projects.
https://scratchfoundation.github.io/scratch-gui/develop/
BSD 3-Clause "New" or "Revised" License
4.47k stars 3.57k forks source link

Blocks - Add more Effects #683

Open JGames101 opened 7 years ago

JGames101 commented 7 years ago

Scratch currently has a few effects - Ghost, Whirl, Colour, Fisheye, Pixelate, Mosaic, and Brightness. Mostly though, only Ghost, Brightness, and maybe colour are useful for most projects. However, because Scratch 3 is being made in HTML5, there are a lot of possibilities to implement more effects. The https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/filter Canvas Filter supports the same effects and more as the CSS filter, so I see an opportunity to add: Blur Effect Invert Colour Effect Saturation Effect

thisandagain commented 7 years ago

@JGames101 our effects are rendered in WebGL not CSS so these particular implementations are not useful to us, but we'll track this as a feature request. Thanks!

If you are interested in how effects are implemented in Scratch 3.0 I recommend taking a look at the scratch-render repository.