The WebGL Fluid Simulator is a small application that allows the user to play with simulated fluids right in their browser, and works on both PCs and mobile devices. The visual effects follow proper fluid dynamics, and can be manipulated in real time by pointing and click, as well as several available options such as quality, density, and velocity. The app is written in JavaScript, and as the name suggests, visually renders its effects using WebGL. It was created by Github user PavelDoGreat based off another Github project: Fluids-2D, and is distributed under the MIT license. As of September 8th, 2019, WebGL Fluid Simulator is trending with 2,307 stars during the month, and 6,070 stars in total.
I was interested in investigating this project as it demonstrates the breadth of open source resources on Github. Users can find projects that range from complex systems and APIs, to small plug-ins and simple applications. Since the creator distributed the project under the MIT License, the Fluid Simulator project respects the knowledge-sharing model of open source softwares. If one wished, they can copy, utilize, alter, and re-distribute the source code of Fluid Simulator into their own works, provided that the licensing and disclaimer text is preserved. For example, one could investigate the Javascript files in the Fluid Simulator project to find the implementation for fluid physics, and use that in something of their own creation (such as a computer game engine).
It is in the spirit of open source to both give and take. Hopefully, those interested enough in PavelDoGreat's Fluid Simulator will contribute back to the project by helping to address some of the ongoing issues, of which there are currently 11 (for example, there is currently a bug that prevents multi-touch capabilities when Fluid Simulator is run in Firefox). Additionally, one may choose to "spin off" the project by forking the repository onto their own Github account, and taking the project in a whole new direction. Given the high amount of stars this project has received, perhaps in the future we may see some forks of Fluid Simulator taking on some fame of their own.
Resources:
Main interface of WebGL Fluid Simulator by Github user PavelDoGreat |
I was interested in investigating this project as it demonstrates the breadth of open source resources on Github. Users can find projects that range from complex systems and APIs, to small plug-ins and simple applications. Since the creator distributed the project under the MIT License, the Fluid Simulator project respects the knowledge-sharing model of open source softwares. If one wished, they can copy, utilize, alter, and re-distribute the source code of Fluid Simulator into their own works, provided that the licensing and disclaimer text is preserved. For example, one could investigate the Javascript files in the Fluid Simulator project to find the implementation for fluid physics, and use that in something of their own creation (such as a computer game engine).
It is in the spirit of open source to both give and take. Hopefully, those interested enough in PavelDoGreat's Fluid Simulator will contribute back to the project by helping to address some of the ongoing issues, of which there are currently 11 (for example, there is currently a bug that prevents multi-touch capabilities when Fluid Simulator is run in Firefox). Additionally, one may choose to "spin off" the project by forking the repository onto their own Github account, and taking the project in a whole new direction. Given the high amount of stars this project has received, perhaps in the future we may see some forks of Fluid Simulator taking on some fame of their own.
Resources: