/The_Force

webGL live coding performance IDE

Primary LanguageJavaScriptMIT LicenseMIT

The Force

Life creates it, makes it grow. Its energy surrounds us and binds us. Luminous beings are we, not this crude matter. You must feel the Force around you; here, between you, me, the tree, the rock, everywhere, yes.

Force felt by Obi-Wan Codenobi for use in live-coding performances with The Wookie. Together they travel as The Rebel Scum.

API

In addition to the standard OpenGL Fragment Shader language, the following are added to the on screen code. See top of openGL.js for actual code.

Additionally helpful to know

  • backbuffer is a copy of the previous frame's frontbuffer
  • line in and microphone only work in Google Chrome
  • ctl key to hide/show overlay interface
  • 512 fft in row 0; waveform in row 1
  • keyboard data in row 0 of texture - not recently tested
  • open file is not totally safe; it's only checking for filename extension ".frag"
  • images save as .png

To Do

  • fix popup menu styling
  • sound cloud and/or pandora and/or other sound stream input
  • more color names
  • fill in more help window
  • DnD into text editor window
  • more 2D textures
  • video input
  • webcam
  • cubemap input

Sources

https://github.com/ajaxorg/ace

http://darsa.in/fpsmeter/ also https://github.com/darsain/fpsmeter

http://jquery.com

http://www.flaticon.com

https://github.com/eligrey/FileSaver.js

https://github.com/eligrey/canvas-toBlob.js

https://github.com/marmorkuchen-net/osc-js