Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (30 sloc) 1.13 KB
/**
* By using LX Studio, you agree to the terms of the LX Studio Software
* License and Distribution Agreement, available at: http://lx.studio/license
*
* Please note that the LX license is not open-source. The license
* allows for free, non-commercial use.
*
* HERON ARTS MAKES NO WARRANTY, EXPRESS, IMPLIED, STATUTORY, OR
* OTHERWISE, AND SPECIFICALLY DISCLAIMS ANY WARRANTY OF
* MERCHANTABILITY, NON-INFRINGEMENT, OR FITNESS FOR A PARTICULAR
* PURPOSE, WITH RESPECT TO THE SOFTWARE.
*/
void setup() {
size(1000, 1000, P3D);
LXStudio lx = new heronarts.lx.studio.LXStudio(this, new Model(), MULTITHREADED);
// This needs to be called early on, otherwise LX will look at the .lxproject
// file and open the last-used project file
Project.processArgs(lx, args);
}
void initialize(final heronarts.lx.studio.LXStudio lx, heronarts.lx.studio.LXStudio.UI ui) {
Project.registerComponents(lx);
}
void onUIReady(heronarts.lx.studio.LXStudio lx, heronarts.lx.studio.LXStudio.UI ui) {
// Add custom UI components here
}
void draw() {
// All is handled by LX Studio
}
// Configuration flags
final static boolean MULTITHREADED = true;
You can’t perform that action at this time.