Skip to content

ShaderGif is a free and open source home for art made with code

License

Notifications You must be signed in to change notification settings

antoineMoPa/shadergif

Repository files navigation

License: GPL v3 CircleCI

ShaderGif

ShaderGif is a platform for art made with code.

You can make gifs with shaders (glsl) and Javascript (either with raw canvas or with the coder-friendly p5.js library).

screenshot

Dev setup

Docker is the easiest way to get shadergif up and running (It avoids having to manually setup a database, install ruby, python, ffmpeg, etc.)

Run:

git clone https://github.com/antoineMoPa/shadergif.git
cd shadergif
docker pull antoinemopa/shadergif-dev
docker run -p 3000:3000 -v $(pwd):/shadergif -it antoinemopa/shadergif-dev

Then, inside the container:

rails s

Then beware, the code is ugly.

Mission

  • Create the shortest path from code to art
  • Stay Free (as in freedom) and Open Source (FOSS)
  • Make nice gifs

Features

  • Upload textures (For Shaders)
  • Download frames as a .png zip folder (To make gifs with your favorite software)
  • Write and receive comments
  • Gif previews - (Easy on visitor GPU, when compared to ShaderToy)

Supported browsers

Currently, Firefox and Chrome (including chromium) are supported.

Licence

Shadergif is licenced under the terms of the GNU General Public License v3.0 or later. See LICENCE.txt for the full licence.

Running ESLint

Running eslint is recommended before pull requests.

In the root shadergif folder:

npm install
npm run lint-fix

Testing

In the root folder:

rake test

Documentation

Visit: doc.shadergif.com