Comments (8)
Cool - on my TODO list to make this generic. Coming soon...
Feel free to just hijack that code in the meantime if you like.
from lx.
Hey Dan - just want to make sure I understand what you're asking about here. Which thing are you referring to as the handy widget? Do you just mean the ColorParameter helper itself, or are you referring to one of the existing color-selection UIs?
Shoot me a screen-shot perhaps of which bit you're talking about?
from lx.
I'm referring to the ColorParameter helper class itself. Here is a screenshot with a box drawn around the 3 knobs for my ColorParameter:
- It would be cool to add a box like I did so the grouping of them is more intuitive.
- It would also be cool to have something indicating the currently selected color.
It could also be cool to have this involve a color picker, but maintain support for modulation...
from lx.
Gotcha. I made something for this once, but I should really make it more generic. There's a custom color picker UI for the SolidPattern class in P3LX.
https://github.com/heronarts/P3LX/blob/master/src/main/java/heronarts/p3lx/pattern/SolidPattern.java
This could probably be more dense, it's kind of a big UI. I could def make this this into a single reusable component though. Would that work for you?
from lx.
Nice! that looks good. My particular pattern has multiple colors and I'd like to oscillate their values independently.
from lx.
Upvote to make this generic and easy to use. I frequently have 1-2 HSB colors as pattern parameters so would use this often. Thanks!
from lx.
I'm resurfacing after a long break from LX etc. Is this still outstanding? If so I may take a stab at building it.
from lx.
Hey Dan! There is a UIColorPicker helper for this now:
https://github.com/heronarts/P3LX/blob/dev/src/main/java/heronarts/p3lx/ui/component/UIColorPicker.java
Might not be exactly what you're looking for, but renders a color box which you can click on for a context menu with more detailed color section controls (which should be midi/modulation-mappable).
from lx.
Related Issues (15)
- Request for access to LXAudioOutput.mediaPath and/or playing audio via an InputStream HOT 6
- Request: Convert build to Maven or Gradle HOT 3
- Delete Channel undo selection state HOT 1
- APC40 out of sync on channel add/delete HOT 1
- Tempo bug with OSC clocksource HOT 4
- LXMasterBus has an empty model, breaking effects on the master bus HOT 3
- tempoLocked Click will never .click() HOT 1
- Colloquial way to link LX build w/ LXStudio HOT 11
- Setting OSC address for parameters? HOT 4
- Preferred way to build a model programmatically these days? HOT 4
- LXChannel.transitionTimeSecs has lowest level of 100ms HOT 1
- Storing more than 5 clips in a channel? HOT 3
- How to wait until mixer setup is complete? (LXMixer & LXChannels) HOT 1
- DDP packet size HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lx.