Skip to content

🌊 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) 🀯

License

Notifications You must be signed in to change notification settings

eleev/spritekit-water-node

Repository files navigation

spritekit-water-node Awesome

Platform Language License

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 and 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

πŸ”– Licence

The project is availabe under MIT licence.

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published