Skip to content
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

Ideas v2 #15

Open
automat opened this issue Apr 12, 2016 · 5 comments
Open

Ideas v2 #15

automat opened this issue Apr 12, 2016 · 5 comments
Assignees

Comments

@automat
Copy link
Owner

automat commented Apr 12, 2016

Hi,

I´m currently working on v2 (see here).
Main-focus for the new version is to support multiple render-targets including dom, canvas and webgl , mostly for environments with no access to the dom.

Another goal is to streamline styling in the new version, as there is too much css-uglyness happening right now. The new styling system will build be build on top of flexbox, also to support non-dom render-targets. External styling for those targets will be based on facebooks flexbox-implementation.

Enhancing object bindings and object change callback api is another big thing.

As there have been some discussions for changes/additions I want this place to be used for suggesting enhancements for v2. Valid/good suggestions will be move to separate issues.

Thanks

@2bbb
Copy link
Contributor

2bbb commented Apr 12, 2016

hi.

i want features to use this library as more dynamically.
maybe now components don't have methods that set value from code, after initialize.
but, for example, i want to change when get data from other computer or network.

if it is possible, can't we merge StringInput & StringOutput? (and NumberInput & NumberOutput)
for example, we set option {interactive: true} then it behaves as input, and {interactive: false} then only output.

thanks. 👍

@automat
Copy link
Owner Author

automat commented Apr 12, 2016

@2bbb
moved 2nd suggestion to #16, can you you provide an example for your first one, you want to be able to set values via controlkit in js (versus setting values directly and updating controlkit ?)

@2bbb
Copy link
Contributor

2bbb commented Apr 12, 2016

@automat
ah, sorry. It was less than words.

first one is related to 2nd.
i want to change the value that is binded to NumberInput after initialize.

for example:

function broadcast(value) { /* do something*/ } // send value to other computers or devices like osc, midi, etc.
receiver = new Receiver(); // receive value from other computers or devices.

var obj = {value: v};
controlKit
  .addPanel()
  .addNumberInput(obj, 'value', {
    onChange: function() { broadcast(obj.value); }
  });

receiver.on('data', function(value) {
  obj.value = value;
  contolKit.update(); // <- but NumberInput doesn't change.
});

i think this is useful to sync parameter in complex systems.

thanks.

@msj121
Copy link

msj121 commented Jul 29, 2016

When typing into a NumberInput you can't type a full number. Typing: 19, results in a "1", and then a "9" as the final value.

Click on a NumberInput and drag the mouse to affect the value.

The ability to have multiple inputs on one line to condense the space (perhaps have a more compact modifier to minimize space if there are lots of options).

More fluid position, allow setting position from bottom left for example.

@LeanderG
Copy link

Hi,

I have a suggestion for an additional component. It would be great to have a range slider. Here is a picture of what I'm talking about:
yg3xd

Some more suggestions for the documentation:

  1. Include a link to a live demo. I know there is an examples folder, but not having to clone the repo in order to try it out would be much easier.
  2. It's hard to tell when the documentation for a specific component ends and when the next one starts. Maybe put a heading with the components name above each part.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants