MCPcopy Create free account
hub / github.com/processing/p5.js / draw

Function draw

test/manual-test-examples/learningprocessing/chp8/example_8_3.js:83–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81}
82
83function draw() {
84 background(255);
85 // mouseX position determines speed factor
86 var factor = constrain(mouseX / 10, 0, 5);
87 zoog.jiggle(factor);
88 zoog.display();
89}

Callers

nothing calls this directly

Calls 3

constrainFunction · 0.85
jiggleMethod · 0.45
displayMethod · 0.45

Tested by

no test coverage detected