Skip to main content
100%

Gist 08456313799c0608872fb13ff336426c

✓ Published0🌍 Public
CCliffordAnderson
Last edited Jun 2, 2018
Created on Jun 2, 2018

This example demonstrates a custom predicate block that checks whether a given number falls inclusively between two comparison values. The visualization, embedded as a static image, shows a visual representation of this logical test. The code defines a Snap! block using the block-definition XML format, employing reporter blocks for boolean logic. It relies on Snap!'s built-in operators such as `reportGreaterThan`, `reportLessThan`, `reportEquals`, and `reportAnd`/`reportOr` to evaluate the condition. The block returns a true/false report, and the image likely illustrates sample comparisons or a chart of results, though the exact rendering method is not specified in the provided files.

AI-generated description

Similar vizzes