
I use dark themes because light attracts bugs. Currently integrating maths, physics and JavaScript to make things move. #YNWA 🔴
Joined December 2021
- Tweets227
- Following68
- Followers104
- Likes613
#100DaysOfCode
Days 29-35: Started practicing leetcode again, couldn't find any nice project ideas so i'll just continue doing DSA and studying maths for the time being.
#100DaysOfCode
Days 27,28: Studied and implemented lorentz attractor.
Taking a little break now
#100DaysOfCode #javascript
Day 25: Tried visualizing quick sort, couldnt get it right because its a pain to integrate recursion with requestAnimationFrame😞
#100DaysOfCode
Days 22,23: Tried to make the collisions better, just couldnt get it right, decided to take a couple days break, did mostly maths instead.
#100DaysOfCode #javascript
Days 20,21: Tried adding object collision to ragdolls, but they end up having weird never ending spasms upon colliding. i'll probably start using some library now, its become too cumbersome to do this shit from scratch.
#100DaysOfCode
Days 17,18: Did not do much this weekend, wasn't home most of the day
#100DaysOfCode #javascript
Days 15, 16: Somehow managed to lose last 4 days of work when trying to squash some commits together🤡Ended up learning about git reflog that saved my ass.
Anyways, check out the website👇
pragyay.github.io/Cloth-simu…
#100DaysOfCode
Days 13,14 : Number of columns, rows and spacing can be changed by the user. Also, points change color when being dragged. Just adding gimmicks at this point, need to start with something else🤧
#javascript
#100DaysOfCode
Day 12: Pin any unpinned point on the cloth and vice versa. Pretty much added everything I wanted to
#javascript
#100DaysOfCode
Day 11: Pinned points can be moved by dragging the cursor, also improved the pulling action, alot more consistent now.
#javascript
#100DaysOfCode
Day 9: Tried adding a drag effect, but does not look quite right
#javascript
#100DaysOfCode
Day 8: Added tearing when user drags their cursor over the cloth.
#javascript
#100DaysOfCode
Days 5,6: Object swinging from a fixed point, point can be unpinned/repinned on clicking.
#javascript
#100DaysOfCode #javascript
Day 4: Still can't make it work, values get converted into NaN after a few frames, will use a different approach next time.
#100DaysOfCode
Day 3: Mistakes were made, will try again tomorrow
#javascript