Skip to content

A shader experimentation environment. Quickly generate cool interactive patterns using frag shaders.

Notifications You must be signed in to change notification settings

connor-brooks/fragframe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VERY EARLY DEVELOPMENT

fragFrame 0.01

A quick way to experiment with frag shaders

fragFrame is a quick way to create interesting patterns with frag shaders. It is currently in very early stages of development.

screenshot

Requirements

  • GNU/Linux
  • make
  • gcc
  • libglfw3
  • libglfw3-dev
  • libglew2.0
  • libglew-dev
  • entr

How to use

Install dependencies

sudo apt-get install libglfw3 libglfw3-dev libglew2.0 libglew-dev entr

Make fragframe

make

Run fragframe

./fragframe_run.sh

Edit shader.frag and your frame will automatically update once you save

Uniforms

A number of useful uniform variables are provided in fragframe, these are as follows:

  • u_time (float) - The amount of time in seconds the shader has been running for
  • u_mouse (vec2) - The x and y position of the cursor
  • u_resolution (vec2) - The resolution of the frame window

Notes

  • If you are using vim and want syntax highlighting, add the following to your vimrc:

au BufReadPost *.frag set syntax=c

  • Currently only GLSL version 130 is supported

  • A green screen indicates a bad shader

About

A shader experimentation environment. Quickly generate cool interactive patterns using frag shaders.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published