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?

Slides

  1. 12

    Workflow B: Conditional Rules

    • If / then logic
    • Threshold-based change
    • Accumulation and decay
    • Constraints as aesthetic decisions

Student activity

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

If/then logic · Threshold-based change · Accumulation and decay · Constraints as aesthetic decisions.

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.

“Copy as LLM prompt” wraps your rule in run instructions — paste it into ChatGPT or Gemini and feed it images round by round.