nullartist / lite Goto Github PK
View Code? Open in Web Editor NEWThis project forked from jcsalem/lite
LED Performance Art Software. Multi-platform.
License: GNU General Public License v2.0
This project forked from jcsalem/lite
LED Performance Art Software. Multi-platform.
License: GNU General Public License v2.0
Lite A toolbox for addressable light art. *** HOW TO RUN *** + Setting the LDEV environment variable + Linux/Mac/MinGW: export LDEV='ck:172.24.22.51/1(72)' Windows Command Prompt: set LDEV=ck:172.24.22.51/1 + List of Commands + Use --help for help on any command. Ltool: The Multi-tool. Commands: set, all, rotate, rotwash, wash, bounce Lflash: Flashes the display Lsparkle: Sparkly lights Lstarry: Stars Lfirefly: Fireflies ckinfo: Reports information on ethernet-attached ColorKinetics fixtures via Kinet protocol. testmix: tests light mixing * Linux and Raspberry Pi Notes * 1) Install requirements sudo apt-get install ncurses-dev cmake 2) IF WINDOWING DESIRED: 2A) Install sfml 2.1 or later from the SFML web site. Copy files to /usr/local 2B) Install dependencies sudo apt-get install libglew1.5 sudo apt-get install libjpeg62 3)Build cd builddir # A subdirectory of this one cmake -G "Unix Makefiles" .. make * MacOS Notes * 0) Install homebrew 1) brew install cmake 2A) If desired, install SFML package according to instructions. If you're using Mavericks (10.9) or later, you need to download the libc++ version. 2B) In the SFML directory, run install.sh SFML files to /usr/local and to frameworks. Ignore the error about being unable to install the Xcode templates for SFML 3) cd lite; mkdir build 4) cd build 5) cmake --G "Unix Makefiles" .. * Windows MinGW Notes * 0) Install MinGW 1) Install SFML-2.1 directory at the same level as Lite. Pick the right version for your compiler. For CodeBlocks/Ming I picked the 32-bit version. 2) Run this inside a cmake -G "MinGW Makefiles" .. 3) Start a mingw32 shell and cd to the build directory 4) mingw32-make *** CMAKE INSTRUCTIONS *** ** Basic cmake instructions for all platforms ** cd litedir mkdir build cd build cmake -G "generator name" <options> .. * CMAKE Command Line Options * <options> can be -DNO_SFML=1 Set this to disable compiling/linking with SFML libraries -DCMAKE_BUILD_TYPE=Debug Enables Debug builds -DCMAKE_OSX_ARCHITECTURES=x86_64 Force 64 bit compile on MacOSX Note that options are sticky. ** cmake Options for Specific Platforms ** + Windows: CodeBlocks + Generator name: "CodeBlocks - MinGW Makefiles" Within CodeBlocks, open lite.cbp and compile + Windows: MinGW + [Generator name: "MinGW Makefiles"] Start MinGW shell cd buildir cmake -G "MinGW Makefiles" .. mingw32-make + Windows: Visual Studio + Generator name: "Visual Studio 12" or "Visual Studio 12 Win64" (Note that these builds don't include SFML which I found too complex to install.) Open lite.sln and compile + Linux or MacOS: Unix make + Generator name: "Unix Makefiles" make + Linux or MacOS: CodeBlocks + Generator name: "CodeBlocks - Unix Makefiles" Within CodeBlocks, open lite.cbp and compile ------------------------------------------------------------- * OBSOLETE: Mac Notes * Install SFML package according to instructions. Copy files to /usr/local and to frameworks Compiler Search paths: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/include /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/include/c++/4.2.1 /usr/local/lib Library Search path: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/lib I deleted this library search path as it didn't appear useful. It generated compiler warnings because those libraries weren't compiled with 64 bit x86 in mind. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/lib/gcc/i686-apple-darwin11/4.2.1 * OBSOLETE: Codeblocks Compilation Notes * There are two global variables that must be set every time: extralibs and fileext. CodeBlocks will prompt at the beginning of the session. Look up the appropriate value from the table below. If an entry is blank, enter a space instead. fileext extralibs sfmllibs Windows .exe -lws2_32 -L../../SFML-2.1/lib -lsfml-graphics-s -lsfml-window-s -lsfml-system-s Mac -lncurses -framework SFML -lsfml-graphics -lsfml-window -lsfml-system Linux -lrt -lncurses -lsfml-graphics -lsfml-window -lsfml-system RaspPi -lrt -lncurses
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.