Neal Agarwal@nealagarwal·May 17, 2021A rain effect that actually *interacts* with the page - now with WebGL!GIF522396
Neal Agarwal@nealagarwalAnd since it's all done on the GPU, it can handle up to a million particles 🚿GIF3:25 PM · May 17, 2021·Twitter Web App3 Retweets95 Likes
ilker YUKSEK@i_yuxek·May 17, 2021Replying to @nealagarwalvery impressive ... how you did it? with a physics engine or calculated trajectories and then loop it.1
Neal Agarwal@nealagarwal·May 17, 2021Replying to @i_yuxekit uses a WebGL 2.0 feature that allows shaders to feedback data. here's a good article on the process https://gpfault.net/posts/webgl2-particles.txt.html…12
Neal Agarwal@nealagarwal·May 17, 2021Replying to @matthew_danielsyes! this is actually two shaders, one to calculate new point positions and another to draw them1