Meta Tags

Inside your <head> tag, <meta> tags provide info on title and publisher and enable us to receive user input. There are six user-customizable controls: number sliders, hue sliders, boolean switches, color pickers, text fields, and combo boxes. Each control requires four core attributes, plus control-specific attributes.

Core AttributeDescription
propertyDefines the variable name to be used in your code
labelThe text label shown to users for the control interface
typeSpecifies the data type: number, hue, boolean, or color
defaultSets the initial value used by the control
tooltip*(*Optional) Displays a short description when the user hovers over the control

Number Slider

A number slider enables the user to pick a whole number within a specific range. It’s commonly used to adjust parameters such as how fast an animation runs, how many shapes appear on the screen, or how frequently an effect is triggered.

HTML
Copy

It looks like this in practice:

The number slider needs two extra attributes to work properly:

AttributeDescription
minSets the lowest value the user can choose.
maxSets the highest value the user can choose.

Hue Slider

A hue slider lets the user select a color hue using the HSL (Hue, Saturation, Lightness) color model. It's typically used for basic color adjustments or choosing a base color for effects and elements.

HTML
Copy

Visually, it looks like this:

To function correctly, the hue slider requires two additional attributes:

AttributeDescription
minDefines the lowest hue value the user can select. The minimum possible value is 0
maxDefines the highest hue value available. The maximum possible value is 360

Boolean

A boolean switch lets the user toggle between two states: "on" and "off". Its values are restricted to either 0 (off) or 1 (on). Unlike other controls, booleans rely solely on default attributes and don't require any additional configuration.

HTML
Copy

They are commonly used to enable or disable specific features, switch between modes (like vertical and horizontal), control visibility and behavior toggles in an interface, or trigger replay of effects.

Here's an example of how it shows up:

Color Picker

A color picker enables the user to select a color by adjusting its hue, saturation, and lightness components within the standard HSL color model. It is the most common and standard tool used for choosing colors, whether for backgrounds or on-screen elements.

HTML
Copy

Visually, it looks like this:

The default value for the color picker must be specified in hexadecimal format. Additionally, it requires two extra attributes:

AttributeDescription
minThe minimum selectable value, lowest possible value is 0.
maxThe maximum selectable value, highest possible value is 360.

Text Field

A text field, or text input box, allows the user to enter a string of characters. The input updates every time a character is added or removed from the field.

HTML
Copy

This is what it looks like:

AttributeDescription
defaultcan contain no characters

List

A list lets the user select one option from a predefined list of values. For example, the user can switch between different character choices or effects to pick their preferred option.

HTML
Copy

It looks like this in practice:

The values attribute defines all available choices, while the default attribute specifies which option is selected initially.

AttributeDescription
valuesA comma-separated list of possible string options
defaultSets the default selected option. If this value is not included in the values list, the combo box will show no default selection and may cause problems.

For more info on gathering raw data from your application, check out our Smart Tags page!

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard