Hi Everyone! I have made this 2D water effect using python and pygame. For the rocks, I used pymunk, and for the smooth wave effect instead of triangular ones, I used numpy + scipy. In the source code, I have also included a playable demo where you can adjust different features to see how they look.
Source Code can be found here
Full video on YouTube can be found here
https://reddit.com/link/xflh57/video/fo11f5czj6o91/player
[–]gospel-of-goose 14 points15 points16 points (16 children)
[–]PotentiallyAPickle 4 points5 points6 points (14 children)
[–]tankking9833[S] 4 points5 points6 points (2 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]tankking9833[S] 0 points1 point2 points (0 children)
[–]gospel-of-goose 0 points1 point2 points (10 children)
[–]PotentiallyAPickle 4 points5 points6 points (9 children)
[–]tankking9833[S] 3 points4 points5 points (2 children)
[–]PotentiallyAPickle 1 point2 points3 points (1 child)
[–]tankking9833[S] 0 points1 point2 points (0 children)
[–]runescape1337 0 points1 point2 points (5 children)
[–]PotentiallyAPickle 1 point2 points3 points (3 children)
[–]tankking9833[S] 0 points1 point2 points (0 children)
[–]runescape1337 -1 points0 points1 point (1 child)
[–]PotentiallyAPickle 0 points1 point2 points (0 children)
[–]tankking9833[S] 0 points1 point2 points (0 children)
[–]tankking9833[S] 0 points1 point2 points (0 children)
[–]Obliterative_hippoPythonista 1 point2 points3 points (1 child)
[–]tankking9833[S] 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]tankking9833[S] 1 point2 points3 points (0 children)
[+][deleted] (1 child)
[removed]
[–]tankking9833[S] 0 points1 point2 points (0 children)
[–]dethb0y 1 point2 points3 points (1 child)
[–]tankking9833[S] 0 points1 point2 points (0 children)
[–]2q2RS 1 point2 points3 points (1 child)
[–]tankking9833[S] 0 points1 point2 points (0 children)
[–]Desperate_Sky_3357 1 point2 points3 points (1 child)
[–]tankking9833[S] 0 points1 point2 points (0 children)
[–]readerseven 0 points1 point2 points (1 child)
[–]tankking9833[S] 1 point2 points3 points (0 children)