MCPcopy Index your code
hub / github.com/processing/processing / draw

Method draw

java/libraries/svg/src/WriteSVG.java:23–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21 }
22
23 public void draw() {
24 background(random(255));
25 stroke(random(255));
26 strokeWeight(20);
27 line(random(width), random(height), random(width), random(height));
28 if (frameCount == 5) exit();
29// exit();
30 }
31
32 static public void main(String[] args) {
33 PApplet.main(new String[] { "WriteSVG" });

Callers

nothing calls this directly

Calls 6

randomMethod · 0.80
exitMethod · 0.80
backgroundMethod · 0.45
strokeMethod · 0.45
strokeWeightMethod · 0.45
lineMethod · 0.45

Tested by

no test coverage detected