skomp / Bonzomatic

Tool for the Live Coding Compo debuted at Revision 2014

Home Page:http://www.pouet.net/topic.php?which=9881

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bonzomatic

What's this?

This is a live-coding tool, where you can write a 2D fragment/pixel shader while it is running in the background.

Screenshot

The tool was originally conceived and implemented after the Revision 2014 demoscene party's live coding competition where two contestants improv-code an effect in 25 minutes head-to-head: https://www.youtube.com/watch?v=-5P9rRUXaR0

Keys

  • F5: recompile shader
  • F11: hide shader overlay
  • Alt-F4: exbobolate your planet

Configuration

Create a config.json with e.g. the following contents: (all fields are optional)

{
  "font":{
    "file":"Input-Regular_(InputMono-Medium).ttf",
    "size":16,
  },
  "textures":{ /* the keys below will become the shader variable names */
    "texChecker":"textures/checker.png",
    "texNoise":"textures/noise.png",
    "texTex1":"textures/tex1.jpg",
  },
  "gui":{
    "outputHeight": 200,
    "opacity": 192, // 255 means the editor occludes the effect completely, 0 means the editor is fully transparent
    "texturePreviewWidth": 64,
    "spacesForTabs": false,
    "tabSize": 8,
    "visibleWhitespace": true,
  },
  "midi":{ /* the keys below will become the shader variable names, the values are the CC numbers */
    "fMidiKnob": 16, /* e.g. this would be CC#16, i.e. by default the leftmost knob on a nanoKONTROL 2 */
  }
}

Building

Please use Visual C++ 2010 - nothing else is needed right now.

Future features / todo / etc.

  • Option for tab sizes / spaces

Credits and acknowledgements

Original / parent project authors

Libraries and other included software

These software are available under their respective licenses.

The remainder of this project code was (mostly, I guess) written by Gargaj / Conspiracy and is public domain.

Contact / discussion forum

If you have anything to say, do it at http://www.pouet.net/topic.php?which=9881

About

Tool for the Live Coding Compo debuted at Revision 2014

http://www.pouet.net/topic.php?which=9881

License:Other


Languages

Language:C++ 94.4%Language:Makefile 4.8%Language:C 0.8%