MCPcopy Create free account
hub / github.com/Atarity/Lightpack

github.com/Atarity/Lightpack @5.11.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 5.11.0 ↗ · + Follow
5,117 symbols 8,840 edges 898 files 1,598 documented · 31% updated 9y ago5.11.0 · 2014-05-14★ 230

Browse by type

Functions 4,331 Types & classes 786
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Lightpack project with Prismatik flavour

Table of content:

  [Short description] (https://github.com/Atarity/Lightpack#lightpack-project-with-prismatik-flavour)

  [Useful URLs] (https://github.com/Atarity/Lightpack#useful-urls)

  [Build Prismatik with Windows] (https://github.com/Atarity/Lightpack#prismatik-build-instructions-for-windows)

  [Build with Linux] (https://github.com/Atarity/Lightpack#build-instructions-for-linux)

  [Build with OS X] (https://github.com/Atarity/Lightpack#build-instructions-for-os-x)

  [Lightpack Firmware building] (https://github.com/Atarity/Lightpack#fimware-building-instructions)

Lightpack is an fully open-source and simple hardware implementation of the backlight for any computer. It's USB content-driving ambient lighting system.

Prismatik is an open-source software we buid to control Lightpack device. It grabs screen, analize picture, calculate resulting colors and provide soft and gentle lighting with Lightpack device. Moreother, you can handle another devices with Prismatik such as Adalight, Ardulight or even Alienware LightFX system.

Main features:
  • Fully open-source under GPLv3 (hardware, software, firmware)
  • Cross-platform GUI (Qt)
  • USB HID (no need to install any drivers)
  • The device is simple to build (just Do-It-Yourself)
Useful URLs:
  • [Project mothership] (http://code.google.com/p/lightpack/)
  • [Binary downloads] (http://code.google.com/p/lightpack/downloads/list)
  • Wiki with DIY and documentation [ENG] (http://code.google.com/p/light-pack/w/list) / [RUS] (http://code.google.com/p/lightpack/w/list)
  • [Post new issue] (http://code.google.com/p/lightpack/issues/list)
  • [Team] (http://code.google.com/p/lightpack/people/list)

Prismatik build instructions for Windows

Prerequisites:

  • Qt SDK
  • Microsoft DirectX SDK
  • POSIX shell utilities MSYS for example. Make sure PATH environment variable is set for the utilities (Run → sysdm.cpl → Advanced → Environment Variable → Edit PATH system variable (C:\MinGW\msys\1.0\bin; for example), path should points directly on the utilities so utilities are available without any subdirectories)

Build process:

  1. build Prismatik project

Build instructions for Linux

Prerequisites:

You will need the following packages, usually all of them are in distro's repository: * qt5-default * gtk2-engines-pixbuf * g++ * libusb-dev * libudev-dev * if you are using Ubuntu: libappindicator-dev

Build process:

  1. go to <repo>/Software
  2. run qmake -r && make
  3. Add a rule for UDEV. See comments from <repo>/Software/dist_linux/deb/etc/udev/rules.d/93-lightpack.rules for how to do it.
  4. Make sure <repo>/Software/qtserialport/libQt5SerialPort.so.5 is available for loading by Prismatik (place it in appropriate dir or use LD_LIBRARY_PATH variable)

Build instructions for OS X

Prerequisites:

  • Qt SDK (5.0+)
  • MacOSX 10.7.sdk
  • libUSB-1.0 from macports
Whole dependencies list for Prismatik 5.10.1:
  • QtCore.framework
  • QtGui.framework
  • QtNetwork.framework
  • QtOpenGL.framework
  • libsqlite3.0.dylib
  • libusb-1.0.0.dylib
  • libz.1.dylib

Build process:

  1. Download and unpack 5.0+ Qt SDK from www.qt-project.org
  2. Build Prismatik project

to run Prismatik please make sure PythonQt libs are available for load at runtime


Fimware build instructions

  1. Install [AVR GCC Toolchain] (http://avr-eclipse.sourceforge.net/wiki/index.php/The_AVR_GCC_Toolchain)
  2. Install dfu-programmer for firmware upload with $ sudo apt-get install dfu-programmer
  3. Install [Eclipse IDE] (http://www.eclipse.org/downloads/) for C/C++ Developers
  4. Install [AVR Eclipse Plugin] (http://avr-eclipse.sourceforge.net/wiki/index.php/Plugin_Download)
  5. Create new "Makefile project from existing code"
  6. Set "Existing Code Location" to "Lightpack/Firmware/"
  7. Set "Project Name" to "Lightpack"
  8. Choose AVR-GCC Toolchain and press "finish"
  9. Reboot device to bootloader and type $ cd Lightpack/Firmware/, then $ make dfu

Please let us know if you find mistakes, bugs or errors.

Post new issue : http://code.google.com/p/lightpack/issues/list

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 2,752
Function 1,579
Class 549
Enum 208
Interface 29

Languages

C++51%
C#33%
C9%
Python5%
Ruby1%
Java1%

Modules by API surface

Software/apiexamples/liOSC/OSC.py146 symbols
Software/src/Settings.cpp126 symbols
Software/src/SettingsWindow.cpp112 symbols
Software/qtserialport/src/serialport/qserialport_win.cpp60 symbols
Software/apiexamples/C#/VolumeLight/NAudio/Wave/WaveOutputs/DirectSoundOut.cs56 symbols
Software/src/hidapi/mac/hid.c54 symbols
Software/qtserialport/src/serialport/qserialport_unix.cpp52 symbols
Software/src/LightpackPluginInterface.cpp50 symbols
Firmware/LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h50 symbols
Firmware/LUFA/Drivers/USB/Core/AVR8/Pipe_AVR8.h50 symbols
Software/apiexamples/C#/VolumeLight/NAudio/Midi/MidiInterop.cs47 symbols
Software/qtserialport/src/serialport/qserialport.cpp46 symbols

For agents

$ claude mcp add Lightpack \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page