Skip to content

Latest commit

 

History

History
45 lines (21 loc) · 1.09 KB

File metadata and controls

45 lines (21 loc) · 1.09 KB

feca6190

Examples

ARC examples for feca6190

Rules (DSL)

DSL rules for feca6190

Notes

This example builds on d13f3404.

  • Support for output scene properties like Width and Height being functions of more general input scene properties like ColorCount.
  • Support for PatternFill properties being functions of input scene properties. e.g.

image 1

Expressions Involving Times

Previously, expressions like the above had only made use of the Plus operator, so using Times is new to this example. To detect the need for times, we take the values needing to be inferred, such as:

image 2

... and the property values being considered for use to infer those values, such as:

image 3

... and we divide the two lists:

image 4

image 5

If we find that the quotient is consistent, then we can form an expression such as:

image 6