https://github.com/eleev/spritekit-water-node
🌊 Custom SpriteKit node that allows to simulate 2D water with respect to physics. The app demonstrates Flocking behaviour using GameplayKit, key-frame animation and custom fragment shader chaining (GLSL) 🤯
https://github.com/eleev/spritekit-water-node
2d-graphics gameplaykit glsl ios shader-effect spritekit swift water-simulation
Last synced: 5 months ago
JSON representation
🌊 Custom SpriteKit node that allows to simulate 2D water with respect to physics. The app demonstrates Flocking behaviour using GameplayKit, key-frame animation and custom fragment shader chaining (GLSL) 🤯
- Host: GitHub
- URL: https://github.com/eleev/spritekit-water-node
- Owner: eleev
- License: mit
- Created: 2018-03-24T10:59:54.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-07-04T16:41:15.000Z (over 4 years ago)
- Last Synced: 2025-04-01T00:51:09.019Z (6 months ago)
- Topics: 2d-graphics, gameplaykit, glsl, ios, shader-effect, spritekit, swift, water-simulation
- Language: Swift
- Homepage:
- Size: 1.19 MB
- Stars: 111
- Watchers: 4
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# spritekit-water-node [](https://github.com/sindresorhus/awesome)
[]()
[]()
[]()**Last Update: 04/July/2021.**
### If you like the project, please give it a star ⭐ It will show the creator your appreciation and help others to discover the repo.
# ✍️ About
Custom `SpriteKit` node that allows to simulate 2D water with respect to physics 🌊 The app demonstrates `Flocking` behaviour using `GameplayKit`, `key-frame animation` and custom `fragment shader chaining` (`GLSL`) 🤯. Feel free to play around and hopefully get some inspiration!# ⚠️ Caution
- Please note that you have to be very careful if you are going to use the repo in commercial projects - **do not use** graphics assets. The assets were taken from [Kenny](https://kenney.nl) and [icons8.com](https://icons8.com) and are free to use. However **I strongly recommend to double check it**.
- The code is not perfect - there are `magic` numbers such as `zPosition` of nodes and several pieces can be better organized.# 📺 Demo
Please wait while the `.gif` file is loading...
# 👨💻 Author
[Astemir Eleev](https://github.com/jVirus)# 🔖 Licence
The project is availabe under [MIT licence](https://github.com/jVirus/spritekit-water-node-ios-app/blob/master/LICENSE).