A Gtk4 demo application using the Gtk4 shard.
You need the GTK libraries and their GObjectIntrospection files.
- Archlinux:
pacman -S gtk4 gobject-introspection
- Ubuntu:
apt-get install libgtk-4-1 gobject-introspection gir1.2-gtk-4.0
- macOS:
brew install gobject-introspection gtk4
Just the GTK libraries are needed at runtime, i.e. not the gobject-introspection
library and files.
Use the script build.sh
to compile the project. To run
the ShaderToy application, run ./shadertoy.out
.
Note: OpenGL raymarching code not included.
- Fork it (https://github.com/gummybears/shadertoy/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
- Wim Neimeijer - creator and maintainer