-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds phloston.py, a version of the evacuation floor lights from The Fifth Element #2
Open
jpwarren
wants to merge
53
commits into
moorescloud:master
Choose a base branch
from
jpwarren:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jpwarren
commented
Aug 14, 2013
- Lights one globe at a time until all are lit, then repeats.
- Added set_pattern() to holiday.py, to set all globes at once by passing in a pattern.
lit, and then repeats, like the floor evac lights in Phloston Paradise from the movie The Fifth Element. * Added set_pattern() to holiday.py, to set all globes at once by passing in a pattern.
* Added a simple chaser demo animation
Added another demo animation, this one is a simple chaser. Not sure what the intent is for holiday.py chase() or rotate(), so I haven't updated them. Could move some of this code into holiday.py if appropriate. |
* Added holibeats.py, a graphical audio frequency analyser that uses Holidays as frequency band displays like on a graphic equialiser. * Added holiscreen.py, a simple image to Holiday array converter that can also handled animated GIFs (in a simplistic way) * Updated phloston.py to support multiple Holidays using WebAPI or UDP API.
or horizontal. * Added option to fix spacing between strings. * Strings are now labelled with their number, to aid in debugging client code.
* Added 'switchback' mode to simulator, to simulate looping a Holiday string back on itself in a zigzag/switchback pattern.
dominate the display over the globes. * Updated holiscreen to support switchback mode.
* Added an led_scroller example, to display arbitrary text in a configurable font face, size, and colour as a scrolling LED style display to an array of Holidays.
* Turned on the animation switch in led_scroller, so you can turn scrolling on and off.
enough Holidays to display the number of lines your data needs. * led_scroller trims off blank lines above text so you don't waste Holidays by sending them black lines above (or below) the text.
…ler.py and holiscreen.py. * holiscreen orientation works now for both vertical and horizontal when using switchback.
* Updated holibeats to support IP address of remote Holiday * Updated holibeats to support switchback mode
per holiscreen.py * Added ability to turn off autoranging display if you want. * Added re-balancing of autoranging so if you play something loud, then quiet, the max value will slide downwards and the display will still be interesting.
from baseline color for tighter control over colour drift etc. for more gentle twinkling.
…ile. * Added chase mode, both forwards and backwards to twinkle.py
more natural than random HSV changes. * Updated base Holiday to use tuples internally instead of lists, because platonic colours are immutable. Lists had side-effects of when using shallow copies via slice notation [:]. Simplifies the code, too.
for greater or lesser 'twinkling'.
* Added ability to define colors on the commandline * Added ability to reverse direction of the animation * Added ability to control speed with -a flag, same as other examples * Added Virtual Holiday class to abstract the switchback methods somewhat * Added ability to define the 'gap' between switchbacks * Added ability to disable reversing direction of switchbacks
inheritance to make it easier to use and maintain.
* Fixed broken references to API in phloston * phlostonapp is working on real hardware!
…erns. * Updated base API with chase() and rotate() implementations. * Minor tweaks to phloston and twinkle.py
up and down in brightness for either a pattern or a single colour. Configurable duration and smoothness via --anim_sleep and --throb-speed
doesn't chew CPU.
* Dual display in holivid provides a monitor of the live video feed. * simgame now supports turning off TCP or UDP listeners
…ction of vertically hung Holidays (base at bottom). * Updated holiscreen to support 'flipped' mode. * Updated holivid to support 'flipped' mode.
visually interesting set of buckets.
when autoscaling the frequency buckets. * Removed the now redundant --quietseconds option for holibeats.
Made the addr:port parsing more robust.
* Fixed ranging of simplex twinkle to be relative to the original colour, not half the int of the (r,g,b) form of the colour.
buttonapp output, as it would look on a physical Holiday.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.