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

Touch ripple effect #13

Closed
57r31 opened this issue Jun 28, 2022 · 5 comments
Closed

Touch ripple effect #13

57r31 opened this issue Jun 28, 2022 · 5 comments

Comments

@57r31
Copy link

57r31 commented Jun 28, 2022

Should be looking nice on touchscreens

Like https://www.shadertoy.com/view/ll2GRD but with decay

@57r31 57r31 changed the title Feature request: ripple effect Feature request: touch ripple effect Jun 28, 2022
@57r31 57r31 changed the title Feature request: touch ripple effect Touch ripple effect Jul 4, 2022
@57r31
Copy link
Author

57r31 commented Jul 30, 2022

ok, i did the base stuff
https://github.com/57r31/matrix
run with effect=ripples

@Rezmason
Copy link
Owner

I'll take a look tonight! Also any feedback you may have on the ability to make changes to this project is valuable in its own right 😊

@Rezmason
Copy link
Owner

Rezmason commented Aug 3, 2022

Short version: I developed your proof of concept into a solid feature, with ripples propagating out from the click position. Up to five simultaneous ripples at a time. Adjusted their aspect ratio to appear circular, and also gave the glyphs a tint similar to what's in the Resurrections shot, which brighten slightly in intensity where the ripples are. Also added webcam support, but that's a separate opt-in so no one is caught off-guard when the browser requests camera access.

Since a different kind of ripple already exists in the project, I think I'll rename the effect "mirror".

I'll upload what I've got later tonight and link you to it. I'll also add an Attribution section to the readme, where contributors' names go. If that's all right with you, just let me know what moniker you'd like to be represented as.

@Rezmason
Copy link
Owner

Rezmason commented Aug 3, 2022

Mirror effect

Mirror effect with camera

@57r31
Copy link
Author

57r31 commented Aug 5, 2022

wow nice, thanks!

@Rezmason Rezmason closed this as completed Aug 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants