Water
Simple calculation to render cheap water effects.
Install / Use
/learn @KrisYu/WaterREADME
Water
Simple calculation to render cheap water effects.
This simple project demonstrates :
- how to use Metal draw compute shader, or known as 'kernal function'.
- share code between iOS/OSX, both targets are built in the same project.
Demo - Mac

Demo - iPhone

Build and Run
Choose to run OSX or iOS version.
Notice: iOS simulator doesnot support Metal framework, you have to run it on a real A7 iPhone.

Thanks
This is an experiment with Apple Swift/Metal shading language. Bascially I just port this WebGL shadertoy to Metal.
- Special thanks to Victor Korsun for letting me use his shader code
- http://metalkit.org for all the nice tutorials
Related Skills
node-connect
337.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
337.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.2kCommit, push, and open a PR
