helloworld

Version, currently main branch1 version
  • main branchlatestNov 29, 2022

github.com/gummybears/shadertoy

No description declared in shard.yml.

0 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  helloworld:
    github: gummybears/shadertoy
    branch: main

main is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
1.3.1
License
MIT
Target
  • helloworld from src/helloworld.cr

Dependencies

Runtime Dependencies

  • gtk4*github: hugopl/gtk4.cr

README

ShaderToy

A Gtk4 demo application using the Gtk4 shard.

Compile time dependencies

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

Runtime dependencies

Just the GTK libraries are needed at runtime, i.e. not the gobject-introspection library and files.

Execution

Use the script build.sh to compile the project. To run the ShaderToy application, run ./shadertoy.out.

Note: OpenGL raymarching code not included.

Contributing

  1. Fork it (https://github.com/gummybears/shadertoy/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors