My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
GettingStarted  
Basic concepts behind Livecoding
Featured
Updated Nov 11, 2009 by julienv...@gmail.com

Sketches

Sketches are folders in the data/sketches folder of the application. Each sketch has its own folder with .js file associated to it (though this is not mandatory)

Loading a sketch

'CTLR' + o will prompt a file chooser dialog box. Navigate to the data/sketches folder and choose a .js file to load.

Libraries

Librairies are javascript files that can be loaded inside a script at run-time. They are saved in the data/libraries folder of the application. They can be evaluated with the include command in the setup() function of the running script.

Example :

function setup(){
include("myLib.js");
//...
}

Settings

When Livecoding is launched it loads the file data/_settings.xml which contains basic configuration key/values. ( description here ).

Errors

Javascript errors are reported on the console. Whenever an error is thrown it stops Livecoding from running.


Sign in to add a comment
Powered by Google Project Hosting