Back to all rules
What this rule checks
Uses noise()/noiseSeed()/noiseDetail() for Perlin noise
Configuration
When off, this rule is excluded from pipeline runs. Changes apply immediately.
Code Examples
PASS — this code satisfies the rule
void setup() {
  size(400, 400);
}

void draw() {
  background(255);
  float y = 200 + random(-20, 20);  // random() jitter
  ellipse(200, y, 30, 30);
}
FAIL — this code triggers the rule
float t = 0;

void setup() {
  size(400, 400);
}

void draw() {
  background(255);
  float y = noise(t) * height;  // Perlin noise
  t = t + 0.01;
  ellipse(200, y, 30, 30);
}
Overview
Category Out of Scope
Type Custom Zita
Priority 3 (1 = highest, 5 = lowest)
Status Active
PMD Configuration
Java class nl.utwente.processing.pmd.rules.HasNoiseRule
Message template noise() usage found.