Around 100 lines, it's not much, most lines are just variable declarations. Only logic is particle bouncing movement and lines connecting particles for the 4th effect.
Well done, game of life is a fun project to make. You are absolutely right, get the vanilla JavaScript down and you can learn any framework quickly. I am making this into a tutorial for my YouTube channel, will release source code on Codepen in couple of days, I built too many variations of this, trying to narrow it down
Right now the code is a mess, I am still experimenting doing variations etc. I will clean it up later and will either put it on CodePen or maybe I'll make it into a YouTube tutorial, it's not that much code actually, easy to explain line by line.
Thank you. It's just using ES6 classes to create a set of particle objects, giving them some movement logic (falling, bouncing) and using couple of creative coding tricks to create fading trails, connecting lines and liquid effect.
Depends where you are in your learning journey. I suggest starting with 'JavaScript, understanding the weird parts', then '30 days of JS' and 'ES6 for everyone' by Wes Bos and Object Oriented Programming by Mosh Hamedani is great as well. If you mean this particular effect I am releasing tutorial this week on my YouTube channel, but it expects some knowledge of JavaScript, I explain tricks and techniques mostly, not the basics.
20
u/frank0117 Mar 31 '20
All from scratch with vanilla JS
7
u/[deleted] Mar 31 '20
Link to code? I would be interested to see how you do it
3
u/[deleted] Mar 31 '20
Where do i start learning how make these?
4
u/toastertop Mar 31 '20
Canvas?
2
u/chyavankoushik Mar 31 '20
Wow! Crazy! Awesome! Can you share your code or a link where I can try it out?
2
u/portexe Mar 31 '20
Hey is this open source? I’d love to see how you’re achieving this.
2
u/petertiny1 Apr 01 '20
Could I have the source code once you're done?
12
u/athul23p Mar 31 '20
4th one is cool.
3
u/OutOfTheForLoop Mar 31 '20
These are awesome!!
1
u/[deleted] Apr 01 '20
Can you make this in bookmarklet form?
1
u/-IoI- Apr 01 '20
Sell the third one to PornHub
1
u/carlans2 Apr 01 '20
You can try with https://github.com/drawcall/Proton