Number Range

This function block allows users to define a range of numbers using adjustable sliders. It takes minimum and maximum values as inputs and provides a dynamic range adjustment interface.

πŸ“₯ Inputs

Minimum Value to set the lower bound of the range.

Maximum Value to set the upper bound of the range.

πŸ“€ Outputs

Range Provides the currently selected range defined by the sliders.

πŸ•ΉοΈ Controls

Min - Max A visual label that shows the current minimum and maximum values selected by the sliders.

Slider A horizontal range slider that allows you to select a range between the defined minimum and maximum values.

🎨 Features

Dynamic Range Adjustment Users can easily adjust the range of numbers by dragging the sliders.

Visual Feedback The label updates in real-time to reflect the current range selected in the slider interface.

πŸ“ Usage Instructions

  1. Set Minimum and Maximum Inputs: Optionally, connect inputs to set dynamic minimum and maximum values for the range.

  2. Adjust Slider: Use the slider to visually select the desired range within the provided minimum and maximum boundaries.

  3. Evaluate: Run the block to get the selected range output based on the slider's current position.

πŸ“Š Evaluation

Upon execution, this function block provides the active range selected via the slider, which can be used in subsequent blocks for decision-making or filtering actions.

πŸ’‘ Tips and Tricks

Using Fixed Minimum and Maximum

If minimum and maximum values are not adjusted by inputs, you can set default limits within the function block. The initial range is set to 0 to 100.

Adjusting Range Inputs

If you find that the sliders are not accurately reflecting intended limits, connect the output of a previous function block, such as Number Input, to dynamically adjust the range based on calculated values.

Multiple Range Usage

Connect multiple Node Number Range blocks to allow for defining independent ranges to manage different attributes such as brightness, contrast, or object size filtering.

πŸ› οΈ Troubleshooting

Slider Not Responding

If the slider does not seem to respond as expected, ensure that the block is connected to valid input data and that the evaluation is being triggered properly.

Invalid Range Error

If the selected range appears invalid, double-check the minimum and maximum inputs to ensure they don’t exceed logical limits established for your application.

Last updated