DEV Community

Said Mounaim
Said Mounaim

Posted on

 

WebGL Fluid Simulation

the day 83 of challenge #100DaysOfCode

WebGL Fluid Simulation Using JavaScript

Demo : https://fluid-simulation.netlify.app/

Code : https://github.com/saidMounaim/100DaysOfCode/tree/main/Day83

Top comments (11)

Collapse
 
patrikbird profile image
PatrikBird • Edited
Collapse
 
jigani profile image
Gbenga Adeyi

this is amazing! i never knew you can do that with javascript.

Collapse
 
zippytyro profile image
Shashwat Verma

freaking awesome dude. Love it. Can you share resources to learn this??

Collapse
 
sudhirdontha profile image
Sudhir Dontha

Yes please?

Collapse
 
sirseanofloxley profile image
Sean Allin Newell

Dayum

Collapse
 
hrrarya profile image
Hridoy Mozumder

Awesome work.

Collapse
 
cklek profile image
Conrad Klek

So beautiful on mobile!

Collapse
 
aarone4 profile image
Aaron Reese

Put it into hi-res on my 5 year old mid-range phone and works perfectly

Collapse
 
sudhirdontha profile image
Sudhir Dontha

Amazing work!!

Collapse
 
zakiazfar profile image
Mohd Ahmad

How you did that awesome thing

typescript

11 Tips That Make You a Better Typescript Programmer

1 Think in {Set}

Type is an everyday concept to programmers, but it’s surprisingly difficult to define it succinctly. I find it helpful to use Set as a conceptual model instead.

#2 Understand declared type and narrowed type

One extremely powerful typescript feature is automatic type narrowing based on control flow. This means a variable has two types associated with it at any specific point of code location: a declaration type and a narrowed type.

#3 Use discriminated union instead of optional fields

...

Read the whole post now!