Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Need help with blurring a picture!
- -TheMadScientist-
- Scratcher
13 posts
Need help with blurring a picture!
I'm currently working on a big project but I need help with blurring. Please help.
define set blur effect to (0)
-TMS- 2021
- -TheMadScientist-
- Scratcher
13 posts
Need help with blurring a picture!
Well, it is a costume and no to your other question. Hope this makes sense to you. Be more specific. Is the picture a costume? Are your picture stored in variables/lists and you want to apply a blur algorithm to it?
-TMS- 2021
- awesome-llama
- Scratcher
1000+ posts
Need help with blurring a picture!
OK, so if you want to apply the blur directly to the costume, it has to be done outside of Scratch as such a function does not exist. You'll have to download it, open it up in an image editor and apply the blur you want, then reupload it.Well, it is a costume and no to your other question. Hope this makes sense to you. Be more specific. Is the picture a costume? Are your picture stored in variables/lists and you want to apply a blur algorithm to it?
If you wanted a blur effect (like using the effect block), then a more creative method will have to be done. I made a demonstration project here: https://scratch.mit.edu/projects/525844956/
It is possible to make a sprite blurry by stamping it a bunch of times with slight offsets.
This project uses a grid of points as offset locations, with corners removed to form a circular group instead. This ensures that blurring occurs evenly in all directions, even diagonally.
A similar thing could be done with clones, but it is a bit more complicated as a few other things have to be dealt with.
- -TheMadScientist-
- Scratcher
13 posts
Need help with blurring a picture!
Thanks,OK, so if you want to apply the blur directly to the costume, it has to be done outside of Scratch as such a function does not exist. You'll have to download it, open it up in an image editor, apply the blur you want, and then reupload it.Well, it is a costume and no to your other question. Hope this makes sense to you. Be more specific. Is the picture a costume? Are your picture stored in variables/lists and you want to apply a blur algorithm to it?
If you want a blur effect (like using the effect block), then a more creative method will have to be done. I made a demonstration project here: https://scratch.mit.edu/projects/525844956/It is possible to make a sprite blurry by stamping it a bunch of times with slight offsets.
This project uses a grid of points as offset locations, with corners removed to form a circular group instead. This ensures that blurring occurs evenly in all directions, even diagonally.
A similar thing could be done with clones, but it is a bit more complicated as a few other things have to be dealt with.
-TMS- 2021
- Discussion Forums
- » Help with Scripts
- » Need help with blurring a picture!