Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Image Effects (more effects basically) #1001

Open
wants to merge 27 commits into
base: master
Choose a base branch
from

Conversation

SharkPool-SP
Copy link
Collaborator

@SharkPool-SP SharkPool-SP commented Sep 3, 2023

This extension can take image data.URIs and apply effects such as blur, saturate, glitch, etc. This (if used correctly) can be used to apply more effects not available in the looks tab to your sprites!

WARNING: These blocks affect performance when large and/or many image URI's are generated simultaneously. Its best to preload these effects into a form of storage (lists/arrays/etc).

However, my other extension, Sprite Effects is faster, doesnt affect performance, and has a lot more capabilities ;)
#1184

@SharkPool-SP
Copy link
Collaborator Author

SharkPool-SP commented Sep 3, 2023

Some examples:
Aberration with default colors:
https://github.com/TurboWarp/extensions/assets/139097378/b0691022-f731-4e48-a225-b640d72d4c7c

Bulge positioned in lower right corner
Screenshot 2023-09-02 at 5 04 08 PM

@SharkPool-SP
Copy link
Collaborator Author

Screenshot 2023-09-02 at 11 16 44 PM More Examples

@hdboye
Copy link

hdboye commented Sep 3, 2023

Tested it, LGTM. Great job!

@SharkPool-SP
Copy link
Collaborator Author

Tested it, LGTM. Great job!

Thank you!!

@GDH4ne
Copy link

GDH4ne commented Sep 3, 2023

is it accessible yet?

@SharkPool-SP
Copy link
Collaborator Author

is it accessible yet?

Wdym?

@CubesterYT
Copy link
Collaborator

Actually, I'll contact you directly with everything I'll suggest for consistency.

@GDH4ne
Copy link

GDH4ne commented Sep 3, 2023

is it accessible yet?

Wdym?

Is the extension in the extensions gallery yet?

@CubesterYT
Copy link
Collaborator

is it accessible yet?

Wdym?

Is the extension in the extensions gallery yet?

This PR hasn't been merged yet, so no, it's not on the gallery.

@idoinfactexist
Copy link

finally, the frosted glass of my dreams is actually doable!

@Skyhigh173
Copy link
Contributor

How do u apply these effects to sprite/stage?

@LilyMakesThings
Copy link
Contributor

How do u apply these effects to sprite/stage?

Considering the delay that extensions like Skins have, I don't think they thought that far ahead...

@SharkPool-SP
Copy link
Collaborator Author

How do u apply these effects to sprite/stage?

For the sprite you can use skins, but it’s not exactly possible with the stage currently. There is a slight delay if you use skins though. I plant to update this soon with some new stuff.

@LilyMakesThings
Copy link
Contributor

How do u apply these effects to sprite/stage?

For the sprite you can use skins, but it’s not exactly possible with the stage currently. There is a slight delay if you use skins though. I plant to update this soon with some new stuff.

skins works on the stage

@SharkPool-SP
Copy link
Collaborator Author

Really? If so it might be possible, but we need a hide/show all sprites block or smt. Iframe works too, and it eliminates the need for hiding showing all sprites, but it’s not the best since it isn’t transparent. I think overlaying it on the stage for everything is definitely possible, but not something you can do constantly without it having to load every image at this time. If we can find a way to overlay a secondary canvas onto the existing canvas, and set the image of the new canvas to the scratch one, it might be possible

@ghost
Copy link

ghost commented Sep 12, 2023

I would like this to be added!

@ghost ghost mentioned this pull request Sep 12, 2023
@ghost
Copy link

ghost commented Sep 12, 2023

The blocks don't work

@SharkPool-SP
Copy link
Collaborator Author

The blocks don't work

Use costume data.uri

@SharkPool-SP
Copy link
Collaborator Author

I would like this to be added!

Thanks! I'm working on a update with more blocks :))

@ghost
Copy link

ghost commented Dec 11, 2023

Can someone delete #1029 forever please? I dislike it now

@SharkPool-SP
Copy link
Collaborator Author

Can someone delete #1029 forever please? I dislike it now

:trollface:

@ghost
Copy link

ghost commented Dec 13, 2023

As a reminder to everyone, DO NOT VIEW ISSUE #1029. IT'S LOCKED TO COLLABORATORS FOR A VERY GOOD REASON.

@SharkPool-SP
Copy link
Collaborator Author

2.0 Update:

image

@SharkPool-SP
Copy link
Collaborator Author

New Block:
image

@SharkPool-SP
Copy link
Collaborator Author

image
V2.2

@GarboMuffin
Copy link
Member

does this really need to auto-load skins?

@SharkPool-SP
Copy link
Collaborator Author

does this really need to auto-load skins?

I believe so? Unless theres another way to do it. I doubt it tho

@SharkPool-SP
Copy link
Collaborator Author

does this really need to auto-load skins?

Forgot to say, but I removed it a while back

@GarboMuffin GarboMuffin added the pr: new extension Pull requests that add a new extension label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: new extension Pull requests that add a new extension
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants