Skip to main content

Math Random Int

Category: Math Math Random Int block screenshot

Returns a random integer between a and b.

Inputs

InputRequiredValue KindTypesEnum Values
ayesexpression
byesexpression

Notes

No additional notes are available yet.

Examples

Create Sequence From Local `.sqpreset` Path

Creates a sequence from a fixed local `.sqpreset` path. This stays visible as the canonical local-path counterpart to the portable embedded-preset example, and its runtime check confirms that the unusual 2000x1000 frame size really came from the preset.

kind: Pattern · format: runtime-dsl · validation: MCP fixture

Topics: sequence creation, presets, runtime validation

Source: patterns/ex-sequence-create-from-preset-fixed-path.json

Download JSON

Write Camera Metadata JSON For Python

Serializes the selected item's Camera metadata, writes compact JSON to a flushed per-run randomized file, lets isolated Python read it, and removes the file after normal process completion.

kind: Pattern · format: runtime-dsl · validation: Manual workspace

Topics: json, metadata, files, runtime python, external process

Source: patterns/ex-json-write-camera-metadata-for-python.json

Download JSON