Skip to content

trmaa/CLI-shader-toy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLI Shader toy

It's a C program. Change the shader function and recompile to see the results.

Just gcc main.c -lm to compile, and run in the terminal by ./a.out.

The shader comes with an index for the pixel (i, j), its uv coords, the time...

this is the default shader

If it looks other than a circle, its the font size: try to see it smaller...

##########8888OOOO////||||??????++++++::::::::::::....................::::::::::::++++++??????||||////OOOO8888########## ########88OOOO////||||??????++++++::::::::....................................::::::::++++++??????||||////OOOO88######## ######8888OO////||||??????++++++::::::::................ ................::::::::++++++??????||||////OO8888###### ####8888OOOO//||||??????++++++::::::.............. ..............::::::++++++??????||||//OOOO8888#### ####88OOOO////||||????++++++::::::::.......... ..........::::::::++++++????||||////OOOO88#### ##8888OO////||||????++++++::::::::.......... ..........::::::::++++++????||||////OO8888## ##88OOOO//||||??????++++::::::::.......... ################ ..........::::::::++++??????||||//OOOO88## 88OOOO////||||????++++++::::::.......... ######################## ..........::::::++++++????||||////OOOO88 88OOOO//||||??????++++::::::.......... ########## ########## ..........::::::++++??????||||//OOOO88 OOOO////||||????++++++::::::........ ###### ###### ........::::::++++++????||||////OOOO OOOO//||||??????++++::::::.......... ###### ###### ..........::::::++++??????||||//OOOO OO////||||????++++++::::::........ #### #### ........::::::++++++????||||////OO OO//||||??????++++::::::::........ ###### ###### ........::::::::++++??????||||//OO ////||||????++++++::::::.......... ###### ###### ..........::::::++++++????||||//// ////||||????++++++::::::.......... ###### ###### ..........::::::++++++????||||//// OO//||||??????++++::::::::........ ###### ###### ........::::::::++++??????||||//OO OO////||||????++++++::::::........ #### #### ........::::::++++++????||||////OO OOOO//||||??????++++::::::.......... ###### ###### ..........::::::++++??????||||//OOOO OOOO////||||????++++++::::::........ ###### ###### ........::::::++++++????||||////OOOO 88OOOO//||||??????++++::::::.......... ########## ########## ..........::::::++++??????||||//OOOO88 88OOOO////||||????++++++::::::.......... ######################## ..........::::::++++++????||||////OOOO88 ##88OOOO//||||??????++++::::::::.......... ################ ..........::::::::++++??????||||//OOOO88## ##8888OO////||||????++++++::::::::.......... ..........::::::::++++++????||||////OO8888## ####88OOOO////||||????++++++::::::::.......... ..........::::::::++++++????||||////OOOO88#### ####8888OOOO//||||??????++++++::::::.............. ..............::::::++++++??????||||//OOOO8888#### ######8888OO////||||??????++++++::::::::................ ................::::::::++++++??????||||////OO8888###### ########88OOOO////||||??????++++++::::::::....................................::::::::++++++??????||||////OOOO88######## ##########88OOOO////||||??????++++++::::::::::............................::::::::::++++++??????||||////OOOO88########## ##########8888OOOO////||||??????++++++::::::::::::....................::::::::::::++++++??????||||////OOOO8888##########

About

A toy to make ascii shaders.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages