Skip to content
Code as Medium
2.5 Conditional Logic

Session 2 · AI Art Crafting · Lesson 05

Conditional Logic

Workflow B

If/then logic, threshold-based change, accumulation and decay. Constraints are aesthetic decisions.

Concept

  • A conditional gives the system a point of view.
  • Thresholds create events; accumulation and decay create memory.
  • Constraint design is where the artist lives inside the system.

Which constraint is actually an aesthetic decision?

Student activity

15:00
  1. 01Write one if/then rule with a threshold, and note what accumulates or decays.

The condition your rule watches for.

What the system does in response.

What must not change.

How often the rule repeats.

When the system halts.

Your rule

Fill the fields above and your rule appears here.