Skip to content

Commit

Permalink
Prep for pushing to github
Browse files Browse the repository at this point in the history
  • Loading branch information
jorticus committed Jun 26, 2014
1 parent f59ec38 commit 69fb6d5
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 1 deletion.
2 changes: 1 addition & 1 deletion App.xaml
@@ -1,7 +1,7 @@
<Application x:Class="HexLight.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
StartupUri="ControlWindow.xaml" Startup="Application_Startup" Exit="Application_Exit">
StartupUri="PopupDial.xaml" Startup="Application_Startup" Exit="Application_Exit">
<Application.Resources>

</Application.Resources>
Expand Down
21 changes: 21 additions & 0 deletions LICENSE
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2014 Jared Sanson

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
34 changes: 34 additions & 0 deletions README.md
@@ -0,0 +1,34 @@
# HexLight GUI

Language: C# WPF (Windows Presentation Foundation)

An RGB LED controller, supporting advanced colour models.
Compatible with Arduino-based RGB controllers (simple 4-byte serial packet format)
and my custom HexLight hardware project (details not released yet! still working on it..)

The application sits in your Windows system tray, allowing you to rapidly change the LED colour
to suit your mood, whenever you want to:

![PopupScrenshot](https://raw.githubusercontent.com/jorticus/hexlight-gui/master/screenshots/PopupDial2.png "PopupScreenshot")

**THIS PROJECT IS A WORK IN PROGRESS**

But feel free to use it in your own projects!

It probably won't work out-of-the-box for you. So read the source code to figure out how to interface
it to your hardware of choice. I've made the hardware control fairly abstract, so it should be
simple to add your own controllers

Also experimenting with advanced colour models such as CIE XYZ, CIE xyY, Blackbody Temperature, etc.
Do NOT assume my advanced colour model code works correctly! It doesn't, and I'm working on it.

If you spot any math errors, let me know!

# Features

- Easy to interface to arduinos through serial or a TCP socket (eg. TCP to serial bridge on a server).
- Support for a custom 4-channel RGB controller based on a PIC32, through serial or RS485.
- CIE1931 luminance correction! Maps linear RGB values to logarithmic human vision. Note: Gamma is the wrong thing to use for this!
- CIE XYZ/xyY models for device-independant colour control. Work in progress!
- Custom C# WPF colour-picker controls

Binary file added screenshots/PopupDial2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 69fb6d5

Please sign in to comment.