Skip to content

AlephEleven/Terminal-Shaders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terminal Shaders

Text-based shaders library for the command-line, written in C. Heavily based on the Shadertoy library.

Table of Contents

Features

  • Library for handling 2d and 3d vectors based on cartesian coordinates
  • Over >25 functions for implementing shaders
  • Easy to create new features with example code
  • Customizable window screen and refresh rate

Examples

Original Shadertoy demo

alt text

Masterpiece

Reference.

alt text

Setup

Install render.c and shaders.c in same directory and run:

gcc render.c -o render -lm; ./render 

For best-use on complex shaders, use Raster Fonts 4x6, fullscreen, and set WINDOW_X and WINDOW_Y = 100 in shaders.c

Requirements

Requires standard C libraries for Linux

About

Shaders library for the command-line

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages