Skip to content

antoineMoPa/shadergif

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
app
 
 
bin
 
 
 
 
db
 
 
doc
 
 
lib
 
 
log
 
 
 
 
 
 
 
 
tmp
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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