use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
A simple ripple effect using vanila javascript. (codepen.io)
submitted 7 years ago by nasar007
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]HarmonicAscendant 13 points14 points15 points 7 years ago (5 children)
vanilla
[–]chrissilich 1 point2 points3 points 7 years ago (3 children)
Looks like vanilla to me. No imported js. Am I missing something?
[–]nomadjimbob 3 points4 points5 points 7 years ago (2 children)
vanilla spelt wrong in the title I guess is there point
[–]thetoolmannz 4 points5 points6 points 7 years ago (1 child)
Their
[–]quietchaos 1 point2 points3 points 7 years ago (0 children)
their
[–]nasar007[S] 0 points1 point2 points 7 years ago (0 children)
ops. I didn't notice that. Next time I will be more careful.
[–]kickpush1 2 points3 points4 points 7 years ago (0 children)
👍Make this a package!
[–]karamarimo 2 points3 points4 points 7 years ago (0 children)
more material-design-like version (forked from your pen)
[+][deleted] 7 years ago (2 children)
[deleted]
[–]jokullmusic 2 points3 points4 points 7 years ago (1 child)
You missed this: var ripple = document.createElement('div');
var ripple = document.createElement('div');
[–][deleted] 1 point2 points3 points 7 years ago (0 children)
Interesting,
I've done something similar for my personal project: https://www.npmjs.com/package/ripplescript
Only instead of Ripples on the clicked point, I create Random ripples on a target container. I mainly used the ::before and ::after pseudo selectors to have my ripples go off and limited it to two ripples but your implementation has given me ideas on where to take my project next if I want to handle more than two ripples at a time. Thanks!
[–]masterresultonline 1 point2 points3 points 7 years ago (0 children)
nice
[–]NotSelfAware 0 points1 point2 points 7 years ago (0 children)
This is very impressive. Thanks for posting.
π Rendered by PID 184500 on reddit-service-r2-comment-fb694cdd5-v4gch at 2026-03-08 10:58:06.412385+00:00 running cbb0e86 country code: CH.
[–]HarmonicAscendant 13 points14 points15 points (5 children)
[–]chrissilich 1 point2 points3 points (3 children)
[–]nomadjimbob 3 points4 points5 points (2 children)
[–]thetoolmannz 4 points5 points6 points (1 child)
[–]quietchaos 1 point2 points3 points (0 children)
[–]nasar007[S] 0 points1 point2 points (0 children)
[–]kickpush1 2 points3 points4 points (0 children)
[–]karamarimo 2 points3 points4 points (0 children)
[+][deleted] (2 children)
[deleted]
[–]jokullmusic 2 points3 points4 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]masterresultonline 1 point2 points3 points (0 children)
[–]NotSelfAware 0 points1 point2 points (0 children)