https://github.com/jimmckeeth/skiasimpleshaderviewer
A simple Skia Shader Language (SkSL) viewer written in Delphi with Skia4Delphi.
https://github.com/jimmckeeth/skiasimpleshaderviewer
Last synced: 3 months ago
JSON representation
A simple Skia Shader Language (SkSL) viewer written in Delphi with Skia4Delphi.
- Host: GitHub
- URL: https://github.com/jimmckeeth/skiasimpleshaderviewer
- Owner: jimmckeeth
- License: mit
- Created: 2022-04-26T23:40:12.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-17T14:32:54.000Z (12 months ago)
- Last Synced: 2024-12-30T06:22:21.724Z (5 months ago)
- Language: Pascal
- Homepage:
- Size: 23.6 MB
- Stars: 57
- Watchers: 10
- Forks: 15
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SkiaSimpleShaderViewer
A simple [Skia Shader Language (SkSL)](https://skia.org/docs/user/sksl/) viewer written in Delphi using [Skia4Delphi](https://github.com/skia4delphi/skia4delphi).
This is a FireMonkey application, so should work on any platform (Windows, MacOS, iOS, Android, and Linux).
Tested on Windows, macOS Arm, macOS x86, and Linux.Includes a selection of [Shaders](/shaders/) adapted from [ShaderToy](https://www.shadertoy.com/) by
[translating from GLSL to SkSL](SkSL-Overview.md), crediting the original sources. Found in the `/shaders/` folder.Keyboard shortcuts: `Space` for pause, `Left` & `Right` to cycle, `R` Randomize shader;
Toggles: `?` Help, `F` FPS, `L` Logo, `M` Mouse[Overview video](https://youtu.be/ZRVpfN70BF8)
[](https://youtu.be/ZRVpfN70BF8)
Check out the [screenshots](screenshots/readme.md) to preview some different shaders.

Built with [Delphi 12 Athens](https://www.embarcadero.com/products/delphi) and [Skia4Delphi](https://github.com/skia4delphi/skia4delphi)