r/learnjavascript • • Oct 31 '20

Vanilla JavaScript particle rain

274 Upvotes

14 comments sorted by

12

u/frank0117 Oct 31 '20

2

u/[deleted] Oct 31 '20

I tried to added some CA action into it. and some colorizing effects.
basically - left and right movement for partials added based on distance calculations with neighbor partials, and color is another distance calculation with scaling a randomized bias for rbg...

https://codepen.io/altruios/pen/abZGbGJ

38

u/TheGreatPot Oct 31 '20

And here I can’t even get a picture to pop up where you click the mouse lol

5

u/umarmunir94 Oct 31 '20

He is rare, you're everywhere

7

u/sysrage Oct 31 '20

Is it Vigo or The Witcher? Looks amazing. Great job.

4

u/SlaimeLannister Oct 31 '20

Geralt is impossibly beautiful

1

u/gniziemazity Oct 31 '20

Cool! Could you make the particles go in a spiral?

1

u/fredsq Oct 31 '20

amazing!

1

u/SupremeBLOCC Oct 31 '20

https://slobknobcorncob.web.app/ Can anyone let me know what they think of this basic web app I made while I was messing around

-1

u/artvark Oct 31 '20

You could always sell this as an adobe plugin on aescripts...adobe runs on js

-11

u/[deleted] Oct 31 '20

Most web developers don't do a lot of image editing and most companies don't have fancy images like this. Just look at reddit. It has an intuitive user interface that looks decent and doesn't distract people. However some companies are looking for very visual fancy websites and your skills will certainly help you there. Also some small companies may have you do graphical design in addition to normal web development. I would focus more on building nice looking websites that handle forms and data in unique ways and users don't have trouble with.

16

u/TunaAlien Oct 31 '20

Maybe he just likes doing this shit cause it looks cool. Not everything is for a company.

0

u/[deleted] Oct 31 '20

[deleted]

1

u/frank0117 Oct 31 '20

Nice. I'm not familiar with cellular automata rulesets. Need to Google it to see what that can do.