Blade Random - Overview

Platform: Vicon Blade
Status: Released
Address: www.GeoffSamuel.com/Scrip_Files.php?proj=13


This is a small selection of scripts for Vicon Blade to allow it to generate random numbers in various forms.

Using a Linear Congruential Generator, it can generate intergers, floats and vector3 (point3) within a given min and max value.

Download

A zip file of the files can be downloaded here .

Infomation

Installation

To install, extract all files to the blade scripts folder in a new folder called Math.
Either re-start Vicon Blade or re-parse the script directories from the prefences panel.

Useage

To use, in the Blade script editor, use the following:

print (randomFloat(0.0, 5.0)); //random float

print (randomInt(0, 5)); //random int

print (randomVector(5.0, 10.0) //random vector