Buttons and Sliders Everywhere
The interface is the intersection space between your code and the user. Users rarely touch the code itself in an installation or performance. In fact, programmers hardly touch the code themselves once a tool has been built. Instead programmers and users alike pass through an intermediary, the Interface. Interfaces are so common to us, that we often forget they exist. We forget that they impose invisible limitations on how we can manipulate the digital world. We forget that they are the part of a program that we interact with most often, and have the deepest relationships with.
For this assignment, you’ll be practicing interface building. Specifically, you’ll be making your own reusable elements that you’ll implement in the next project. I’ll want to see that you can build a Button with a name (or colors) that change according to its activation state, a Horizontal Slider, a Vertical Slider, a 2D Slider, and a Float-Feedback Slider. It’s important that you make each one of these control elements, as I’ll want to see at least one of each in your next project. You’ll turn in a single .toe file with each of the following:
- A Button that:
- has at least two different text values whose display varies dependent on the state of the button.
- A Horizontal Slider that:
- has a label (DAT to Text TOP Method) for the background (sized to match the dimensions of the parent)
- is correctly scaled so as not to fall off the outside bounds of the container.
- A Vertical Slider that:
- has a label (DAT to Text TOP Method) for the background (sized to match the dimensions of the parent)
- is correctly scaled so as not to fall off the outside bounds of the container.
- A 2D Slider that:
- has a label (DAT to Text TOP Method) for the background (sized to match the dimensions of the parent)
- contains a square knob and cross hairs.
- contains an Out CHOP with two channels labeled: x and y
- A Float Feedback Slider that:
- has a horizontal slider with a label, and is scaled so as not to fall outside of the bounds of the container.
- the slider should contain an In DAT, a DAT to CHOP, an Override CHOP, and a CHOP Execute DAT.
- has a field COMP