In the previous section we’ve seen how to create simple scripts to do things to fonts and glyphs. These scripts had no user interface – if we wanted to change a setting or a value, we would have to modify them directly in the code.
An interface is useful when a tool is used very often, or when you are building tools for others. Rather than changing settings and values directly in the code, we can offer the user a window with visual controls: for example checkboxes for selecting options, input fields or sliders to adjust values, button to apply actions, etc.
- Introduction to vanilla
- Creating a window with action buttons
- Moving a glyph using sliders
- Simple font library browser
- Simple sheet example