Operators
This section is a catalogue of all Operator types currently available for you construct your procedures from. These are all built into Apparance engine and provide a range of functions for building geometry, manipulating spaces, performing calculations, manipulating text, and much more.Summary
Bitwise: NOT • AND • OR • XOR • ShiftLeft • >> • Bit Set? • Bit Clear?
Colour: Blend • Hue • Pack • UnPack • Set Alpha • Get Alpha
Constants: Constant
Construction: Stacker.Splitter • Stacker.Merger • Stacker.MergerL • Stacker.MergerI • Stacker.Options
Control: Equal • NotEqual • LessThan • LessThanOrEqual • GreaterThan • GreaterThanOrEqual • Compare • If • Equal
Conversion: Convert
Data: OpenFile • Length • ReadInt • ReadFloat • ReadFloats • ReadFixedString • ReadXYZ • ReadXY • ReadListXYZ • ReadListXY
File: Read • Write • Exists? • Time • Copy • Temp File • Temp Directory • Project Directory • Down • Up • Make Directory • List Directory
Frame: Unit Corner • Unit Centre • Unit Face • Empty • Null • Split • Shrink • Extend • Turn • Resize • Offset • Rotate • Scale • Translate • Dimensions • Size • Reorient • Diagonal • FrameToWorldV • WorldToFrameV • Place Pivot • Intersects? • Get Axes • Set Axes • Grid • Turn+ • Offset+ • Resize+ • Cull+ • Mask+ • Path To Frame • Warp+
Geometry: Length
Image: Image • Picture • Clear • Dimensions • Info • Blob • Noise • Copy • Line • Rectangle • Ellipse • Polygon • Sample • Brightness • Contrast • Blur • Clamp • Range • Dilate • Erode • Invert • Mirror • Quantize • Sharpen • Shift • Swap • Randomize • Composite • Colourise • Combine • Region
Integrity: Valid? • True? • False? • True? • Log!
List: Count • Append • Insert • Get • Set • Concatenate • Reverse
Logic: And • Not • Or
Maths: Add • Div • Ln • Log10 • Log2 • Log • Power10 • Power2 • PowerN • Power • Sqrt • Square • Multiply • Subtract • NormaliseV3 • Modf • ModI • FracF • FloorF • CeilingF
Modelling: Merge • Colour • Material • Colour Map • Blend Normals • Translate • Rotate • Scale • Move • Copy • Invert • Hide • Taper • Noise Distort • Noise Sample • Noise Extents • Noise Stitch • Spherize • Height Map • Set UV • UV Scale • UV Translate • UV Frame
Numerical: Abs • Min • Max • Min • Max • Clamp • Spread • Merge Ranges • Random • Twist
Primitives: • Cylinder • Grid • Sheet • Colour Sheet • Colour Triangle • Heightmap • Sphere • Polygon • Extrude • Loft
Resource: Resolve • Resolve+ • Place • Place+ • Make Texture
Shapes: Line • Arc • Ellipse • Rectangle • Curve • Filter
Text: Convert • Uppercase • Lowercase • Concatenate • Concatenate Lines • Length • Is Empty • At • Split • Find First • Find Last • Replace • If Empty
Trigonometry: Pi • Tau • RadToDeg • DegToRad • Sin • Cos • Tan • ArcSin • ArcCos • ArcTan • ArcTan2 • DistanceV3 • RotateV3
Details
Bitwise
| NOT | |
| Bitwise integer NOT | |
|
|
| AND | |
| Bitwise integer AND | |
|
|
| OR | |
| Bitwise integer OR | |
|
|
| XOR | |
| Bitwise integer Exclusive-OR | |
|
|
| ShiftLeft | |
| Shift left (toward MSB) by a number of bit positions, zeros shifted in on right (LSB) | |
|
|
| >> | |
| Shift right (toward LSB) by a number of bit positions, zeros shifted in on left (MSB) | |
|
|
| Bit Set? | |
| Test to see if a particular bit is set (1) | |
|
|
| Bit Clear? | |
| Test to see if a particular bit is clear (0) | |
|
|
Colour
| Blend | |
| Blends two colours together | |
|
|
| Hue | |
| Generates a pure colour with a given hue | |
|
|
| Pack | |
| Packs a full precision colour into 32 bits | |
|
|
| UnPack | |
| Unpacks a 32 bit colour into a full precision colour | |
|
|
| Set Alpha | |
| Sets the alpha value of a colour | |
|
|
| Get Alpha | |
| Gets the alpha value of a colour | |
|
|
Constants
| Constant | |
| A shared constant value | |
|
|
| Constant | |
| A shared constant value | |
|
|
| Constant | |
| A shared constant value | |
|
|
| Constant | |
| A shared constant value | |
|
|
| Constant | |
| A shared constant value | |
|
|
| Constant | |
| A shared constant value | |
|
|
Construction
| Stacker.Splitter | |
| General stacking/packing utility. Recursively split up space to contain a repeat series of objects with optional start/end caps, all separated with spacers. | |
|
|
| Stacker.Merger | |
| Combine required elements from stacking process. | |
|
|
| Stacker.MergerL | |
| Combine specific lists of items from stacking process into single list of items (currently only singly typed lists). | |
|
|
| Stacker.MergerI | |
| Combine specific values from stacking process into single value. | |
|
|
| Stacker.Options | |
| Helper to generate selection inputs to a stacker based object. | |
|
|
Control
| Equal | |
| Test if two values are equal | |
|
|
| Equal | |
| Test if two values are equal | |
|
|
| Equal | |
| Test if two values are equal | |
|
|
| NotEqual | |
| Test if two values are not equal | |
|
|
| NotEqual | |
| Test if two values are not equal | |
|
|
| NotEqual | |
| Test if two values are not equal | |
|
|
| LessThan | |
| Test if a value is less than another | |
|
|
| LessThan | |
| Test if a value is less than another | |
|
|
| LessThanOrEqual | |
| Test if a value is less than, or equal to, another | |
|
|
| LessThanOrEqual | |
| Test if a value is less than, or equal to, another | |
|
|
| GreaterThan | |
| Test if a value is greater than another | |
|
|
| GreaterThan | |
| Test if a value is greater than another | |
|
|
| GreaterThanOrEqual | |
| Test if a value is greater than, or equal to, another | |
|
|
| GreaterThanOrEqual | |
| Test if a value is greater than, or equal to, another | |
|
|
| Compare | |
| General comparison of two values | |
|
|
| Compare | |
| General comparison of two values | |
|
|
| If | |
| Choose one of two values | |
|
|
| If | |
| Choose one of two values | |
|
|
| If | |
| Choose one of two bits of geometry | |
|
|
| If | |
| Choose one of two colours | |
|
|
| If | |
| Choose one of two vectors | |
|
|
| If | |
| Choose one of two frames | |
|
|
| If | |
| Choose one of two strings | |
|
|
| If | |
| Choose one of two boolean values | |
|
|
| If | |
| Choose one of two lists | |
|
|
| Equal | |
| Compares two strings to see if they are equal | |
|
|
Conversion
| Convert | |
| Composes four floats into a FColour | |
|
|
| Convert | |
| Decomposes a FColour into four floats | |
|
|
| Convert | |
| Convert a float to an integer (truncates fractional part) | |
|
|
| Convert | |
| Convert an integer to a floating point value | |
|
|
| Convert | |
| Convert a boolean flag to useful integer value, 0 for false, 1 for true. | |
|
|
| Convert | |
| Convert a boolean flag to useful floating point value, 0.0 for false, 1.0 for true | |
|
|
| Convert | |
| Composes three floats into a Vector3 | |
|
|
| Convert | |
| Decomposes a Vector3 into three floats | |
|
|
Data
| OpenFile | |
| Sets a file as a data source for subsequent reads | |
|
|
| EXPERIMENTAL | |
| Length | |
| Obtain length of currently open data file | |
|
|
| EXPERIMENTAL | |
| ReadInt | |
| Reads an integer value from somewhere in the data source (four bytes) | |
|
|
| EXPERIMENTAL | |
| ReadFloat | |
| Reads a float value from somewhere in the data source (four bytes) | |
|
|
| EXPERIMENTAL | |
| ReadFloats | |
| Reads a list of floats from somewhere in the data source (four bytes each) | |
|
|
| EXPERIMENTAL | |
| ReadFixedString | |
| Reads a string from a fixed length block of data from somewhere in the data source | |
|
|
| EXPERIMENTAL | |
| ReadXYZ | |
| Reads three floats from somewhere in the data source (3 x four bytes) | |
|
|
| EXPERIMENTAL | |
| ReadXY | |
| Reads two floats from somewhere in the data source (2 x four bytes) | |
|
|
| EXPERIMENTAL | |
| ReadListXYZ | |
| Reads a list of float triplets from somewhere in the data source (3 x four bytes each) | |
|
|
| EXPERIMENTAL | |
| ReadListXY | |
| Reads a list of float pairs from somewhere in the data source (2 x four bytes each) | |
|
|
| EXPERIMENTAL | |
File
| Read | |
| Reads a text file into a string of lines | |
|
|
| EXPERIMENTAL | |
| Write | |
| Writes a text file from a string of lines | |
|
|
| EXPERIMENTAL | |
| Exists? | |
| Does a file or directory exist on disk? | |
|
|
| EXPERIMENTAL | |
| Time | |
| Obtain timestamp information about a file | |
|
|
| EXPERIMENTAL | |
| Copy | |
| Copy a file from one location to another | |
|
|
| EXPERIMENTAL | |
| Temp File | |
| Generate path and filename for temporary storage of data | |
|
|
| EXPERIMENTAL | |
| Temp Directory | |
| Obtain directory for temporary storage of data | |
|
|
| EXPERIMENTAL | |
| Project Directory | |
| Obtain project directory path | |
|
|
| EXPERIMENTAL | |
| Down | |
| Move a path to a sub-directory | |
|
|
| EXPERIMENTAL | |
| Up | |
| Move a path to its parent directory | |
|
|
| EXPERIMENTAL | |
| Make Directory | |
| Ensure a directory exists on disk | |
|
|
| EXPERIMENTAL | |
| List Directory | |
| Search a directory for files matching the given pattern | |
|
|
| EXPERIMENTAL | |
Frame
| Unit Corner | |
| A new unit frame with lower corner on the origin (three sides aligned with origin) | |
|
|
| Unit Centre | |
| A new unit frame centred on the origin (no sides aligned with origin) | |
|
|
| Unit Face | |
| A new unit frame with underneath face centred on the origin (one side aligned with origin) | |
|
|
| Empty | |
| A new frame with zero size at the origin | |
|
|
| Null | |
| A new frame with invalid state used to represent the absense of a frame, e.g. for clearing inputs that are optional | |
|
|
| Split | |
| Split a frame into two | |
|
|
| Shrink | |
| Shrink a frame to a new size | |
|
|
| Extend | |
| Create extensions from the sides of a frame | |
|
|
| Turn | |
| Turn the frame relative to a corner, edge, face, or centre | |
|
|
| Resize | |
| Resize the frame relative to a corner, edge, face, or centre | |
|
|
| Offset | |
| Offset the frame relative to is current position | |
|
|
| Rotate | |
| Rotate the frame around a world space point | |
|
|
| Scale | |
| Uniformly scale the frame relative to a point in world space | |
|
|
| Translate | |
| Move a frame by an amount in world space | |
|
|
| Dimensions | |
| Find the size of a frame | |
|
|
| Size | |
| Find the size of a frame | |
|
|
| Reorient | |
| Reorient the space inside a frame whilst leaving its bounds unchanged | |
|
|
| Diagonal | |
| Move a frame to sit on one of the diagonals | |
|
|
| FrameToWorldV | |
| Convert a position relative to a frame to absolute world position | |
|
|
| WorldToFrameV | |
| Convert an absolute world position into one relative to a frame | |
|
|
| Place Pivot | |
| Place an asset bounds relative to a frame according to pivot location within that frame | |
|
|
| Intersects? | |
| Determine to what extent does a frame intersect another | |
|
|
| Get Axes | |
| Extract the three axis vectors that describe a frames orientation | |
|
|
| Set Axes | |
| Change the three axis vectors of a frame to explicitly give it a new orientation | |
|
|
| Grid | |
| Create a list of sub-frames in a grid formation | |
|
|
| Turn+ | |
| Turn a list of frames relative to a corner, edge, face, or centre | |
|
|
| Offset+ | |
| Offset a list of frames relative to their current positions | |
|
|
| Resize+ | |
| Resize a list of frames relative to their current size | |
|
|
| Cull+ | |
| Filter a list of frames by whether their XY centres lie inside a polygonal shape | |
|
|
| Mask+ | |
| Filter a list of frames by whether they meet the required threshold intensity of a sample from where their XY centres lie on a mask image (relative to a bounding frame) | |
|
|
| Path To Frame | |
| Obtain a (unit) frame at a position along a shape path | |
|
|
| EXPERIMENTAL | |
| Warp+ | |
| Map multiple frames from their XY position first onto one path and then onto another | |
|
|
| EXPERIMENTAL | |
Geometry
| Length | |
| Calculate the length of a path | |
|
|
Image
| Image | |
| Create a new image | |
|
|
| EXPERIMENTAL | |
| Picture | |
| Create a new framed picture (has a implied world space location and size) | |
|
|
| EXPERIMENTAL | |
| Clear | |
| Clear an image to a single colour/alpha | |
|
|
| EXPERIMENTAL | |
| Dimensions | |
| Find the size of an image | |
|
|
| EXPERIMENTAL | |
| Info | |
| Find full image format and dimension information | |
|
|
| EXPERIMENTAL | |
| Blob | |
| Create a circular blob image with a soft edge | |
|
|
| EXPERIMENTAL | |
| Noise | |
| Create a monochrome noise image | |
|
|
| EXPERIMENTAL | |
| Copy | |
| Create an exact copy of an image. Needed if you want to apply separate operations to an image. | |
|
|
| EXPERIMENTAL | |
| Line | |
| Draw a line on an image | |
|
|
| EXPERIMENTAL | |
| Rectangle | |
| Draw a filled rectangle on an image | |
|
|
| EXPERIMENTAL | |
| Ellipse | |
| Draw a filled ellipse on an image | |
|
|
| EXPERIMENTAL | |
| Polygon | |
| Draw a filled polygon on an image | |
|
|
| EXPERIMENTAL | |
| Sample | |
| Sample a pixel colour from an image | |
|
|
| EXPERIMENTAL | |
| Brightness | |
| Modify the image brightness | |
|
|
| EXPERIMENTAL | |
| Contrast | |
| Modify the image contrast | |
|
|
| EXPERIMENTAL | |
| Blur | |
| Blur the image | |
|
|
| EXPERIMENTAL | |
| Clamp | |
| Clamp the image values | |
|
|
| EXPERIMENTAL | |
| Range | |
| Remap the image values from one range to another | |
|
|
| EXPERIMENTAL | |
| Dilate | |
| Dilate the image | |
|
|
| EXPERIMENTAL | |
| Erode | |
| Erode the image | |
|
|
| EXPERIMENTAL | |
| Invert | |
| Invert the image values | |
|
|
| EXPERIMENTAL | |
| Mirror | |
| Mirror or flip the image | |
|
|
| EXPERIMENTAL | |
| Quantize | |
| Quantize the image | |
|
|
| EXPERIMENTAL | |
| Sharpen | |
| Sharpen the image | |
|
|
| EXPERIMENTAL | |
| Shift | |
| Shift the image horizontally or vertically | |
|
|
| EXPERIMENTAL | |
| Swap | |
| Swap two channels of the image | |
|
|
| EXPERIMENTAL | |
| Randomize | |
| Add random noise to the image | |
|
|
| EXPERIMENTAL | |
| Composite | |
| Composite one image over another optionally using a mask | |
|
|
| EXPERIMENTAL | |
| Colourise | |
| Apply a colour gradient to a monochrome image | |
|
|
| EXPERIMENTAL | |
| Combine | |
| Combine colour and alpha images into single four channel image | |
|
|
| EXPERIMENTAL | |
| Region | |
| Construct a rectangular image region from float values | |
|
|
| EXPERIMENTAL | |
| Region | |
| Construct a rectangular image region from integer values | |
|
|
| EXPERIMENTAL | |
Integrity
| Valid? | |
| Check floating point number for valid numeric values. Infinite, sub-normal, or NaN are considered bad. | |
|
|
| EXPERIMENTAL | |
| True? | |
| Asserts a condition is true, passing success out. False fails synthesis with provided message. | |
|
|
| EXPERIMENTAL | |
| False? | |
| Asserts a condition is false, passing success out. True fails synthesis with provided message. | |
|
|
| EXPERIMENTAL | |
| True? | |
| Asserts a condition is true before passing data through. False fails synthesis with provided message. | |
|
|
| EXPERIMENTAL | |
| Log! | |
| Adds a text message to the log file when this operator is evaluated. | |
|
|
| EXPERIMENTAL | |
| Log! | |
| Adds a text message to the log file when this operator is evaluated. | |
|
|
| EXPERIMENTAL | |
| Log! | |
| Adds a text message to the log file when this operator is evaluated. | |
|
|
| EXPERIMENTAL | |
List
| Count | |
| How many items in a list? | |
|
|
| Append | |
| Append an integer to a list | |
|
|
| Append | |
| Append a floating point number to a list | |
|
|
| Append | |
| Append a boolean to a list | |
|
|
| Append | |
| Append a colour to a list | |
|
|
| Append | |
| Append a vector to a list | |
|
|
| Append | |
| Append a string to a list | |
|
|
| Append | |
| Append a list to a list (NOTE: appended as a single item) | |
|
|
| Append | |
| Append a frame to a list | |
|
|
| Insert | |
| Insert an integer into a list | |
|
|
| Insert | |
| Insert a floating point number into a list | |
|
|
| Insert | |
| Insert a boolean into a list | |
|
|
| Insert | |
| Insert a colour into a list | |
|
|
| Insert | |
| Insert a vector into a list | |
|
|
| Insert | |
| Insert a string into a list | |
|
|
| Insert | |
| Insert a list into a list (NOTE: inserted as a single item) | |
|
|
| Insert | |
| Insert a frame into a list | |
|
|
| Get | |
| Obtain the integer value at a given index in a list | |
|
|
| Get | |
| Obtain the floating point value at a given index in a list | |
|
|
| Get | |
| Obtain the boolean value at a given index in a list | |
|
|
| Get | |
| Obtain the colour at a given index in a list | |
|
|
| Get | |
| Obtain the vector at a given index in a list | |
|
|
| Get | |
| Obtain the string at a given index in a list | |
|
|
| Get | |
| Obtain the list value at a given index in a list (NOTE: references the list originally added) | |
|
|
| Get | |
| Obtain the frame at a given index in a list | |
|
|
| Set | |
| Replace an integer in a list | |
|
|
| Set | |
| Replace a floating point number in a list | |
|
|
| Set | |
| Replace a boolean in a list | |
|
|
| Set | |
| Replace a colour in a list | |
|
|
| Set | |
| Replace a vector in a list | |
|
|
| Set | |
| Replace a string in a list | |
|
|
| Set | |
| Replace a list in a list (NOTE: set as a single item) | |
|
|
| Set | |
| Replace a frame in a list | |
|
|
| Concatenate | |
| Concatenate multiple lists of elements together into a single list of elements? | |
|
|
| Reverse | |
| Reverse the order of all the elements in a list | |
|
|
Logic
| And | |
| Logical AND | |
|
|
| Not | |
| Logical NOT | |
|
|
| Or | |
| Logical OR | |
|
|
Maths
| Add | |
| Adds two numbers together | |
|
|
| Add | |
| Adds two numbers together | |
|
|
| Add | |
| Adds two vectors together | |
|
|
| Div | |
| Divides one number by another | |
|
|
| Div | |
| Divides one number by another | |
|
|
| Ln | |
| Natural Logarithm | |
|
|
| Log10 | |
| Common Logarithm (base 10) | |
|
|
| Log2 | |
| Binary Logarithm (base 2) | |
|
|
| Log | |
| Logarithm of specific base | |
|
|
| Power10 | |
| Raise 10 to a given power | |
|
|
| Power2 | |
| Raise 2 to a given power | |
|
|
| PowerN | |
| Raise e to a given power | |
|
|
| Power | |
| Raise a number to a power | |
|
|
| Sqrt | |
| Take the square root of a value | |
|
|
| Square | |
| Squares a number | |
|
|
| Multiply | |
| Multiplies two numbers together | |
|
|
| Multiply | |
| Multiplies two numbers together | |
|
|
| Multiply | |
| Scales a vector by a float value | |
|
|
| Subtract | |
| Subtracts one number from another | |
|
|
| Subtract | |
| Subtracts one number from another | |
|
|
| Subtract | |
| Subtracts one vector from another | |
|
|
| NormaliseV3 | |
| Normalise a 3D vector to make it unit length | |
|
|
| Modf | |
| Modulo Division | |
|
|
| ModI | |
| Modulo Division | |
|
|
| FracF | |
| Obtain fractional part of a number | |
|
|
| FloorF | |
| Round down to integer value | |
|
|
| CeilingF | |
| Round up to integer value | |
|
|
Modelling
| Merge | |
| Merge geometry together | |
|
|
| Merge | |
| Merge geometry together | |
|
|
| Merge | |
| Merge geometry together | |
|
|
| Merge | |
| Merge geometry together | |
|
|
| Merge | |
| Merge geometry together | |
|
|
| Merge | |
| Merge geometry together | |
|
|
| Merge | |
| Merge geometry together | |
|
|
| Merge | |
| Merge geometry together | |
|
|
| Merge | |
| Merge geometry together | |
|
|
| Colour | |
| Paints geometry vertices with a particular solid colour | |
|
|
| EXPERIMENTAL | |
| Material | |
| Applied a particular material to the specified geometry | |
|
|
| EXPERIMENTAL | |
| Colour Map | |
| Apply an image as a colour map to the vertex colours of a mesh | |
|
|
| EXPERIMENTAL | |
| Blend Normals | |
| Blend a meshes normals towards a particular value. (NOTE: Effect can be destroyed by later renormalisation as a result of surface modifiers like Noise Distort and Taper) | |
|
|
| EXPERIMENTAL | |
| Translate | |
| Translates geometry to a new position | |
|
|
| EXPERIMENTAL | |
| Rotate | |
| Rotates geometry (about the origin) to a new orientation (degrees) | |
|
|
| EXPERIMENTAL | |
| Scale | |
| Scale geometry to a new size | |
|
|
| EXPERIMENTAL | |
| Move | |
| Move geometry from one frame of reference to another | |
|
|
| EXPERIMENTAL | |
| Copy | |
| Copy geometry from one frame of reference to another | |
|
|
| EXPERIMENTAL | |
| Invert | |
| Invert geometry to be inside out | |
|
|
| EXPERIMENTAL | |
| Hide | |
| Hides previously generated geometry | |
|
|
| EXPERIMENTAL | |
| Taper | |
| Tapers the geometry towards the top (+Z) of a frame | |
|
|
| EXPERIMENTAL | |
| Noise Distort | |
| Distorts a mesh using a 3D noise function | |
|
|
| EXPERIMENTAL | |
| Noise Sample | |
| Sample a 3D noise function for a single point in space | |
|
|
| EXPERIMENTAL | |
| Noise Extents | |
| Find the min/max extents of a line segment distorted by a noise function | |
|
|
| EXPERIMENTAL | |
| Noise Stitch | |
| Distorts a mesh using a 3D noise function according to where in a reference frame it is | |
|
|
| EXPERIMENTAL | |
| Spherize | |
| Maps a mesh to a spherical surface | |
|
|
| EXPERIMENTAL | |
| Height Map | |
| Apply an image as a height map to some geometry relative to a frame of reference | |
|
|
| EXPERIMENTAL | |
| Set UV | |
| Set all UV coordinates on some geometry to the same value | |
|
|
| EXPERIMENTAL | |
| UV Scale | |
| Scale UV coordinates on some geometry (multiply all values) | |
|
|
| EXPERIMENTAL | |
| UV Translate | |
| Translate UV coordinates on some geometry (add to all values) | |
|
|
| EXPERIMENTAL | |
| UV Frame | |
| Use a world space frame to project UV mapping onto geometry (XY across frame is 0 to 1 in UV) | |
|
|
| EXPERIMENTAL | |
Numerical
| Abs | |
| Absolute integer value | |
|
|
| Abs | |
| Absolute floating-point value | |
|
|
| Min | |
| Minimum of two floating point values | |
|
|
| Max | |
| Maximum of two floating point values | |
|
|
| Min | |
| Minimum of two integer values | |
|
|
| Max | |
| Maximum of two integer values | |
|
|
| Clamp | |
| Clamp a value to be within a given range | |
|
|
| Clamp | |
| Clamp a value to be within a given range | |
|
|
| Spread | |
| Produce values either side of the input value by a given amount | |
|
|
| Spread | |
| Produce values either side of the input value by a given amount | |
|
|
| Merge Ranges | |
| Combine arbitrary list of numerical ranges into a list of non-overlapping ordered ranges | |
|
|
| EXPERIMENTAL | |
| Random | |
| Generate a random number in a given range | |
|
|
| Random | |
| Generate a random number in a given range | |
|
|
| Twist | |
| Switches the random stream sequence to avoid duplication when sub-dividing procedures with similar content | |
|
|
Primitives
| Cube | |
| Builds a cube within a frame | |
|
|
| EXPERIMENTAL | |
| Cylinder | |
| Builds a cylinder within a frame | |
|
|
| EXPERIMENTAL | |
| Grid | |
| Builds a grid | |
|
|
| EXPERIMENTAL | |
| Sheet | |
| Builds a flat rectangular sheet within a frame | |
|
|
| EXPERIMENTAL | |
| Colour Sheet | |
| Builds a pre-painted flat rectangular sheet within a frame | |
|
|
| EXPERIMENTAL | |
| Colour Triangle | |
| Builds a pre-painted triangle between three (clockwise) points, optionally with back-face | |
|
|
| EXPERIMENTAL | |
| Heightmap | |
| Builds a rectangular sheet within a frame using an image to control elevation in Z. Note that the edge pixels aren't included in the generated mesh as they are needed for correct normal calculation. | |
|
|
| EXPERIMENTAL | |
| Sphere | |
| Builds a sphere within a frame | |
|
|
| EXPERIMENTAL | |
| Polygon | |
| Builds a flat (XY) polygon from a list of vertices | |
|
|
| EXPERIMENTAL | |
| Extrude | |
| Extrude an polygon along the +Z axis creating side and end faces as required | |
|
|
| EXPERIMENTAL | |
| Loft | |
| Loft a polygonal shape along a polygonal path | |
|
|
| EXPERIMENTAL | |
Resource
| Resolve | |
| Look up resource information (placement identifier and bounds) | |
|
|
| Resolve+ | |
| Look up resource information for all variants (list of placement identifier and bounds structures) | |
|
|
| Place | |
| Place a resource instance within a given bounds | |
|
|
| Place+ | |
| Place multiple resource instances within a number of bounds | |
|
|
| Make Texture | |
| Assign an image to a dynamic texture resource | |
|
|
Shapes
| Line | |
| Appends a line segment to a shape vertex list | |
|
|
| EXPERIMENTAL | |
| Arc | |
| Appends an arc to a shape vertex list | |
|
|
| EXPERIMENTAL | |
| Ellipse | |
| Generates an ellipse shape | |
|
|
| EXPERIMENTAL | |
| Rectangle | |
| Generates a rectangle shape | |
|
|
| EXPERIMENTAL | |
| Curve | |
| Appends a quadratic Bezier curve segment to a shape vertex list | |
|
|
| EXPERIMENTAL | |
| Filter | |
| Filter contiguous segments of a path/shape/poly or list of paths/shapes/polys according to some criteria and optionally sort into one of two lists | |
|
|
| EXPERIMENTAL | |
Text
| Convert | |
| Generate a string representation of a number | |
|
|
| Convert | |
| Parse a string representation of a number back to a numeric value | |
|
|
| Convert | |
| Generate a string representation of a number | |
|
|
| Convert | |
| Parse a string representation of a floating-point number back to a numeric value | |
|
|
| Convert | |
| Generate a hex string representation of a number | |
|
|
| Uppercase | |
| Convert a string to upper-case | |
|
|
| Lowercase | |
| Convert a string to lower-case | |
|
|
| Concatenate | |
| Concatenate strings together | |
|
|
| Concatenate | |
| Concatenate strings together | |
|
|
| Concatenate | |
| Concatenate strings together | |
|
|
| Concatenate | |
| Concatenate strings together | |
|
|
| Concatenate | |
| Concatenate strings together | |
|
|
| Concatenate | |
| Concatenate strings together | |
|
|
| Concatenate | |
| Concatenate strings together | |
|
|
| Concatenate Lines | |
| Concatenate lines together | |
|
|
| Concatenate Lines | |
| Concatenate lines together | |
|
|
| Concatenate Lines | |
| Concatenate lines together | |
|
|
| Concatenate Lines | |
| Concatenate lines together | |
|
|
| Concatenate Lines | |
| Concatenate lines together | |
|
|
| Concatenate Lines | |
| Concatenate lines together | |
|
|
| Concatenate Lines | |
| Concatenate lines together | |
|
|
| Length | |
| Finds the length of a string | |
|
|
| Is Empty | |
| Is the string empty? | |
|
|
| At | |
| Look up the character at a given index | |
|
|
| Split | |
| Splits a string into three parts by positions | |
|
|
| Find First | |
| Search for a string within another string, find it's index | |
|
|
| Find Last | |
| Search backwards for a string within another string, find it's index | |
|
|
| Replace | |
| Replace all occurances of a string within a string with another | |
|
|
| If Empty | |
| If this string empty, replace it with an alternative. Useful for providing defaults. | |
|
|
Trigonometry
| Pi | |
| The trigonometrical constant 'Pi' (Tau/2) | |
|
|
| Tau | |
| The trigonometrical constant 'Tau' (2xPi) | |
|
|
| RadToDeg | |
| Convert radians to degrees | |
|
|
| DegToRad | |
| Convert degrees to radians | |
|
|
| Sin | |
| Sine of an angle | |
|
|
| Cos | |
| Cosine of an angle | |
|
|
| Tan | |
| Tangent of an angle | |
|
|
| ArcSin | |
| Arc-sine of a value | |
|
|
| ArcCos | |
| Arc-cos of a value | |
|
|
| ArcTan | |
| Arc-tangent of a gradient | |
|
|
| ArcTan2 | |
| Calculate angle between +X axis and a point at X,Y, positive above X axis, negative below | |
|
|
| DistanceV3 | |
| Distance between two points | |
|
|
| RotateV3 | |
| Rotate a position vector around the origin | |
|
|
