Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jimbo00000/kinderegg
Package your shadertoys into demo productions.
https://github.com/jimbo00000/kinderegg
demoscene glsl opengl shaders shadertoy
Last synced: 21 days ago
JSON representation
Package your shadertoys into demo productions.
- Host: GitHub
- URL: https://github.com/jimbo00000/kinderegg
- Owner: jimbo00000
- License: mit
- Created: 2015-03-07T02:41:18.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-03-25T00:39:58.000Z (over 9 years ago)
- Last Synced: 2024-07-29T17:52:40.934Z (4 months ago)
- Topics: demoscene, glsl, opengl, shaders, shadertoy
- Language: C++
- Size: 1.75 MB
- Stars: 8
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Kinderegg
Packages Shadertoys into desktop executables.
## Purpose
- For the lazy/wannabe demo coder who would like to submit something to their local demoparty without investing too much time in a proper framework and tools
- For taking advantage of [Shadertoy](https://www.shadertoy.com/)'s excellent browser-based shader IDE to create desktop apps## Usage
Pick out a favorite shadertoy and remember its 6-character id. Save your Shadertoy API key in the file **tools/apikey.txt**.
cd tools
python parse_shadertoy_json.pyThe script will:
- Create a directory under tools/ named for the given shadertoy id.
- Query Shadertoy.com for the given id's json data
- Write the shader's name, author and description to a README file in the directory
- Invoke CMake and Visual Studio to create an executable
- Copy the exe into the new directory
- Copy SDL2.dll in there as wellOnce finished, there should be a complete, running production in the new directory ready for submission.
## Working Examples
- [lssXWS]() Music - Harry Potter by iq
- [4dl3zn]() Bubbles by iq
- [4dfXWj]() Music - Mario by iq
- [XdfXWS]() Music - Pulsating by iq
- [lsfXDl]() Whitney wheel by lost4468
- [lts3zn]() Cardboard Waves by jimbo00000
- [4tfGRM]() Shulgins' Eye by jimbo00000## Features
- Image rendering
- Audio
- Textures(todo)## Shortcomings
Some features are not supported:- Cubemaps
- Video/audio textures
- Keyboard
- Mouse
- Playback pause/reset
- RecompilationThe exe size is rather large due to SDL dependency.
## Thanks
All glory to iq and Beautypi for the coolest shader IDE around. Tremendous thanks and respect to all shadertoy users, democoders, party organizers, Khronos contributors, driver engineers, hardware designers and graphics enthusiasts everywhere.