An open API service indexing awesome lists of open source software.

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) 🤯

Awesome Lists containing this project

README

          

# spritekit-water-node [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)

[![Platform](https://img.shields.io/badge/platform-iOS-yellow.svg)]()
[![Language](https://img.shields.io/badge/language-Swift_5.4-orange.svg)]()
[![License](https://img.shields.io/badge/license-MIT-blue.svg)]()

**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).